B4X FEED xChartLite StackedBarChart - resizing charts with multiple bars vs single bar

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: xChartLite StackedBarChart - resizing charts with multiple bars vs single bar است. این موضوع تا کنون 33 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع xChartLite StackedBarChart - resizing charts with multiple bars vs single bar
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
33
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
I've been playing with the excellent xChartLite library and have come across what appears to be an inconsistency with the drawing of the Stacked Bar Chart.

If I have two Stacked Bar Charts on a form both displaying the same number of points, one with multiple (stacked) bars, one with only a single bar, then when reducing the chart width the chart with multiple bars disappears before the other one.

I understand the 'Bar width = too small !!! Drawing of Bar chart skipped' issue, and have no problem with that. But I would have thought that these two charts have the same number of bars and so should 'disappear' at the same width. They both return the same xchart.GetMaxNumberBars figure.

I've attached a small example.
If you slowly decrease the width of the form you'll see that the top chart disappears at some point while the bottom one remains.

Given that both charts are displaying 50 bars, shouldn't they both have the same 'Bar width = too small...' limit?

 

عقب
بالا