Using TChart in Eclipse
Posted: Fri May 11, 2007 7:30 am
Hello NarcĂs,
we ran into some trouble with TeeChart in Eclipse. The TChart is added to the project using the Visual Editor. If it is afterwards configured by explicitly writing the appropriate programming statements, everything works fine. Except, that the programming is time consuming.
The problem occurs, if the ChartEditor is used. It can be called in the Visual Editor ('Customize Java Bean' in the context menu) and starts OK. The TChart is then configured using the ChartEditor. The preview of the chart in the Visual Editor reflects the changed configuration. But, if the program is run, only an empty chart appears. Adding a Series or changing properties which do not appear in the Properties panel of the Visual Editor have no effect on the program (except, that the preview is updated).
How should the ChartEditor be properly used?
Best regards,
Thomas
we ran into some trouble with TeeChart in Eclipse. The TChart is added to the project using the Visual Editor. If it is afterwards configured by explicitly writing the appropriate programming statements, everything works fine. Except, that the programming is time consuming.
The problem occurs, if the ChartEditor is used. It can be called in the Visual Editor ('Customize Java Bean' in the context menu) and starts OK. The TChart is then configured using the ChartEditor. The preview of the chart in the Visual Editor reflects the changed configuration. But, if the program is run, only an empty chart appears. Adding a Series or changing properties which do not appear in the Properties panel of the Visual Editor have no effect on the program (except, that the preview is updated).
How should the ChartEditor be properly used?
Best regards,
Thomas