Does anyone have an example of how I can replace the data in the series (which in inputted manually from the chart wizard) with the data from the datasouce? I set up the data source and it works but I don't know what the appropiate control markup is to populate the chart with the data from the database...any help would be appreciated.
<%@ Register Assembly="Infragistics35.WebUI.UltraWebChart.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Namespace="Infragistics.UltraChart.Data" TagPrefix="igchartdata" %>
<head id="Head1" runat="server">
<body>
<form id="form1" runat="server">
<div>
<igchart:UltraChart ID="UltraChart1" runat="server" BackgroundImageFileName="" BorderColor="Black"
BorderWidth="1px" ChartType="Composite" EmptyChartText="Data Not Available. Please call UltraChart.Data.DataBind() after setting valid Data.DataSource"
Version="8.2" Width="571px" DataSourceID="commpaper">
<CompositeChart>
<Series>
<igchartprop:NumericDataPoint Value="72088000" Label="09/03/2008">
</igchartprop:NumericDataPoint>
<PE ElementType="None"></PE>
<igchartprop:NumericDataPoint Value="91217000" Label="09/05/2008">
<igchartprop:NumericDataPoint Value="117245000" Label="09/09/2008">
<igchartprop:NumericDataPoint Value="42652000" Label="09/12/2008">
<igchartprop:NumericDataPoint Value="42881000" Label="09/17/2008">
<igchartprop:NumericDataPoint Value="63321000" Label="09/19/2008">
<igchartprop:NumericDataPoint Value="61100000" Label="09/25/2008">
<igchartprop:NumericDataPoint Value="111230000" Label="10/06/2008">
<igchartprop:NumericDataPoint Value="26877000" Label="10/10/2008">
<igchartprop:NumericDataPoint Value="35213000" Label="10/27/2008">
</igchartprop:numericseries>
<igchartprop:NumericDataPoint Value="2.205391" Label="09/03/2008">
<igchartprop:NumericDataPoint Value="2.211008667" Label="09/05/2008">
<igchartprop:NumericDataPoint Value="2.218386667" Label="09/09/2008">
<igchartprop:NumericDataPoint Value="2.184895" Label="09/12/2008">
<igchartprop:NumericDataPoint Value="2.205932" Label="09/17/2008">
<igchartprop:NumericDataPoint Value="2.195744" Label="09/19/2008">
<igchartprop:NumericDataPoint Value="2.2060665" Label="09/25/2008">
<igchartprop:NumericDataPoint Value="2.2230665" Label="10/06/2008">
<igchartprop:NumericDataPoint Value="2.186735" Label="10/10/2008">
<igchartprop:NumericDataPoint Value="2.258894" Label="10/27/2008">
</Series>
<ChartLayers>
<igchartprop:chartlayerappearance axisxkey="axis1" axisykey="axis2" chartareakey="area1"
<igchartprop:ColumnChartAppearance></igchartprop:ColumnChartAppearance>
</igchartprop:chartlayerappearance>
<igchartprop:chartlayerappearance axisxkey="axis4" axisykey="axis3" chartareakey="area1"
<igchartprop:LineChartAppearance Thickness="2" StartStyle="SquareAnchor" HighLightLines="True"></igchartprop:LineChartAppearance>
</ChartLayers>
<ChartAreas>
<igchartprop:AxisItem Key="axis1" OrientationType="X_Axis" DataType="String" SetLabelAxisType="GroupBySeries" TickmarkInterval="0">
<MinorGridLines Visible="False" DrawStyle="Dot" Color="LightGray" Thickness="1" AlphaLevel="255"></MinorGridLines>
<SeriesLabels HorizontalAlign="Center" VerticalAlign="Center" Orientation="Horizontal"></SeriesLabels>
</igchartprop:AxisItem>
<MajorGridLines Visible="True" DrawStyle="Dot" Color="Gainsboro" Thickness="1" AlphaLevel="255"></MajorGridLines>
<Labels ItemFormatString="<DATA_VALUE:00.##>" HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal">
</Labels>
<igchartprop:AxisItem Key="axis3" OrientationType="Y2_Axis" DataType="Numeric" SetLabelAxisType="GroupBySeries" TickmarkStyle="Smart" TickmarkInterval="0.02">
<Labels ItemFormatString="" HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal">
</Axes>
</igchartprop:chartarea>
</ChartAreas>
</CompositeChart>
<ColorModel AlphaLevel="150" ColorBegin="Pink" ColorEnd="DarkRed" ModelStyle="CustomLinear">
</ColorModel>
<Effects>
<igchartprop:gradienteffect></igchartprop:gradienteffect>
</Effects>
<Axis>
<PE ElementType="None" Fill="Cornsilk" />
<X LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="True">
<MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
Visible="True" />
<MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
Visible="False" />
<Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" ItemFormatString="<ITEM_LABEL>"
Orientation="VerticalLeftFacing" VerticalAlign="Center">
<SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" FormatString="" HorizontalAlign="Near"
<Layout Behavior="Auto">
</Layout>
</SeriesLabels>
</X>
<Y LineThickness="1" TickmarkInterval="0.1" TickmarkStyle="Smart" Visible="True">
<Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Far" ItemFormatString="<DATA_VALUE:00.##>"
Orientation="Horizontal" VerticalAlign="Center">
<SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" FormatString="" HorizontalAlign="Far"
</Y>
<Y2 LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
<Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" ItemFormatString="<DATA_VALUE:00.##>"
<SeriesLabels Font="Verdana, 7pt" FontColor="Gray" FormatString="" HorizontalAlign="Near"
</Y2>
<X2 LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
<Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Far" ItemFormatString="<ITEM_LABEL>"
<SeriesLabels Font="Verdana, 7pt" FontColor="Gray" FormatString="" HorizontalAlign="Far"
</X2>
<Z LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
<Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" ItemFormatString=""
<SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" Orientation="Horizontal"
VerticalAlign="Center">
</Z>
<Z2 LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
<Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" ItemFormatString=""
<SeriesLabels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" Orientation="Horizontal"
</Z2>
</Axis>
</igchart:UltraChart>
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT PAR_AMT, YIELD FROM "COMMPAPER""></asp:SqlDataSource>
</div>
</body>
</html>
I have a table with a string, a number, and another number to populate the composite graph. what's the code to bind the results from that query to my existing composite graph? thanks.
The Series DataSources must be set in code; there is no design-time support for these properties right now.