Draw domain marker - need help - urgent

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
serhan
Posts: 10
Joined: Tue Jul 05, 2005 9:03 am

Draw domain marker - need help - urgent

Post by serhan » Mon Jan 30, 2006 11:12 am

Hi
I need to draw a domain marker like this:
Image

My question is: how can I do it in Java2D ?

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 Jan 30, 2006 6:09 pm

You might need to explain that some more...
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

serhan
Posts: 10
Joined: Tue Jul 05, 2005 9:03 am

Doen - thanks

Post by serhan » Tue Jan 31, 2006 9:07 am

Well
solved - but I will explain how....

I needed to draw a domain marker like the image above, the first line is a value in the domain and the second line is another value, both of the values are for an object which has begin time and end time, so what i did is override the drawDomainMarker method and change it to draw this, a line range in the top contained in a rectangle (see the attached image),

Thanks any way , this form is very usefull to me

Image

Locked