Hi,
I'm studying pattern and i want implement a class that build Charts.
In my case, charts could be made by legend, a description and a graphical representation(bar chart, line chart, pie chart). But I could create a chart without a legend, or without a description. So i have some variations to create the chart.
What pattern is better in these case ? I try the builder pattern but i cant make a concret class for all the combination that i have.
Sorry for the bad english.
I need some help, please.
Thanks,
Filipe