You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have produced a gantt chart using a combined bar and scatter configuration. I am adding the hierarchical type to scale.y, as I want this axis to be expandable. However, the graph does not render and I get an error saying TypeError: Cannot create property 'center' on string 'Phase 1'.
I would expect the graph to render, with the 'Phase 3' label on the y-axis being expandable to reveal 'Phase 8' and 'Phase 9'. Instead, the graph isn't rendering and I get the message TypeError: Cannot create property 'center' on string 'Phase 1'.
Screenshots
This is my graph rendering without the 'hierarchical' type in options.scales.y
But with type: hierarchical commented in, the graph does not render, and I get this error:
When I'm checking the labels being iterated, I can see that it pulls in 8 with string values, which is why it's erroring, as it can't then get the correct label properties:
Context
Version:
Browser:
Additional context
The text was updated successfully, but these errors were encountered:
I have produced a gantt chart using a combined bar and scatter configuration. I am adding the
hierarchical
type toscale.y
, as I want this axis to be expandable. However, the graph does not render and I get an error sayingTypeError: Cannot create property 'center' on string 'Phase 1'
.To Reproduce
Here is my graph configuration:
Expected behavior
I would expect the graph to render, with the 'Phase 3' label on the y-axis being expandable to reveal 'Phase 8' and 'Phase 9'. Instead, the graph isn't rendering and I get the message
TypeError: Cannot create property 'center' on string 'Phase 1'
.Screenshots
This is my graph rendering without the 'hierarchical'
type
inoptions.scales.y
But with
type: hierarchical
commented in, the graph does not render, and I get this error:When I'm checking the labels being iterated, I can see that it pulls in 8 with string values, which is why it's erroring, as it can't then get the correct label properties:
Context
Additional context
The text was updated successfully, but these errors were encountered: