Normal 0
Hi All,
I have one query how to show x-axis and series label for Line and Gantt chart.
Ex
(X-axis)---------------------------------------------------------------------------------------------------------- 00:00:00. 08:00:00. 16:00:00 00:00:00 08:00:00 16:00:00 (this is an axis label)
|--------------22 Dec 2009 -------------|--------------23 Dec 2009 -------------|
(Series label)
and so on.
As my chart displaying has lot of points and hence date value is trim due to lack of space and it is not readable.
I am using infragistics 6.3 version.
Please provide help on this query.Thank you in advance.
Time axes are capable of only one group of labels, there is no grouping available for different spans of time like months or years. That behavior is not a feature of the chart and would only be possible through some custom drawing in the FillSceneGraph event.
Perhaps if you upload a picture of your chart with the labels are not displaying well, I could advise you on what your options are for better displaying them.
Hi David,
I have a similar problem but with column chart. The chart is dynamically created using data from a database and I am getting the x-axis lables by using
UltraChart1.Axis.X.Labels.ItemFormat = Infragistics.UltraChart.Shared.Styles.
AxisItemLabelFormat.ItemLabel; What I need is the series label to be provided below the axis labels. Please help ASAP since I have been toiling with it for quite sometime and have run out of time now :(...
Thanks,
Vidya Krishna
sorry for the delay...
printing series labels below the item labels in a column chart is the default behavior. but maybe you're looking for a solution more like this?
UltraChart1.Axis.X.Labels.ItemFormat = "<ITEM_LABEL>" + Environment.NewLine + "<SERIES_LABEL>";