We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.6.0
Demo
Hover to see the unexpected NaN tooltip.
NaN
tooltip: { trigger: 'axis', formatter: (p) => p[0].name, show: true },
the item selection is broken too. Clicking an item will select all items in the same series.
the name of the tooltip formatter params is NaN Clicking an item will select all items in the same series.
name
Show correct category name Clicking an item selects only that item.
- OS: - Browser: - Framework:
It was caused by canOmitUnusedDimensions. when canOmitUnusedDimensions is true
canOmitUnusedDimensions
prepareSeriesDataSchema
DataStore
_chunks
SeriesData
_nameDimIdx
SeriesData._nameList
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Version
5.6.0
Link to Minimal Reproduction
Demo
Steps to Reproduce
Hover to see the unexpected
NaN
tooltip.the item selection is broken too.
Clicking an item will select all items in the same series.
Current Behavior
the
name
of the tooltip formatter params isNaN
Clicking an item will select all items in the same series.
Expected Behavior
Show correct category name
Clicking an item selects only that item.
Environment
Any additional comments?
It was caused by
canOmitUnusedDimensions
.when
canOmitUnusedDimensions
is trueprepareSeriesDataSchema
only create necessary dimensionsDataStore
is still generated with all dimensions.(see the length of_chunks
)SeriesData
uses_nameDimIdx
to reference the data inDataStore
.Since unnecessrary dimensions are not created,
_nameDimIdx
is assigned the wrong idxSeriesData._nameList
is filled with wrong namesThe text was updated successfully, but these errors were encountered: