Null value bug
Posted: Sun Oct 20, 2013 3:02 am
1. I want to know how to add "null" value to a Bar.
Please refer to the attchment, which is waht i want.
There is an empty value among a value list.e.g.,[2,4,3, ,44,55]
How can i create a bar based on this value list?
In TeeChart, I try the following code, but it fails..
Bar series = new bar(tChart2.getChart());
series.add(2);
series.add(4);
series.add(3);
series.add(null); //this is impossible
series.add(44);
series.add(55);
2. by the teechart example,
I know that i can use the following code to do this:
series.setNull(3);//index 3
Are there any other method to do this task?
What's more, in the example: "Chart Styles/ Standard /Line(Strip)/ Line/Horizontal line TreatNulls"
When i choose "Don't paint", the 12th is not painted, but the 13th still is painted.
I think both of them should not be painted.
Thanks
Please refer to the attchment, which is waht i want.
There is an empty value among a value list.e.g.,[2,4,3, ,44,55]
How can i create a bar based on this value list?
In TeeChart, I try the following code, but it fails..
Bar series = new bar(tChart2.getChart());
series.add(2);
series.add(4);
series.add(3);
series.add(null); //this is impossible
series.add(44);
series.add(55);
2. by the teechart example,
I know that i can use the following code to do this:
series.setNull(3);//index 3
Are there any other method to do this task?
What's more, in the example: "Chart Styles/ Standard /Line(Strip)/ Line/Horizontal line TreatNulls"
When i choose "Don't paint", the 12th is not painted, but the 13th still is painted.
I think both of them should not be painted.
Thanks