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
645
New Sysmbol Icon for each line graph
posted

Hi,

In the graph I have mulitiple line graph. I want each line have different symoble

Example: line 1 I want symbol circle for all the point , line 2 line 1 I want symbol square for all the point  and so on

ColumnLayer.ChartType = Infragistics.UltraChart.Shared.Styles.

ChartType.LineChart;

NumericTimeSeries serievalues = new NumericTimeSeries();

serievalues.Data.DataSource = objdtpsa;

serievaluesData.LabelColumn =

"CollectionDate";

serievalues.Data.TimeValueColumn =

"CollectionDate";

serievalues.Data.ValueColumn =

"Value";

serievalues.PEs.Add(

new PaintElement(System.Drawing.Color.Blue));

 

this.webchartPtData.CompositeChart.Series.Add(seriepsavalues);

this.webchartPtData.CompositeChart.Series.Add(seriepsavalues);

 

 

Where do I set the symbol.

Thanks

  • 26458
    Offline posted

    You can set icons on your line layer, like this:

    myLineLayer.ChartType = ChartType.LineChart;

    LineChartAppearance appearance = new LineChartAppearance();
    LineAppearance app1 = new LineAppearance();
    app1.IconAppearance.Icon = SymbolIcon.Diamond;
    LineAppearance app2 = new LineAppearance();
    app1.IconAppearance.Icon = SymbolIcon.Circle;
    appearance.LineAppearances.Add(app1);
    appearance.LineAppearances.Add(app2);

    myLineLayer.ChartTypeAppearance = appearance;

  • 645
    posted

    Please help.

    Thanks