Title and Footer - Steema/TeeChartJS GitHub Wiki

Title and Footer

These two chart properties are used to display text at chart top and bottom sides:

Chart1.title.text = “Hello”;
Chart1.footer.text = “World”;

Multiple-line text is done by adding \n line-feed delimiters:

Chart1.title.text = “Hello \n World”;

Title and Footer are Annotation-derived objects, and such they inherit the format sub-properties:

Chart1.title.visible = true;
Chart1.title.transparent = false;
Chart1.title.format.gradient.visible = true;
Chart1.title.format.round.x=20;