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
Plotting discrete bar charts and stacked discrete bar charts on a log scale is confusing since it's not immediately clear that what you see is plotted on a log scale. The bar lengths might be misinterpreted by a user as a result.
Expected behaviour
We should disallow log scale for discrete bar charts and stacked discrete bar charts.
We could also make it more obvious that the data is plotted on a log scale, but I can't think of a compelling use case for allowing bar charts on a log scale.
For discrete and stacked discrete bar charts, simply don't show the log/linear toggle. We currently don't have any bar charts that are on a log scale by default.
For line charts (that turn into a discrete bar chart):
Hide the log/linear toggle when a discrete bar chart is viewed
Changing to a discrete bar chart after selecting a log scale is ok for now, I think
Since the timeline is the only way to get to a discrete bar chart, it would be confusing if we sometimes allowed, sometimes disallowed single-year mode (depending on the current chart settings)
If we add a Bar chart tab for line charts, then we could hide the bar chart tab when the line chart is plotted on a log scale
Additional context
Queries
selectc.id, cc.chartType, cc.slugfrom charts c
join chart_configs cc onc.configId=cc.idwhere
(cc.chartType='DiscreteBar'orcc.chartType='StackedDiscreteBar')
andcc.full->>'$.yAxis.scaleType'='log';
selectc.id, cc.chartType, cc.slugfrom charts c
join chart_configs cc onc.configId=cc.idwherecc.chartType='LineChart'andcc.full->>'$.yAxis.scaleType'='log'andcc.full->>'$.minTime'=cc.full->>'$.maxTime';
selectc.id, cc.chartType, cc.slugfrom charts c
join chart_configs cc onc.configId=cc.idwhere
(cc.chartType='DiscreteBar'orcc.chartType='StackedDiscreteBar') andcc.full->>'$.yAxis.canChangeScaleType'='true';
The text was updated successfully, but these errors were encountered:
Description
Plotting discrete bar charts and stacked discrete bar charts on a log scale is confusing since it's not immediately clear that what you see is plotted on a log scale. The bar lengths might be misinterpreted by a user as a result.
Expected behaviour
We should disallow log scale for discrete bar charts and stacked discrete bar charts.
We could also make it more obvious that the data is plotted on a log scale, but I can't think of a compelling use case for allowing bar charts on a log scale.
For discrete and stacked discrete bar charts, simply don't show the log/linear toggle. We currently don't have any bar charts that are on a log scale by default.
For line charts (that turn into a discrete bar chart):
Additional context
Queries
The text was updated successfully, but these errors were encountered: