You must be logged in to post your query.
Home › Forums › Chart Support › In CanvasJs for Angular, .render() does not apply new color for data, bug ?
Tagged: color change
Hello
In the Angular variant of CanvasJs, calling the .render() method, does not work properly: Example:
options.data[0].color = '#FF0000'; options.axisX.labelFontColor = '#FF0000'; //....... this.canvasJsInstance.render();
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.
You must be logged in to reply to this topic. Login/Register