Profile Picture

NBarSeriesBase.BarWidth behaves incorrectly in 15.10.28.12 - produces narrower bars

Posted By Kevin Harrison 9 Years Ago

NBarSeriesBase.BarWidth behaves incorrectly in 15.10.28.12 - produces...

Author
Message
Kevin Harrison
Problem Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 176, Visits: 1,865
We have been setting the bar widths using bar.WidthPercent = 80 for years now, and we have many tests which compare generated images with expected results.
I am evaluating 15.10.28.12 and finding that all my tests generating charts containing bars are failing because the generated bars are much narrower in the latest release. The total width of the bars is much less than the 80% I have asked for.
Please can you fix this bug asap.
Thanks
Kevin


Tags
Nevron Support
Posted 9 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 Kevin,

We just tested with the same version and it did not have any problems - can you post a screenshot with code for the different behavior?


Best Regards,
Nevron Support Team



Kevin Harrison
Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 176, Visits: 1,865
vs
Single bar example - where's the bar gone?
vs
Multiple bar example - all bars much thinner.
Both charts are using x values.

Kevin Harrison
Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 176, Visits: 1,865
Apologies, the code line I gave is for categorical x axes, whereas the failing charts all have x-values supplied, so the code line behaving differently is:
bar.BarWidth = new NLength(1.5f, NRelativeUnit.ParentPercentage);
Does this now enable you to find out where the problem is?
I don't know if it's related but the size of symbols on line plots, which also use NRelativeUnit.ParentPercentage, are also slightly different compared to our reference plots.
Thanks
Kevin

Nevron Support
Posted 9 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 Kevin,

There was indeed a problem with the bar width in the case of stack / cluster - in general this was related to a slight improvement related to the ability to specify logical bar width. It is fixed now and we'll publish the SP today.


Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic