@@ -134,7 +134,7 @@ type IBarGaugeTitleProps = React.PropsWithChildren<{
134134 right ?: number ;
135135 top ?: number ;
136136 } ;
137- placeholderSize ?: number ;
137+ placeholderSize ?: number | undefined ;
138138 subtitle ?: Record < string , any > | string | {
139139 font ?: ChartsFont ;
140140 offset ?: number ;
@@ -198,7 +198,7 @@ type IBorderProps = React.PropsWithChildren<{
198198 color ?: string ;
199199 cornerRadius ?: number ;
200200 dashStyle ?: DashStyle ;
201- opacity ?: number ;
201+ opacity ?: number | undefined ;
202202 visible ?: boolean ;
203203 width ?: number ;
204204} >
@@ -224,7 +224,7 @@ type IExportProps = React.PropsWithChildren<{
224224 formats ?: Array < ExportFormat > ;
225225 margin ?: number ;
226226 printingEnabled ?: boolean ;
227- svgToCanvas ?: ( ( svg : any , canvas : any ) => any ) ;
227+ svgToCanvas ?: ( ( svg : any , canvas : any ) => any ) | undefined ;
228228} >
229229const _componentExport = ( props : IExportProps ) => {
230230 return React . createElement ( NestedOption < IExportProps > , {
@@ -337,11 +337,11 @@ const ItemTextFormat = Object.assign<typeof _componentItemTextFormat, NestedComp
337337// owners:
338338// BarGauge
339339type ILabelProps = React . PropsWithChildren < {
340- connectorColor ?: string ;
340+ connectorColor ?: string | undefined ;
341341 connectorWidth ?: number ;
342342 customizeText ?: ( ( barValue : { value : number , valueText : string } ) => string ) ;
343343 font ?: ChartsFont ;
344- format ?: LocalizationFormat ;
344+ format ?: LocalizationFormat | undefined ;
345345 indent ?: number ;
346346 visible ?: boolean ;
347347} >
@@ -365,12 +365,12 @@ const Label = Object.assign<typeof _componentLabel, NestedComponentMeta>(_compon
365365// owners:
366366// BarGauge
367367type ILegendProps = React . PropsWithChildren < {
368- backgroundColor ?: string ;
368+ backgroundColor ?: string | undefined ;
369369 border ?: Record < string , any > | {
370370 color ?: string ;
371371 cornerRadius ?: number ;
372372 dashStyle ?: DashStyle ;
373- opacity ?: number ;
373+ opacity ?: number | undefined ;
374374 visible ?: boolean ;
375375 width ?: number ;
376376 } ;
@@ -381,32 +381,32 @@ type ILegendProps = React.PropsWithChildren<{
381381 customizeText ?: ( ( arg : { item : BarGaugeBarInfo , text : string } ) => string ) ;
382382 font ?: ChartsFont ;
383383 horizontalAlignment ?: HorizontalAlignment ;
384- itemsAlignment ?: HorizontalAlignment ;
385- itemTextFormat ?: LocalizationFormat ;
386- itemTextPosition ?: Position ;
384+ itemsAlignment ?: HorizontalAlignment | undefined ;
385+ itemTextFormat ?: LocalizationFormat | undefined ;
386+ itemTextPosition ?: Position | undefined ;
387387 margin ?: number | Record < string , any > | {
388388 bottom ?: number ;
389389 left ?: number ;
390390 right ?: number ;
391391 top ?: number ;
392392 } ;
393393 markerSize ?: number ;
394- markerTemplate ?: ( ( legendItem : BarGaugeLegendItem , element : any ) => string | any ) | template ;
395- orientation ?: Orientation ;
394+ markerTemplate ?: ( ( legendItem : BarGaugeLegendItem , element : any ) => string | any ) | template | undefined ;
395+ orientation ?: Orientation | undefined ;
396396 paddingLeftRight ?: number ;
397397 paddingTopBottom ?: number ;
398398 rowCount ?: number ;
399399 rowItemSpacing ?: number ;
400400 title ?: Record < string , any > | string | {
401401 font ?: ChartsFont ;
402- horizontalAlignment ?: HorizontalAlignment ;
402+ horizontalAlignment ?: HorizontalAlignment | undefined ;
403403 margin ?: Record < string , any > | {
404404 bottom ?: number ;
405405 left ?: number ;
406406 right ?: number ;
407407 top ?: number ;
408408 } ;
409- placeholderSize ?: number ;
409+ placeholderSize ?: number | undefined ;
410410 subtitle ?: Record < string , any > | string | {
411411 font ?: ChartsFont ;
412412 offset ?: number ;
@@ -453,7 +453,7 @@ type ILegendBorderProps = React.PropsWithChildren<{
453453 color ?: string ;
454454 cornerRadius ?: number ;
455455 dashStyle ?: DashStyle ;
456- opacity ?: number ;
456+ opacity ?: number | undefined ;
457457 visible ?: boolean ;
458458 width ?: number ;
459459} >
@@ -474,14 +474,14 @@ const LegendBorder = Object.assign<typeof _componentLegendBorder, NestedComponen
474474// Legend
475475type ILegendTitleProps = React . PropsWithChildren < {
476476 font ?: ChartsFont ;
477- horizontalAlignment ?: HorizontalAlignment ;
477+ horizontalAlignment ?: HorizontalAlignment | undefined ;
478478 margin ?: Record < string , any > | {
479479 bottom ?: number ;
480480 left ?: number ;
481481 right ?: number ;
482482 top ?: number ;
483483 } ;
484- placeholderSize ?: number ;
484+ placeholderSize ?: number | undefined ;
485485 subtitle ?: Record < string , any > | string | {
486486 font ?: ChartsFont ;
487487 offset ?: number ;
@@ -610,8 +610,8 @@ const Shadow = Object.assign<typeof _componentShadow, NestedComponentMeta>(_comp
610610// owners:
611611// BarGauge
612612type ISizeProps = React . PropsWithChildren < {
613- height ?: number ;
614- width ?: number ;
613+ height ?: number | undefined ;
614+ width ?: number | undefined ;
615615} >
616616const _componentSize = ( props : ISizeProps ) => {
617617 return React . createElement ( NestedOption < ISizeProps > , {
@@ -654,14 +654,14 @@ const Subtitle = Object.assign<typeof _componentSubtitle, NestedComponentMeta>(_
654654// BarGauge
655655type ITitleProps = React . PropsWithChildren < {
656656 font ?: ChartsFont ;
657- horizontalAlignment ?: HorizontalAlignment ;
657+ horizontalAlignment ?: HorizontalAlignment | undefined ;
658658 margin ?: Record < string , any > | number | {
659659 bottom ?: number ;
660660 left ?: number ;
661661 right ?: number ;
662662 top ?: number ;
663663 } ;
664- placeholderSize ?: number ;
664+ placeholderSize ?: number | undefined ;
665665 subtitle ?: Record < string , any > | string | {
666666 font ?: ChartsFont ;
667667 offset ?: number ;
@@ -694,20 +694,20 @@ type ITooltipProps = React.PropsWithChildren<{
694694 border ?: Record < string , any > | {
695695 color ?: string ;
696696 dashStyle ?: DashStyle ;
697- opacity ?: number ;
697+ opacity ?: number | undefined ;
698698 visible ?: boolean ;
699699 width ?: number ;
700700 } ;
701701 color ?: string ;
702- container ?: any | string ;
703- contentTemplate ?: ( ( scaleValue : { index : number , value : number , valueText : string } , element : any ) => string | any ) | template ;
702+ container ?: any | string | undefined ;
703+ contentTemplate ?: ( ( scaleValue : { index : number , value : number , valueText : string } , element : any ) => string | any ) | template | undefined ;
704704 cornerRadius ?: number ;
705- customizeTooltip ?: ( ( scaleValue : { index : number , value : number , valueText : string } ) => Record < string , any > ) ;
705+ customizeTooltip ?: ( ( scaleValue : { index : number , value : number , valueText : string } ) => Record < string , any > ) | undefined ;
706706 enabled ?: boolean ;
707707 font ?: ChartsFont ;
708- format ?: LocalizationFormat ;
708+ format ?: LocalizationFormat | undefined ;
709709 interactive ?: boolean ;
710- opacity ?: number ;
710+ opacity ?: number | undefined ;
711711 paddingLeftRight ?: number ;
712712 paddingTopBottom ?: number ;
713713 shadow ?: Record < string , any > | {
@@ -717,7 +717,7 @@ type ITooltipProps = React.PropsWithChildren<{
717717 offsetY ?: number ;
718718 opacity ?: number ;
719719 } ;
720- zIndex ?: number ;
720+ zIndex ?: number | undefined ;
721721 contentRender ?: ( ...params : any ) => React . ReactNode ;
722722 contentComponent ?: React . ComponentType < any > ;
723723} >
@@ -751,7 +751,7 @@ const Tooltip = Object.assign<typeof _componentTooltip, NestedComponentMeta>(_co
751751type ITooltipBorderProps = React . PropsWithChildren < {
752752 color ?: string ;
753753 dashStyle ?: DashStyle ;
754- opacity ?: number ;
754+ opacity ?: number | undefined ;
755755 visible ?: boolean ;
756756 width ?: number ;
757757} >
0 commit comments