|
Missing Chart::MouseUsage* symbols |
Posted by Mat on Jan-18-2018 16:47 |
|
Hi,
I'm trying to use the C++ API of ChartDirector with wxWidgets on Windows. I'm trying to write a wx-ChartViewer class using the MFC and Qt examples, but the compiler can't find the Chart::MouseUsage* values. I looked through the Chart namespace in "chartdir.h" (which I #included) but there seem to be no Mouse* symbols defined. Where are these symbols defined?
Regards,
Mat |
Re: Missing Chart::MouseUsage* symbols |
Posted by Peter Kwan on Jan-19-2018 02:26 |
|
Hi Mat,
It is defined in QChartViewer.h and also in CChartViewer.h. (We assume a code file would not include both QChartViewer.h and CChartViewer.h at the same time, so we duplicate the definition in these two files.)
Hope this can help.
Regards
Peter Kwan |
Re: Missing Chart::MouseUsage* symbols |
Posted by Mat on Jan-23-2018 21:08 |
|
Hi Peter,
thanks for your help! This information solved the problem. |
Re: Missing Chart::MouseUsage* symbols |
Posted by Ulrich Telle on May-08-2018 21:30 |
|
Mat,
Mat wrote:
I'm trying to use the C++ API of ChartDirector with wxWidgets on Windows. [...]
I also intend to use ChartDirector in my wxWidgets applications. From your post I get the impression that you managed to implement a viewer class for wxWidgets. Would you be willing to share your code?
Regards,
Ulrich |
|