A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
Doragorn
- Posts: 4
- Joined: Thu Dec 11, 2008 6:00 pm
Post
by Doragorn » Thu Dec 11, 2008 6:08 pm
Hi all,
Here is my problem:
I have a mono series chart displayed as an histogram. I try to add a category marker to the plot but it doesn't appear.
The only thing I can do is to add a category marker to the whole series.
Code: Select all
Plot.addDomainMarker(marker, Layer.Background);
the Variable marker si create using:
Code: Select all
marker = new CategoryMarker("ValueName");
Thanks in advance.
-
Doragorn
- Posts: 4
- Joined: Thu Dec 11, 2008 6:00 pm
Post
by Doragorn » Fri Dec 12, 2008 6:12 pm
Does anyone have any idea on the problem ?
If you want I can try to do a little example explaining the issue.
-
david.gilbert
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
-
Contact:
Post
by david.gilbert » Mon Dec 15, 2008 1:18 pm
I'm confused by your description, perhaps because what you are looking for isn't what we call a "Category Marker" in JFreeChart. If you could try explaining some more about what you do want, that would help...
-
Doragorn
- Posts: 4
- Joined: Thu Dec 11, 2008 6:00 pm
Post
by Doragorn » Wed Dec 17, 2008 10:41 am
Here is a screenshot of what I have :
I can add a category marker on the series but not on "Eur", "SEK"
I try to add a marker using:
Code: Select all
Plot.addDomainMarker(new CategoryMarker("SEK", Layer.Background);
But it doesn't appear.