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) => {
9595 accessor : 'users' ,
9696 formatter : ( d ) => ( d > 200 ? 'over 200' : 'lower' )
9797 } }
98+ chartConfig = { {
99+ activeSegment : 1 ,
100+ showActiveSegmentDataLabel : true
101+ } }
98102 />
99103 ) ;
100104} ;
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ export interface IPolarChartConfig {
1111 tooltipItemStyle ?: CSSProperties ;
1212 tooltipLabelStyle ?: CSSProperties ;
1313
14+ /**
15+ * Index of the segment where an additional outer border should be applied as highlight.
16+ */
1417 activeSegment ?: number ;
18+ /**
19+ * Flag whether the highlighted segment should display its data label.
20+ */
1521 showActiveSegmentDataLabel ?: boolean ;
1622}
You can’t perform that action at this time.
0 commit comments