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
860
Area Under Line Graphing
posted

I'm currently working in xamDataChart with several kinds of series.  Currently I'm trying to graph an area under LineSeries.  I'm using a RangeAreaSeries to get under the line, but there's a problem - it creates the area, but at the start of the category.  Not under the line where I intend!  I've tried using a custom RangeAreaSeries - per http://ko.infragistics.com/community/forums/p/78639/397717.aspx#397717 but it doesn't seem to work, as the first block is always at the beginning.  So I'm poking out here for some advice on how to get this thing to work!  Thanks!

Parents
  • 12875
    posted

    Hi Collin,

    I created a chart sample using multiple series, LineSeries and RangeAreaSeries that shared a common NumericYAxis. Then the RangeAreaSeries' HighMemberPath and the LineSeries' ValueMemberPath pointed to the same property. That caused the line to show at the top of the RangeArea. 

    I'll attach my sample so you can see what I did. It's a much more simple approach then the Custom RangeAreaSeries described in Krasimir's post but it may serve your purposes. 

    Please let me know if you have additional questions.

     

    WPF_XamDataChart_multiSeries0.zip
Reply Children