IChartVariwideProps
Props for <OrigamChartVariwide>. A variwide chart encodes two metrics per category: height for the primary value (Y axis) and width for the secondary value (proportional share of the plot width). Typical uses: GDP × population, revenue × market share, response time × request count.
TypeScript
Définition
La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Héritage
Hérite de
Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.
API
Propriétés
Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.
- barGapnumber2
- Gap in SVG pixels between adjacent columns.
- showLabelbooleantrue
- Show the value label above each column.
- showAxisbooleantrue
- Render X (category) and Y (value) axes.
- showGridbooleantrue
- Render horizontal grid lines aligned with Y-axis ticks.
- xAxisFormat(value: string | number) => string
- Formatter applied to X-axis category tick labels. When omitted the category string is shown as-is.
- yAxisFormat(value: number) => string
- Formatter applied to Y-axis value tick labels and to the primary-value display in tooltip and above-bar label.
- yMinnumber
- Override the auto-computed Y minimum. Useful when the data starts well above zero.
- yMaxnumber
- Override the auto-computed Y maximum.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
GDP × population variwide chart