Home Forums Chart Support In CanvasJs for Angular, .render() does not apply new color for data, bug ?

In CanvasJs for Angular, .render() does not apply new color for data, bug ?

Viewing 1 post (of 1 total)
  • #43955

    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.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.