IChartSecondaryYAxis
interface
Data Visualisation
Configuration object for the secondary (right-hand) Y axis on a cartesian chart. When passed to secondaryYAxis on OrigamChartCartesian, series with yAxis: 1 are projected against this scale. Omit to use the primary left axis only.
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.
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.
- minnumber
- Force the minimum value of the secondary Y scale. Auto-computed from data when absent.
- maxnumber
- Force the maximum value of the secondary Y scale. Auto-computed from data when absent.
- format(value: number) => string
- Formatter applied to the right-axis tick labels.
- titlestring
- Optional axis title rendered alongside the right axis.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Adding a secondary Y axis with a custom formatter