@@ -223,10 +223,11 @@ export interface Chart {
223
223
}
224
224
225
225
// @public
226
- export type ChartDataMode = ' default' | ' fraction' | ' percentage' ;
226
+ export type ChartDataMode = ' default' | ' fraction' | ' percentage' | ' hidden ' ;
227
227
228
228
// @public (undocumented)
229
229
export interface ChartDataPoint {
230
+ annotationInformation? : string [];
230
231
callOutAccessibilityData? : AccessibilityProps ;
231
232
color? : string ;
232
233
data? : number ;
@@ -715,14 +716,18 @@ export const HorizontalBarChart: React_2.FunctionComponent<HorizontalBarChartPro
715
716
716
717
// @public
717
718
export interface HorizontalBarChartProps extends React_2 .RefAttributes <HTMLDivElement > {
719
+ allowHoverOnSegment? : boolean ;
718
720
barHeight? : number ;
719
721
calloutProps? : ChartPopoverProps ;
720
722
calloutPropsPerDataPoint? : (dataPointCalloutProps : ChartDataPoint ) => ChartPopoverProps ;
721
723
chartDataMode? : ChartDataMode ;
722
724
className? : string ;
723
725
color? : string ;
726
+ containerWidth? : number ;
724
727
culture? : string ;
725
728
data? : ChartProps [];
729
+ // (undocumented)
730
+ displayAnnotationIcon? : (segment : ChartDataPoint , index : number ) => React_2 .ReactNode ;
726
731
hideLabels? : boolean ;
727
732
hideRatio? : boolean [];
728
733
hideTooltip? : boolean ;
@@ -731,6 +736,7 @@ export interface HorizontalBarChartProps extends React_2.RefAttributes<HTMLDivEl
731
736
// (undocumented)
732
737
legendsOverflowText? : any ;
733
738
onRenderCalloutPerHorizontalBar? : (props : ChartDataPoint ) => JSX .Element | undefined ;
739
+ showAnnotationsInPercentage? : boolean ;
734
740
showTriangle? : boolean ;
735
741
styles? : HorizontalBarChartStyles ;
736
742
variant? : HorizontalBarChartVariant ;
@@ -743,6 +749,7 @@ export interface HorizontalBarChartStyles {
743
749
barWrapper: string ;
744
750
benchmarkContainer: string ;
745
751
chart: string ;
752
+ chartAnnotationText: string ;
746
753
chartDataTextDenominator: string ;
747
754
chartTitle: string ;
748
755
chartTitleLeft: string ;
@@ -1245,6 +1252,13 @@ export interface Schema {
1245
1252
plotlySchema: any ;
1246
1253
}
1247
1254
1255
+ // @public (undocumented)
1256
+ export type segment = {
1257
+ percent: number ;
1258
+ adjustedPercent: number ;
1259
+ rawValue: number ;
1260
+ };
1261
+
1248
1262
// @public (undocumented)
1249
1263
export const Shape: React_2 .FunctionComponent <ShapeProps >;
1250
1264
0 commit comments