Wrong comment above. Sorry. The correct comment is:
the "if (item > 0) {" means that on the first point nothing is drawn. I should have an else I presume.
PS: any change of moving jfreechart to git and mvn? I 'd fork, build, fix and supply a pull request (= patch).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
XYStepRenderer draws steps (vertical and horizontal lines) between datapoints. If only one datapoint is availble, no steps can be drawn.
What would you expect to be drawn? A single dot?
I'll close this entry for now. If you still fee it to be a bug, please reopen it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, I 'd expect it to show a single dot, not just don't show that one data point (effectively saying there is no data, while there is). How do I reopen this ticket?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's clear what's going on though: drawItem(...) never does getItemShapeVisible() or any shape drawing code like it's parent.
Wrong comment above. Sorry. The correct comment is:
the "if (item > 0) {" means that on the first point nothing is drawn. I should have an else I presume.
PS: any change of moving jfreechart to git and mvn? I 'd fork, build, fix and supply a pull request (= patch).
XYStepRenderer draws steps (vertical and horizontal lines) between datapoints. If only one datapoint is availble, no steps can be drawn.
What would you expect to be drawn? A single dot?
I'll close this entry for now. If you still fee it to be a bug, please reopen it.
hi Martin,
Yes, I 'd expect it to show a single dot, not just don't show that one data point (effectively saying there is no data, while there is). How do I reopen this ticket?
Please go to https://github.com/jfree/jfreechart/issues and create a new issue there.
Also provide a link to this entry.
PS: I'm currently not actively developing JFreeChart but there are other developers around.