Skip to content

[BUG] array in pointBorderWidth #4106

@padinko

Description

@padinko

Expected Behavior

Array of numbers in pointBorderWidth (using line type chart) change the width of border for each point of chart.

Current Behavior

Array with more than one number in pointBorderWidth (using line type chart) are ignored and chart use borderWidth instead.

Possible Solution

Function getPointBorderWidth only check if value is not NaN. no behaviour if value is array.

Context

I need every point in line chart have different border width.

Environment

  • Chart.js version: 2.5.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions