Profile Picture

Scalable Bar width when UseXValue is true

Posted By N Rezza 14 Years Ago
Author
Message
N Rezza
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 12, Visits: 1
Hi,

If UseXValue is set to true, bar width does not change when chart is zooming.
Is it possible to make bar width scalable when UseXValue is true?

Thanks in advance


Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi Rezza,

This behavior is by design - you can use the range series for this purpose:

NRangeSeries bar = new NRangeSeries();

bar.UseXValues = true;
bar.Values.Add(0);
bar.Y2Values.Add(10);
bar.XValues.Add(0);
bar.X2Values.Add(10);

bar.Values.Add(0);
bar.Y2Values.Add(30);
bar.XValues.Add(20);
bar.X2Values.Add(30);
chart.Series.Add(bar);

for example displays two bars that will change size when zoomed in or out.



Best Regards,
Nevron Support Team



N Rezza
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 12, Visits: 1
Thank you!



Similar Topics


Reading This Topic