ZoomCharts Documentation


This section is defined by the type BaseSettingsTitle.

The chart's main title.


advanced: anonymous type

Advanced settings

addAfterToolbar: boolean
Default value: false

Determine the position of the title relative to the toolbars false - adds title first, then toolbar true - adds toolbar first, then title. Note, toolbar.location should be "outside" for this to have effect

align: "center" | "left" | "right"
Default value: "center"

Alignment of the title text.

Valid values:
  • center
  • left
  • right
enabled: boolean
Default value: true

Show/hide chart title

enabledOnExport: boolean
Default value: true

Whether to display title on the exported image. Note that it does not affect chart.

location: "inside" | "outside"
Default value: "outside"

Where the title is located in the chart

Valid values:
  • inside
  • outside
margin: number
Default value: 25

Margin around title text, in px.

Title style

fillColor: string
Default value: "#000"
font: string
Default value: "20px Arial"
text: string
Default value: ""

Title text.

verticalAlign: "top" | "bottom" | "center"
Default value: "center"

Vertical alignment of the title text.

Valid values:
  • top
  • bottom
  • center