datagrok-ai / public

Public package repository for the Datagrok.ai platform
MIT License
42 stars 26 forks source link

#2967: Line chart: add option allowing to hide any X axis points with no corresponding data on Y axis/axes #2967

Open katerina-stepanova opened 1 month ago

katerina-stepanova commented 1 month ago

Line chart pack.csv

  1. Open the table
  2. Add a line chart
  3. Use 'cat' column as X axis

'Pack categories' option already removes any X axis categories that are filtered out or categories with no data at the ends of X axis. However some intermediate categories with no data may be shown, e.g. see 'DD' on the picture:

image

Expected: Add possibility to show only those X axis categories that have corresponding data on at least one of the Y axes.

dnillovna commented 1 month ago

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16457