This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes UML of Chart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "UML of Chart" Watch "UML of Chart" New topic
Author

UML of Chart

Mon Hom
Greenhorn

Joined: Oct 13, 2004
Posts: 2
Could you have example about class diagram of charts ( ex. bar chart)?
thanks in advance
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
Hi Mon

What are your thoughts about the design?

Is it some kind of homework?

Thanks
Maulin
Mon Hom
Greenhorn

Joined: Oct 13, 2004
Posts: 2
Hi Maulin,
i've classes bar chart,line chart are inherited from graph.i've method draw for each chart but i can't find attribute for each chart.have you any idea?
thanks in advance
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
Hi Mon

I guess just list some properties of the charts you have. Those properties will become attribute of the charts.

e.g. Bar chart needs to have, scale and unit on X and Y axis etc

Don't worry about UML right now. Just list all properties each individual chart can have and then UML is easy.

Regards
Maulin
 
Don't get me started about those stupid light bulbs.
 
subject: UML of Chart
 
Similar Threads
how this uotput comes?
cewolf
Organisational Chart API
Buying a router
Item Labels are Not Rotating in My jFreeChart