Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

How to use NullHandling.DontPlot with a Composite chart [dual Y axis line chart]

Last post 08-06-2008 11:37 by [Infragistics] David Negley. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-30-2008 5:25

    • VikasGc
    • Not Ranked
    • Joined on 07-30-2008
    • Points 20

    How to use NullHandling.DontPlot with a Composite chart [dual Y axis line chart]

    I have 12 month's data. it is sales against work data.

    So if i have data only for june, then the line starts from bottom in may and reaches the value in June and then drops down to july.

    This gives a feel as if the may and july are having 0 values. I would like to show a diamond in place of the whole line.

    Also if there are 2 months with data then these 2 months should be connected with a line and diamonds on both ends.

     

     Thanks for any help u can provide. Vikas

    • Post Points: 20
  • 08-06-2008 11:37 In reply to

    Re: How to use NullHandling.DontPlot with a Composite chart [dual Y axis line chart]

     LineChartAppearance lineApp = this.ultraChart1.CompositeChart.ChartLayers[0].ChartTypeAppearance as LineChartAppearance;
    lineApp.NullHandling = NullHandling.InterpolateSimple;


    this.ultraChart1.Data.EmptyStyle.EnablePoint = true;
    this.ultraChart1.Data.EmptyStyle.PointPE.ElementType = PaintElementType.SolidFill;
    this.ultraChart1.Data.EmptyStyle.PointPE.Fill = Color.Red;
    this.ultraChart1.Data.EmptyStyle.PointStyle.Icon = SymbolIcon.Diamond;

    this.ultraChart1.Data.EmptyStyle.EnablePE = true;
    this.ultraChart1.Data.EmptyStyle.PE.ElementType = PaintElementType.SolidFill;
    this.ultraChart1.Data.EmptyStyle.PE.FillOpacity = 0;
    this.ultraChart1.Data.EmptyStyle.PE.StrokeOpacity = 0;

    • Post Points: 5
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems