| 20 | const barWidth = 32; |
| 21 | |
| 22 | export interface BarChartProps extends AbstractChartProps { |
| 23 | data: ChartData; |
| 24 | width: number; |
| 25 | height: number; |
| 26 | fromZero?: boolean; |
| 27 | withInnerLines?: boolean; |
| 28 | yAxisLabel: string; |
| 29 | yAxisSuffix: string; |
| 30 | chartConfig: AbstractChartConfig; |
| 31 | style?: Partial<ViewStyle>; |
| 32 | horizontalLabelRotation?: number; |
| 33 | verticalLabelRotation?: number; |
| 34 | /** |
| 35 | * Show vertical labels - default: True. |
| 36 | */ |
| 37 | withVerticalLabels?: boolean; |
| 38 | /** |
| 39 | * Show horizontal labels - default: True. |
| 40 | */ |
| 41 | withHorizontalLabels?: boolean; |
| 42 | /** |
| 43 | * The number of horizontal lines |
| 44 | */ |
| 45 | segments?: number; |
| 46 | showBarTops?: boolean; |
| 47 | showValuesOnTopOfBars?: boolean; |
| 48 | withCustomBarColorFromData?: boolean; |
| 49 | flatColor?: boolean; |
| 50 | } |
| 51 | |
| 52 | type BarChartState = {}; |
| 53 |
nothing calls this directly
no outgoing calls
no test coverage detected