Hello together,
When using the xamDataChart, the Min and Max values displayed determine how big the axis are. By default, this is quite nice, however, I want to have an are ~10 more space below the lowest and above the highest value, since it looks like it is cut on the lowest/highest value.
Is there a way to have a kind of "offset" around these values?
I hope you know what I mean :D
Best Regards,
Florian
Hello,
I join the question.
CategoryDateTimeXAxis has nice functionality: minimum and maximum value setting, real distance between data points. But it works only with DateTime. Is there any way to obtain such functionality for example with CategoryXAxis?
Than you for your posts.
@Florian - You can see this forum thread:
http://ko.infragistics.com/community/forums/t/72263.aspx
where a similar question is already discussed.
@Dmitry - You can use the CategoryXAxis' Interval Property. Here you can read more about it:
http://help.infragistics.com/Help/Doc/Silverlight/2014.1/CLR4.0/html/InfragisticsSL5.Controls.Charts.XamDataChart.v14.1~Infragistics.Controls.Charts.CategoryXAxis~Interval.html
Interval property doesn't help at all.
There are links to the example:
http://s000.tinyupload.com/index.php?file_id=52879889919716197048http://s000.tinyupload.com/index.php?file_id=35373733242965683978
As you can see distance between 3rd and 4th data points and between 4th and 5th data points of series are not equal for CategoryDateTimeXAxis. But distances for all data points are equal for CategoryXAxis. What should I use to obtain such CategoryDateTimeXAxis functionality for other data types, for example for decimal?
Hello Dmitry,
Currently this behavior can be achieved with CategoryXAxis if you fill your data source with null values. (e.g. 1, 2, 3, null, null, 6, etc.). This way there will be a gap between 3 and 6. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Hello Stefan,
I have to use interpolation to avoid gaps in that case, but something is better than nothing.
Thank you.
I am just checking if you still require any assistance or clarification on the matter.
No.
Everything is clear.