Skip to content

Line chart dataset color should be scriptable for each section of the line #7193

Description

@hrabalp

Feature Proposal

Line-chart dataset color should be scriptable for each section, currently only fixed color or gradient is applicable

Feature Use Case

Lets asume we have Devicename as axis y, and time as axis x. now we would like to express type of activity of the device with the color, currently this is possible only for point by usage of callbacks, i would like to do the same for line color for better visibility

Possible Implementation

I would sugest spliting line borderColor from Point borderColor and make line borderColor scriptable as well (currently borderColor is used for both)

https://jsfiddle.net/Zmrzlinka/gqfe52Lj/18/ - showcase working for datapoint but not for line

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions