Hello,
I still haven’t found a way to customize chart:
- How can I add additional text on Line Chart ?
- How can dash like style ?
https://i.imgur.com/k5S2qXb.png
Anyone can help me appreciate, Thanks.
Hello,
I still haven’t found a way to customize chart:
https://i.imgur.com/k5S2qXb.png
Anyone can help me appreciate, Thanks.
Hello @finzaiko,
To add additional text, you can use the renderTextAt() Canvas method: Code Snippet. You only need to set the actual coordinates of the text and display the desired text there.
All our charts are rendered through the Canvas API. so any change in rendering is best done through it. it is not difficult to get close to him if necessary: Code Snippet
Also you have option to use as alternative chart where requested feature already pre-installed. For example, Webix has highchart integration: Code Snippet
Hi @NatashaS
Thanks for your solution using renderTextAt, I tried also working
I use this to manipulate label render
label: function (obj) {
return obj.time > minTime
? ""
: `<span style="color:red;margin-left:100px;">Max Temp: ${parseInt(
maxTemp
)}°</span>`;
},