Ok, I hadn't understood that you want a non-linear Axis. I don't understand how that relates to the 'Missing' label you requested to see.
..that would require a reserved space for the label with no point.
ie. your comment:
To reproduce the Chart in your image: TeeChart uses a linear scale for axes. You'll need to add your own labels to achieve what you want.I noticed that when I try to add "missing" in between some values then it is not showing up in the chart.
eg. no value at 3 or 7
Code: Select all
java.util.Random y = new java.util.Random();
for (int i = 0; i < 10; i++) {
if ((i != 3) && (i!=7))
line1.add(y.nextDouble(), " " + i);
Regards,
Marc