Modularizing Duplicate Code
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Modularizing Duplicate Code Expand / Collapse
Author
Message
Posted 2/6/2008 1:19:53 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/6/2008 1:16:11 PM
Posts: 6, Visits: 6
I'm making numerous tweaks to the charts and I have the MSArea2DChart doing what we need but now we need the MSLine2DChart to do it too. I'm going over code and things like drawing labels, vdivlines, etc looks to be line for line exact.

So, my request is to better modularize common functionality into utility classes or just put them in a common parent class. This way if people buy the source, like we did, someone poor soul, like me, doesn't have to make changes to every chart source file to fix the staggering logic. :-(

Thanks.

Post #4403
Posted 2/13/2008 8:23:21 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: Yesterday @ 8:20:12 AM
Posts: 2,194, Visits: 521
Hi John,

For each chart, the common functionality has been grouped in hierarchical parent structure (Chart > SingleYAxisChart > ...). However, in many cases there are similar functionalities having minute differences, in which case we've to port them to individual classes.


Thanks,
Pallav Nadhani
FusionCharts Team
Post #4479
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 6:47pm


Execution: 0.094.