Hi all,
I've been trying to configure the radchart to show a bar chart where each bar is associated to a month in the year. The configuration I've been using is manual, this is, the XAxis AutoRange = false and then IsDateTime is set to true and minValue, maxValue, Step and LabelStep is configured manually.
I've seen displaying problems in the line exposed in other posts and derived from the fact that the "Step" is not constant between months. Among these problems I can tell some bars displayed with an x-axis offset (not centered) or very thin bars (which is not correct as there is only one series and there is plenty space left blank).
My question is about the workaround I've used to make this work: Categorical charts. Instead of making the RadChart working directly with dates, I opted by this configuration:
- XAxis AutoRange is set to TRUE
- IsDateTime is set to FALSE
- The ItemMapping in the XAxis is set to XCategory and linked to a property of my bussiness object that contains a string representing the month (Jan, Feb and so on).
Using this configuration shows a chart where the bars are correctly aligned and the width is as expected (they use as much space as they can). I'd like to know if this is a good solution or there is any other more suitable.
In my opinion, RadChart management of sources where the XAxis is composed by "OADates" doesn't work as well as it could, and an example of this is the situation I just exposed. I wonder if you are working on solving this kind of issues or we should wait until the new ChartView control is available for production usage.
Best regards,
Pablo.
I've been trying to configure the radchart to show a bar chart where each bar is associated to a month in the year. The configuration I've been using is manual, this is, the XAxis AutoRange = false and then IsDateTime is set to true and minValue, maxValue, Step and LabelStep is configured manually.
I've seen displaying problems in the line exposed in other posts and derived from the fact that the "Step" is not constant between months. Among these problems I can tell some bars displayed with an x-axis offset (not centered) or very thin bars (which is not correct as there is only one series and there is plenty space left blank).
My question is about the workaround I've used to make this work: Categorical charts. Instead of making the RadChart working directly with dates, I opted by this configuration:
- XAxis AutoRange is set to TRUE
- IsDateTime is set to FALSE
- The ItemMapping in the XAxis is set to XCategory and linked to a property of my bussiness object that contains a string representing the month (Jan, Feb and so on).
Using this configuration shows a chart where the bars are correctly aligned and the width is as expected (they use as much space as they can). I'd like to know if this is a good solution or there is any other more suitable.
In my opinion, RadChart management of sources where the XAxis is composed by "OADates" doesn't work as well as it could, and an example of this is the situation I just exposed. I wonder if you are working on solving this kind of issues or we should wait until the new ChartView control is available for production usage.
Best regards,
Pablo.