Guide configuration element is responsible for tuning look and feel of your chart.
...
Element | Notes | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
x | Styling options for X axis. | ||||||||||
Element | Notes | ||||||||||
padding | Describes padding between a chart body and X axis. | ||||||||||
label | Describes label for X axis. | ||||||||||
Element | Notes | ||||||||||
text | Title for X axis | ||||||||||
padding | Padding between title and a rest of X axis. | ||||||||||
tickFormat | Ticks are small indicators on an axis that shows axis values. tickFormat allows to format tick labels. It uses d3-based formatter. Check available d3 format specifiers. Other possible values:
| ||||||||||
tickPeriod | When operate with period scale, it allows to specify the period size. Possible values:
| ||||||||||
nice | Possible values: true, false. Defaults to true. By default engine tries to make axis scale "nice". It tries to start measure-based scale from 0 and adds some margins to complete scale with "nice" numbers. For example, if original scale domain contains values [8, 20, ... 40], then axis will have ticks from 0 to 45. | ||||||||||
min | The scale domain can be extended using min and max properties. The min and max can't reduce original scale domain and will be ignored in such a cases.
| ||||||||||
max | |||||||||||
y | Styling options for Y axis. Same elements as for X applies. | ||||||||||
color | Styling options for color dimension. | ||||||||||
Element | Notes | ||||||||||
bewer | There are to ways to define how color dimension will be colored.
| ||||||||||
size | |||||||||||
padding | |||||||||||
showGridLines | Instructs whether shows coordinates lines. Possible values: x, y, xy. | ||||||||||
showAnchors | Defines when to show anchors. Possible values:
| ||||||||||
interpolate | Possible values:
|
...