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.

typescript

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.

min
number
Force the minimum value of the secondary Y scale. Auto-computed from data when absent.
max
number
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.
title
string
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

vue