Hi
I'm using the chart and using:
series.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.DoNotPaint
I have attached an image of how the graph is painted.
My problem is that the lines go to 0 where the null value is instead of just having a missing segment.
Another problem is that when i use down-sampling the null values do not show.
Steema.TeeChart.Styles.TreatNullsStyle
Steema.TeeChart.Styles.TreatNullsStyle
- Attachments
-
- graph.png (35.1 KiB) Viewed 3572 times
Re: Steema.TeeChart.Styles.TreatNullsStyle
Hello MeirS,
Using last version and next code, your problem doesn't occur for me:
Can you tell us if you can reproduce your problem using previous code? On the other hand, can you tell us which version of TeechartFor.Net are you using?
Thanks,
Using last version and next code, your problem doesn't occur for me:
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
Steema.TeeChart.Styles.FastLine fast1, fast2, fast3;
private void InitializeChart()
{
//tChart1
tChart1.Aspect.View3D = false;
fast1 = new FastLine(tChart1.Chart);
fast2 = new FastLine(tChart1.Chart);
fast3 = new FastLine(tChart1.Chart);
fast1.XValues.DateTime = true;
fast2.XValues.DateTime = true;
fast3.XValues.DateTime = true;
fast1.FillSampleValues();
fast2.FillSampleValues();
fast3.FillSampleValues();
fast1.LinePen.Width = 2;
fast2.LinePen.Width = 2;
fast3.LinePen.Width = 2;
fast1.SetNull(15);
fast2.SetNull(15);
fast3.SetNull(15);
fast1.TreatNulls = TreatNullsStyle.DoNotPaint;
fast2.TreatNulls = TreatNullsStyle.DoNotPaint;
fast3.TreatNulls = TreatNullsStyle.DoNotPaint;
}
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |