How to dispaly dynamically changes Y-Axis values for each request.
For exmaple data:X-axis and Y-axis data for ecach requset. but Y-axis data will change dynamically for each request.
X-Axis -- Y-axiss
------------------------
11/02/2014 2000
12/05/2014 2200
01/26/2015 21000
==============
11/10/2014 0.56%
12/19/2014 0.62%
===============
11/10/2014 5
12/19/2014 14
02/13/2015 7
Note: Y-axis value has Min and Max values. The value is less than Min value then display in Green bar and values is Grater than Max value disply in Red and in between display in Yellow Bar.
How to diplay this type of data in silverlight using xamDataChart with bargraph in diffirent colors as mentioned above.
Hello Sir,
Y-Axis starts with Zeero as Minimum value. In my date all rows contains Minimum and Maximum Values and also contains result values with corsponding dates. I want draw bar garp with Result values(Y-axis) and Dates(X-axis). If the Result value is less than Minimum value show in green, greater than maximum value show in Red and in between show in Yellow.
Can you please send me example.
Thanks,
Hi Venkateswarlu,
You can change what values are shown in the Y axis by changing the Minimum and Maximum properties. If one series requires the ability to show data points with 2000, 2100, and 21000 as the Y values then setting the Minimum and Maximum to encapsulate update the Y axis labels to show that range. The same for a different series needing to show percentages. You cannot have one Y axis showing all of these different values though. A single NumericYAxis can only show a range of values between a minimum and a maximum.
For changing the bar colors, I'm a bit confused by your requirement. If you have the Minimum and Maximum values set, and your bar value is less than the minimum, the XamDataChart is not going to show that bar so there is no point in giving it a color. However, if you need to change the color of the bars, please see the following forum thread:https://es.infragistics.com/community/forums/f/retired-products-and-controls/48210/colouring-columns-bars-in-the-chart-based-on-value/256989#256989