Problems with template files
Posted: Fri Apr 16, 2010 10:22 pm
I am using TChart 2009 now and have a list of things that are not saved/retrieved correctly from a template file. This is a VERY BIG problem for us, since all our users create graphs, save them into template files and then use them in their reports month after month and they expect them to look the same every time. So, here is the list of things that do not survive round-tripping (some of these I believe I already have reported in the past, but I will include them here anyway):
- All shadows (shapes and fonts) with negative offsets.
- All brushes (except for series marks) if I ever set Solid to false and then set it back to true.
- Series Marks:
- Setting Brush.Solid to false.
- Setting Brush.Gradient.Style.Visible to true.
- Setting ArrowHead type to something other than None.
- Pie charts
- Custom Radius.
- Edge styles (other than none)
- Mark positions, when auto mark position is false and there are a lot of small slices (BTW: in this case setting auto mark position to true does not help anyway - they will run into each other even if there is plenty of space to spread them up).
- Bar graphs
- Setting Brush.Gradient.Visible to true for anything, but GradientRectangle and Cylinder.
- Setting Brush.Gradient.Style.Visible to true.
- Setting Relative Gradient to true (and in many cases, it does not work at all, especially for horizontal bars).
- Depth Percent other than 100.
- Area graphs
- Setting Brush.Gradient.Style.Visible to true.
- Setting Relative Gradient to false.
- Setting Dark3D to false.
- Line, Points and LinePoints series - Setting Brush.Gradient.Visible to true.
- LinePoints series - Setting Draw3D to true.