I have a simple line chart in a layer in a composite chart, with items plotted along the x-axis and data values on the y-axis.
In version 8.2, the item labels along the x-axis line up with the points plotted on the graph, so if there are 5 points then there are 5 labels. For example:
In version 9.1 however, so labels are positioned in the gaps between points, like this:
This just seems wrong to me!
Strangely enough, I tried changed the label Layout Behavior to Auto, and that shifted the labels to where I expected them to be, but the label for the last point is missing.
Any ideas what is going on here? Has the behaviour changed in version 9.1 (or maybe 8.3, which I haven't tried)?
Steve.
that looks like a bug in the control, but i couldn't reproduce it in the current version. are you using the release version of 2009.1? have you tried downloading the latest available hotfix?
Yes, I'm using the release version, I only downloaded it 4 or 5 days ago. The assemblies are version 9.1.20091.1015. Is there a hotfix available for 9.1? There aren't any listed on my downloads page.
Here's the markup I'm using to reproduce this:
<igchart:UltraChart ID="UltraChart1" runat="server" BorderColor="Black" BorderWidth="1px" ChartType="Composite" Version="9.1"> <CompositeChart> <Series> <igchartprop:numericseries key="series1"> <Points> <igchartprop:NumericDataPoint Value="1000" Label="1"> </igchartprop:NumericDataPoint> <igchartprop:NumericDataPoint Value="2000" Label="2"> </igchartprop:NumericDataPoint> <igchartprop:NumericDataPoint Value="3000" Label="3"> </igchartprop:NumericDataPoint> <igchartprop:NumericDataPoint Value="4000" Label="4"> </igchartprop:NumericDataPoint> <igchartprop:NumericDataPoint Value="5000" Label="5"> </igchartprop:NumericDataPoint> </Points> </igchartprop:numericseries> </Series> <ChartLayers> <igchartprop:chartlayerappearance axisxkey="axis1" axisykey="axis2" chartareakey="area1" charttype="LineChart" key="chartLayer1" serieslist="series1"> <ChartTypeAppearances> <igchartprop:LineChartAppearance></igchartprop:LineChartAppearance> </ChartTypeAppearances> </igchartprop:chartlayerappearance> </ChartLayers> <ChartAreas> <igchartprop:chartarea key="area1"> <Axes> <igchartprop:AxisItem Key="axis1" OrientationType="X_Axis" DataType="String" SetLabelAxisType="ContinuousData" TickmarkInterval="0"> <Labels ItemFormatString="<ITEM_LABEL>" HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal"> </Labels> </igchartprop:AxisItem> <igchartprop:AxisItem Key="axis2" OrientationType="Y_Axis" DataType="Numeric" TickmarkStyle="Smart" TickmarkInterval="500"> <Labels ItemFormatString="<DATA_VALUE>" HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal"> </Labels> </igchartprop:AxisItem> </Axes> </igchartprop:chartarea> </ChartAreas> </CompositeChart></igchart:UltraChart>