Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
220
Composite Chart data values (column/line)
posted

In following the steps given on the web site below, I am able to generate a chart, but only with the axis value I entered in the wizard, but I am wanting to use the values from a data source. I must be missing something very simple. I have added a data source, but values not there. Help please?

http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/Chart_Creating_a_Composite_Chart_Using_the_Chart_Wizard_Part_1_of_2.html

http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/Chart_Creating_a_Composite_Chart_Using_the_Chart_Wizard_Part_2_of_2.html

Parents Reply
  • 310
    posted in reply to John

    Ok, one more issue - i am trying to get the SeriesLables to center and show the colomn names ie. 2007, 2008 and 2009  i tried everything i know to do but alas -

    xAxisColumn.DataType = AxisDataType.String;
    xAxisColumn.OrientationType = AxisNumber.X_Axis;
    xAxisColumn.SetLabelAxisType = SetLabelAxisType.GroupBySeries;
    xAxisColumn.Labels.HorizontalAlign = StringAlignment.Center;
    xAxisColumn.Labels.VerticalAlign = StringAlignment.Center;
    xAxisColumn.Labels.SeriesLabels.FormatString = "Fiscal\nMonth\n";
    xAxisColumn.Labels.Orientation = TextOrientation.VerticalLeftFacing;
    xAxisColumn.RangeType = AxisRangeType.Automatic;
    xAxisColumn.LineThickness = 1;

    xAxisLine.DataType = AxisDataType.String;
    xAxisLine.SetLabelAxisType = SetLabelAxisType.ContinuousData;
    xAxisLine.Labels.Orientation = TextOrientation.VerticalLeftFacing;
    xAxisLine.LineThickness = 1;
    xAxisLine.Margin.Near.MarginType = LocationType.Percentage;
    xAxisLine.Margin.Near.Value = 3;
    xAxisLine.Margin.Far.MarginType = LocationType.Percentage;
    xAxisLine.Margin.Far.Value = 3;

Children