ArgumentScale Plugin Reference

The ArgumentScale plugin allows you to customize the argument scale.

Import

Use the following statement to import the plugin:

import { ArgumentScale } from '@devexpress/dx-react-chart';

User Reference

Properties

Name Type Default Description
factory? () => ScaleObject A function that constructs a custom scale.
modifyDomain? (domain: Array<any>) => Array<any> A function that modifies the scale domain.

Interfaces

ScaleObject

Field Type Description
domain (domain?: Array<any>) => ScaleObject | Array<any> A function that sets (if the domain parameter is an array) or gets (if the domain parameter is undefined) the current domain.
range () => (range?: Array<any>) => ScaleObject | Array<any> A function that sets (if the domain parameter is an array) or gets (if the domain parameter is undefined) the scale's current range.
tickFormat? (count: number, specifier: string) => (tick: any) => string A function that returns a tick formatter function.
ticks? (count: number) => Array<any> A function that returns an array of ticks.
paddingInner? (padding: number) => ScaleObject A function that sets a scale's inner padding and returns the current scale.
paddingOuter? (padding: number) => ScaleObject A function that sets a scale's outer padding and returns the current scale.
bandWidth? () => number A function that returns each band's width.
This site uses cookies to make your browsing experience more convenient and personal. Cookies store useful information on your computer to help us improve the efficiency and relevance of our site for you. In some cases, they are essential to making the site work properly. By accessing this site, you consent to the use of cookies. For more information, refer to DevExpress’ privacy policy and cookie policy.