ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Using the ChartDirector and JUCE Gui program
Posted by Per-Erik Jansson on Apr-29-2019 02:20
I have been using ChartDirector together with MFC  but now I want to convert my program to modern C++ and I have been considering new GUI programs.

I noticed the Support for the Qt in the documentation but I am more interested in another newer system called JUCE that is also built on previous Qt versions.

JUCE have many support for Graphics and is using Modern C++ approach.

Do you know any experience of using JUCE together with ChartDirector. I am sure it is possible but it would be great with and example on how to do this similar as the

QtDemo Viewportcontroldemo.

Best regards

Per-Erik Jansson

Would be great to convert a lot of code from previous MFC to C++ and upgrading to latest version of ChartDirector with support for Qt. I have been using ChartDirector 5.6 and will be happy to upgrade to new version if it works for JUCE.

  Re: Using the ChartDirector and JUCE Gui program
Posted by Peter Kwan on Apr-29-2019 03:50
Hi Per-Erik.

Unluckily, we have never used JUCE before and are not familiar with it.

In C++, there are many GUI frameworks, and we are unable to provide sample code for all of them. What we do is we provide the source code for the GUI part of ChartDirector for the MFC and Qt framework. We hope people using other GUI frameworks can port those code to those frameworks. As an example, one of our customers have ported the ChartDirector GUI to wxWidgets.

For Qt, the GUI part of ChartDirector is in qchartviewer.cpp / qchartviewer.h. For MFC, the GUI part is in ChartViewer.cpp / ChartViewer.h. All these files are included in the sample code that comes with ChartDirector.

For your case, if you are familiar with MFC or Qt, and also familiar with JUCE, you may consider to port the MFC or Qt code to JUCE. It should be easy to port the part for displaying the chart, support clickable hot spots and tooltips and programmable track cursors. The "zooming and scrolling" support takes more work to port. The ViewPortControl is the more complicated part.

Peter Kwan