Hi Oliver,
Thanks a lot for your valuable suggestion. We will consider this in future versions of ChartDirector.
We are aware that the SVG created by ChartDirector is not the shortest. In many case, it is because in the "general case", the longer form may be necessary.
For example, in ChartDirector a "path" can have multiple line styles and colors (by using xZoneColor, yZoneColor, etc.). To implement this in SVG, we use the <path> <use> combination. In practice, most of the paths have one line style and color, and can be implemented using just one <path> tag. Since the <path> <use> implementation has already been developed and it can handle the "general case", we have not developed another implementation optimized for the special case of "single color - single style".
Regards
Peter Kwan |