File tree Expand file tree Collapse file tree
packages/react-charts/src/victory/components/ChartBullet/examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,31 +53,31 @@ This is a green bullet chart with error measure and custom axis ticks with 3 leg
5353
5454This is a yellow bullet chart with primary measure greater than max range.
5555
56- ``` ts file = "ChartBulletPrimaryRange .tsx"
56+ ``` ts file = "ChartBulletOutsideRange .tsx"
5757
5858```
5959
6060### Negative primary measure
6161
6262This bullet chart with negative primary measure is for measures considered to be bad when they are low.
6363
64- ``` ts file = "ChartBulletNegativePrimary .tsx"
64+ ``` ts file = "ChartBulletNegativeMeasure .tsx"
6565
6666```
6767
6868### Reversed with right aligned legend
6969
7070This reversed bullet chart with right aligned legend is for measures considered to be good when they are low.
7171
72- ``` ts file = "ChartBulletReversedLegend .tsx"
72+ ``` ts file = "ChartBulletReversed .tsx"
7373
7474```
7575
7676### Negative and positive primary measures
7777
7878This bullet chart with negative and positive primary measures has 4 legend items per row.
7979
80- ``` ts file = "ChartBulletNegativePositivePrimary .tsx"
80+ ``` ts file = "ChartBulletNegativePositiveMeasure .tsx"
8181
8282```
8383
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ interface ChartData {
66 y0 ?: number ;
77}
88
9- export const ChartBulletNegativePrimary : React . FunctionComponent = ( ) => {
9+ export const ChartBulletNegativeMeasure : React . FunctionComponent = ( ) => {
1010 const comparativeWarningMeasureData : ChartData [ ] = [ { name : 'Warning' , y : 60 } ] ;
1111 const comparativeWarningMeasureLegendData : ChartData [ ] = [ { name : 'Warning' } ] ;
1212 const primarySegmentedMeasureData : ChartData [ ] = [ { name : 'Measure' , y : - 15 } ] ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ interface ChartData {
66 y0 ?: number ;
77}
88
9- export const ChartBulletNegativePositivePrimary : React . FunctionComponent = ( ) => {
9+ export const ChartBulletNegativePositiveMeasure : React . FunctionComponent = ( ) => {
1010 const comparativeWarningMeasureData : ChartData [ ] = [ { name : 'Warning' , y : 60 } ] ;
1111 const comparativeWarningMeasureLegendData : ChartData [ ] = [ { name : 'Warning' } ] ;
1212 const primarySegmentedMeasureData : ChartData [ ] = [
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ interface ChartData {
55 y ?: number ;
66}
77
8- export const ChartBulletPrimaryRange : React . FunctionComponent = ( ) => {
8+ export const ChartBulletOutsideRange : React . FunctionComponent = ( ) => {
99 const comparativeWarningMeasureData : ChartData [ ] = [ { name : 'Warning' , y : 80 } ] ;
1010 const comparativeWarningMeasureLegendData : ChartData [ ] = [ { name : 'Warning' } ] ;
1111 const primarySegmentedMeasureData : ChartData [ ] = [
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ interface ChartData {
55 y ?: number ;
66}
77
8- export const ChartBulletReversedLegend : React . FunctionComponent = ( ) => {
8+ export const ChartBulletReversed : React . FunctionComponent = ( ) => {
99 const comparativeWarningMeasureData : ChartData [ ] = [ { name : 'Warning' , y : - 88 } ] ;
1010 const comparativeWarningMeasureLegendData : ChartData [ ] = [ { name : 'Warning' } ] ;
1111 const primarySegmentedMeasureData : ChartData [ ] = [
You can’t perform that action at this time.
0 commit comments