You must be logged in to post your query.
Home › Forums › Report Bugs › In CanvasJs for Angular, .render() does not apply new color for data, bug ?
Tagged: color change
In the Angular variant of CanvasJs, calling the .render() method, does not work properly:
options.data.color = '#FF0000';
options.axisX.labelFontColor = '#FF0000';
In the above code, only the labelFontColor actually works (it changes the color of the fonts), but the color of the curve does not change.
It seems to be working fine, please take a look at this Stackblitz for working code.
If you are still facing issue, kindly create a sample project reproducing the issue and share it with us over Google-Drive or Onedrive (or update the code in shared Stackblitz, fork it and share with us) so that we can look into the code, understand the scenario better and help you out.
You must be logged in to reply to this topic. Login/Register