Page 1 of 1

CGJQMPlot getting started

PostPosted: 08 Sep 2017 02:00
by DelphiStudent
I had sucess on the implementation of CGJQPlot component on a intraweb project.
it was not easy, the only help was the main demo.

In this case, I am trying to show some chart son a MOBILE PROJECT.
so , I am using IWCGJQMPlot. but it does not work as the standard IWCGJQPlot component.

there's no documentation or demo about this Mobile Plot.
onto forum there is some demo, but is just for Pie series.

And I need a linear series, and I don't know where to start, how to setup CGJQMPlot.

mi data is [[[''TestValue1'', 12],[''TestValue2'', 9], [''TestValue3'', 14],[''TestValue4'', 16], [''TestValue5'', 7],[''TestValue6'', 9]]]

can you help me?

I cannot see the points (12, 9, 14, 16, 7, 9) on the screen. the plot just shows empty.

Re: CGJQMPlot getting started

PostPosted: 08 Sep 2017 10:04
by Jorge Sousa
Hi

If you right click the component in the IDE at designtime, and select ^Plugin Documentation", it will lead you to this page

http://www.jqplot.com/docs/files/jqPlotOptions-txt.html

We have all it implemented in delphi fashion.

As a reference you can also use this

https://www.cgdevtools.com/docs/_html/IWCGJQPlotCharts.TIWCGJQCustomPlot.htm

Please send us a test case

Best regards

Re: CGJQMPlot getting started

PostPosted: 14 Sep 2017 06:35
by DelphiStudent
thanks for your reply

your first link http://www.jqplot.com/docs/files/jqPlotOptions-txt.html says (in the first line)
**This document is out of date.

and your second link https://www.cgdevtools.com/docs/_html/I ... omPlot.htm
for reference, is a joke, "property xxxxxxxxx : represents the xxxxxxxxxx property"

please , think on new users, where can someone get start to learn about to use IWCGJQMPlot.

IWCGJQMPlot is not as basic as IWCGJQMEdit,
can somebody explain to us how to make it work.

maybe a demo provided for you. different for a pie series,
using data en values.

Re: CGJQMPlot getting started

PostPosted: 14 Sep 2017 11:02
by Jorge Sousa
Hi

You're right, plugin docx is outdated and we didn't fill the documentation in the source code so that can be imported to our online doc.

Did you check the demos at your documents folder\cgdevtools?

in JQueryDemoV3_IW14.dpr there is a frame: CGJQPlot.pas, with many examples of using the JQPlot.

Re: CGJQMPlot getting started

PostPosted: 24 Oct 2017 03:31
by DelphiStudent
Hello.

That's the idea abouth this thread, to find demos or documentation about PLOt on Mobile.

yes, you suggest to see JQueryDemoV3_IW14.dpr Demo, but the demo for desktop is not the same for mobile.
and we are inthe mobile section, and I am asking about CGJQMPlot.

the only thing that i found is that theses components CGJQPlot does not works equal to CGJQMPlot.

I tried to check the mobile demo to Plot, but I can not understand how to use it.
and that's the motivation about this thread

so, what can we (new users) can do?

Re: CGJQMPlot getting started

PostPosted: 24 Oct 2017 09:38
by Alexander Bulei
Hi DelphiStudent,

The CGJQMPlot component is decends from CGJQPlot (desktop) with some tweaks for mobile devices.

So, the usage the exactly same as in desktop (demo).

Best Regards.