Hi,
I have a requirement to somehow break the line if a datapoint is marked as invalid. There are 2 questions:
- How to mark it, i.e. can I use a special Y-value (null, infinite, ..) to use?
- How to draw it?
a) if no line at all should be drawn between 2 valid data points when an invalid one is between them?
b) if a dashewd line should be drawn in this case?
/Efim
About the dashed line, you can try using:
<igChart:XamChart>
<igChart:XamChart.Resources>
<Style TargetType="{x:Type Line}">
<Setter Property="StrokeDashArray" Value="2, 1" />
</Style>
</igChart:XamChart.Resources>
<igChart:XamChart.Series>
...
unfortunately the answer is no to both questions.
Can I set a marker to a NullValue-data point?
Can I apply a DataTemplate to data points selectively?
Setting NullValue = true on the DataPoint should create a break in the line as you've described in point a.
unfortunately there is no way to draw a dashed line at this time. you can submit a feature request here: http://devcenter.infragistics.com/protected/requestfeature.aspx