Home › forums › Using CanvasJS › Text box on Charts
Tagged: legend, styling, text box
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 4 months, 4 weeks ago.
Is there a way I could insert a text box inside a chart.
I tried to use legend but can not place it at a specific location.
Please see link attached.
You can position custom DOM wherever you want on the chart with the help of convertValueToPixel and convertPixelToValue methods. Please take a look at this jsfiddle where many custom texts are positioned as indexLabels.
You must be logged in to reply to this topic.