I reported it as #758:
- Place a chart on a TFrame
- Add a series
- Goto Tools -> Add -> Axis -> Color Band
- Add the frame on a form
TeeChart creates a TColorLineTool that has no name. Therefore, a TColorBandTool gets written to the DFM like this:
Code: Select all
object Chart1: TChart
[...]
object ChartTool1: TColorBandTool <-- It has a name. All is well.
Color = 8388863
EndValue = 8.000000000000000000
ResizeEnd = True
ResizeStart = True
StartValue = 6.000000000000000000
Transparency = 12
AxisID = 0
object TColorLineTool <-- THIS IS BAD
DragRepaint = True
Value = 6.000000000000000000
AxisID = 0
object TAnnotationTool <-- THIS IS BAD
Shape.Alignment = taCenter
Shape.Shadow.Visible = False
Shape.TextAlignment = taCenter
TextAlignment = taCenter
end
end
object TColorLineTool <-- THIS IS BAD
DragRepaint = True
Value = 8.000000000000000000
AxisID = 0
object TAnnotationTool
Shape.Alignment = taCenter
Shape.Shadow.Visible = False
Shape.TextAlignment = taCenter
TextAlignment = taCenter
end
end
end
end
My question is: Am I doing something terribly wrong or can you folks reproduce the bug report #758?
Many thanks for your time.