Skip to content

Styled mode line chart series className not applied to shared tooltip #17815

@fhoeben

Description

@fhoeben

Expected behaviour

Given I have a line chart, in styled mode, with a shared tooltip
When I apply a className to my series
Then I expect that className to be applied to the tooltip element for that series
Screenshot 2022-10-03 at 12 25 51

Actual behaviour

The className specified is not added to the values for the series in the tooltip

Live demo with steps to reproduce

https://codepen.io/fhoeben/pen/WNJyeNQ

Screenshot 2022-10-03 at 12 20 34

The line colours have been configured, these are applied to the labels but not to the tooltip. The tooltip elements do not have the weight or bmi class specified to their series
Screenshot 2022-10-03 at 12 23 17

Product version

Highcharts JS v10.2.1 (2022-08-29)

Affected browser(s)

all

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions