File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ export const renderFormatedStory = (props) => {
95
95
accessor : 'users' ,
96
96
formatter : ( d ) => ( d > 200 ? 'over 200' : 'lower' )
97
97
} }
98
+ chartConfig = { {
99
+ activeSegment : 1 ,
100
+ showActiveSegmentDataLabel : true
101
+ } }
98
102
/>
99
103
) ;
100
104
} ;
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ export interface IPolarChartConfig {
11
11
tooltipItemStyle ?: CSSProperties ;
12
12
tooltipLabelStyle ?: CSSProperties ;
13
13
14
+ /**
15
+ * Index of the segment where an additional outer border should be applied as highlight.
16
+ */
14
17
activeSegment ?: number ;
18
+ /**
19
+ * Flag whether the highlighted segment should display its data label.
20
+ */
15
21
showActiveSegmentDataLabel ?: boolean ;
16
22
}
You can’t perform that action at this time.
0 commit comments