Skip to content

Enable line segment point styles override by scriptable options in the segment object #9692

@bairog

Description

@bairog

Feature Proposal

According to line segment docs currently all of the border* and backgroundColor options are supported. But these options doesn't affect line point style.
When I set borderColor and backgroundColor for a dataset but omit pointBorderColor and pointBackgroundColor - point have exactly same color like line has. But that logic is not working when overriding line segment color by scriptable options.

Feature Use Case

Now it looks slightly ugly when line segment color is overriden but point color not. You can see it on a slightly modified Line Segment Styling sample (I've just added backgroundColor setting and removed radius: 0 option):
image

https://jsfiddle.net/bairog/wpu9z5rs/31/

Possible Implementation

I think it will be very handy to make it working same way like original options do OR support pointBorderColor and pointBackgroundColor in line segment scriptable options.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions