Home › forums › Using CanvasJS › Text box on Charts
Tagged: legend, styling, text box
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.