Hi Milviopoulos,
I have never used "embarcadero c++ builder" before and so I do not know the exact steps. However, ChartDirector for C++ is known to work with virtually all C++ compilers, include Microsoft Visual Studio, gcc, Solaris cc, Borland C++, ... So I expect ChartDirector to work with your compiler as well.
Note that to develop a charting application, there are some common parts:
(a) To create the chart: To do this, you just need to include the ChartDirector header file "chartdir.h", then you can write charting code to create the chart. You can compile your code and link it with the "chartdir51.lib" library, and run it with the "chartdir51.dll" included in your executable's search path.
(b) If you are writing an interactive desktop application and would need to display the chart on the screen, you can simply display the chart image (which is a standard based image - BMP/DIB, PNG, JPEG in memory or as a file) on the screen. Most GUI framework can display an image on the screen.
(c) If you need to handle user interactions with the chart (such as tooltips, clickable hot spots, programmable track cursors, drag to zoom/scroll), you would need to write additional code to handle the mouse events. The exact code depends on your GUI framework. We have included examples for the MFC and Qt GUI framework, as the CChartViewer and QChartViewer class in source code format. If you are using other GUI frameworks, you would need to port the MFC CChartViewer or QT QChartViewer to the GUI framework you are using.
So in summary, it should be easy to create a chart and display a chart with any GUI framework. However, for user interaction with charts, if the GUI framework is not MFC or Qt, you would need to spend some time to port the MFC or Qt code to the GUI framework.
Regards
Peter Kwan |