Run project and change layout size of browser with mouse.
Some time show wrong chart, sometime it is correct.
This control not work! See first two scale and change browser size.
See attached image...
3 Answers, 1 is accepted
answered on 28 Feb 2014, 09:28 AM
The reason why the databar flickers is because your range is very big and the value is too small. When the browser is resized the value of the databar width that should be displayed is recalculated and there is a rounding error. For example if it is 0.4 it won't appear but if it is 0.6 it will. May I ask you how do you expect the DataBar to behave in this scenario? Such information is valuable for us and will be taken into consideration on how to further improve the DataBar control.
I accept your answer about rounding error but I can reproduce this bug when dinamcly change min/max interval without resize browser. Again this bug is valid and sorry but I cannot accept this aswer for 100% truly.
Please, make test in your Telerik laboratory. Make 10 databars in collection with diferent values and dynamcly change range min/max.
You will see at the end that some time positive is show when range is big integer and value property is small
answered on 04 Mar 2014, 08:11 AM
The size of the databar is a function of two variables - the size of the window and the value of the databar. When the value which should be visualized does not meet the requirement for drawing one pixel, then the databar won't be visualized no matter that it actually has a value. Changing the size of the browser and playing with different databar range values will result in the same behavior as already described.
As I asked earlier, could you describe how do you expect the databar to work in such scenarios. This will help us understand our clients scenarios and consider its improvement for the upcoming releases.