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!
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.
Hello Marianne, that solution works if the intent is that the area under the line is to extend the entire length of the chart. That is not the case here. As an example, if we had a line series with data points from 1 to 100, the area under the line plotted would only be from, say, 26 to 50. This would leave blanks before and after. That is what I am trying to accomplish. I apologize if I wasn't clear enough.