Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2003 - Null points sometimes still being drawn
Summary: Null points sometimes still being drawn
Status: RESOLVED FIXED
Alias: None
Product: Java TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: yeray alonso
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-27 05:09 EST by yeray alonso
Modified: 2018-02-27 05:09 EST (History)
0 users

See Also:
Chart Series: FastLine
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2018-02-27 05:09:43 EST
In the following example, if you resize the chart you'll see the null point appearing and disappearing:

  FastLine lineSeries = new FastLine(tChart1.getChart());
	    
  tChart1.getAspect().setView3D(false);
  tChart1.getLegend().setVisible(false);
  
  lineSeries.setTreatNulls(TreatNullsStyle.DONOTPAINT);

  tChart1.getAxes().getBottom().setMinMax(-1000, 1000);
  tChart1.getAxes().getLeft().setMinMax(-200, 2500);
        
  lineSeries.add(500);
  lineSeries.add(2000);
  lineSeries.add(0, Color.TRANSPARENT);    
  lineSeries.add(0);
  lineSeries.add(1);
  lineSeries.add(0);
  lineSeries.add(0);
  lineSeries.add(0);
  lineSeries.add(0);
  lineSeries.add(0);
  lineSeries.add(0);

Resproduced in Swing