green icon indicating copy to clipboard operation
green copied to clipboard

Chart: If to wide span in chart data not all bars is visible

Open alvanorea opened this issue 3 years ago • 1 comments

Sometimes the bars in a bar chart is not visible. Probably the bar is to small in relation to the others.

Examples of chart data:

  • [1551295.09, 0, 0, 0, 0, -3756.66, 0, 8263170.55] (-3756.66 not shown)
  • [591052085.55, 0, 355973337.83, 0, 0, -91088204.18, 0, 210372.91] (210372.91 not shown)
  • [0, -13333, 5815, 66, 44, 0, 0 ,0] (44 not shown)
  • [0, -13333, 5810, 66, 44, 0, 0, 0] (ok)

image

alvanorea avatar Nov 08 '22 09:11 alvanorea

@alvanorea In the example, the the size of the smallest bar would be about 0.003% of the largest one, which would put it at well below 1px in height, so I think it is reasonable that it will not get rendered.

Do you have any suggestion as to how tiny bars should be visualized in cases like this?

splashdust avatar Mar 10 '23 14:03 splashdust