It's not a secret anymore!
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 Customer Requirements for Developers this week in the Jobs Discussion 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: 1873
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: 1873
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: UML of Chart
 
It's not a secret anymore!