Bug description
When drawing a line chart using data, some overlapping points of the line are not visible as shown below. When I mouse over it, the data is visible.
Screenshots/recordings
When drawing a line chart using data, some overlapping points of the line are not visible as shown below. When I mouse over it, the data is visible.
Is this a bug or is there something wrong with the settings?
Superset version
master / latest-dev
Python version
3.10
Node version
I don't know
Browser
Chrome
Additional context
No response
Checklist
- [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
Comment From: dosubot[bot]
Based on your description and the latest information available, this does not appear to be a widely reported bug in Superset, but rather a behavior related to how overlapping points are rendered in line charts.
Here are some relevant findings:
- The NVD3 visualization plugin, which is used for line charts in Superset, includes settings for line interpolation and interactive guidelines. These can affect how lines and points are drawn, and interactive guidelines can help reveal hidden or overlapping points when you mouse over them. This matches your observation that the data becomes visible on hover [source].
- There have been recent updates to line chart rendering, including tooltip formatting and legend selection, but nothing specifically addressing overlapping points being hidden [source].
- No documentation or existing issues were found that specifically address the visibility of overlapping points in line charts.
Possible causes and troubleshooting:
- Overlapping points may not be individually visible if they have the same or very similar values, and the chart's rendering settings (such as point size, opacity, or z-index) do not distinguish them.
- Interactive guidelines (tooltips on hover) are designed to help with this, but if you want all points to be visible at all times, you may need to adjust chart settings. In the NVD3 plugin, look for options related to "show points" or "point size" in the chart controls.
- If you are using the ECharts line chart, enabling the GENERIC_CHART_AXES
feature flag allows for more customization of axes, which might help with overlapping data [source].
Next steps:
- Check the chart controls for options to always show points or increase point size.
- If you are using ECharts, try enabling the GENERIC_CHART_AXES
feature flag for more axis options.
- If the issue persists and you believe it is a rendering bug, consider sharing a minimal reproducible example and your chart configuration for further investigation.
Let me know if you need help locating specific chart settings or if you have more details about your chart configuration!
To continue talking to Dosu, mention @dosu-bot.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other