[Gambas-user] Charts in Gambas: alternatives to "Chart"

Fabien Bodard gambas.fr at ...626...
Wed Oct 16 16:22:25 CEST 2013


Well, so after reading and reading again about gnuplot, and MathGL (that is
a good lib too), i've made my own opinion. What we need is nor the beauty
of a spreadsheet tool, nor the power of a scientist renderer. I think there
is a place for a simple tool in gambas that allow to draw basic 1D, 2D
graph. This tool will never have the power of a gnuPlot Tool on rendering
3D Matrix Array. But it can have more style options for a better render on
apps and reports.

Then I imagin a dynamic tool that allow user interraction too... why not
allow a user to modify the data directly from the chart widget ?... Why not
allow the chart to query the data on real time ? (via an event )

the chart renderer will have two level a drawing class and a viewer... Like
gb.map.

So it can be used then in report, or every where it can be drawed every
where.

The first gb.chart was my first component ... and yes i have to rewritte
all, but with my new skills i hope to provide you a better tool.


2013/10/15 richard terry <rterry at ...1823...>

> As I've previously mentioned we use gnuPlot with great success, shell
> out the data and get back the path to the png image generated to display
> where you want.
>
> regards
>
> richard
>
> On 14/10/13 17:30, Randall Morgan wrote:
> > NO, I allow python to open the chart window so it floats above the Gambas
> > application. Same with Octave.
> >
> >
> > On Sun, Oct 13, 2013 at 11:21 PM, Alberto Caballero <
> alberto.kavan at ...626...
> >> wrote:
> >> Hi Randall,
> >>
> >> Thanks for your advice. Do you then integrate the Python chart into the
> >> Gambas application? How do you draw it inside a DrawingArea?
> >>
> >> Regards,
> >>
> >> Alberto
> >>
> >>
> >> 2013/10/13 Randall Morgan <rmorgan62 at ...626...>
> >>
> >>> I have been successful in using both Python and Octave for charting.
> >>> Basically, you write out your data into a file and then write a python
> or
> >>> octave script and call it passing your data file. One note, use full
> >> paths
> >>> as Gambas will prefix and relative path with the Gambas application's
> >>> directory.
> >>>
> >>> There was some recent discussion on rebuilding the charting module or
> >>> replacing it with something that would work more like NumPy or MatLab
> >>> charts. I am hoping this will happen soon as I too have a great need
> for
> >>> good charting tools in Gambas.
> >>>
> >>>
> >>> On Sun, Oct 13, 2013 at 2:00 AM, Alberto Caballero
> >>> <alberto.kavan at ...626...>wrote:
> >>>
> >>>> Hi all,
> >>>>
> >>>> I am having many problems for showing several charts within my
> >>> application
> >>>> using Gambas "Chart" object. It seems that there is some shared memory
> >>>> between all Chart objects defined.
> >>>>
> >>>> I was wondering if there is any other alternative for showing lines
> and
> >>> bar
> >>>> charts in Gambas. Any other library or component?
> >>>>
> >>>> Thanks and regards.
> >>>>
> >>>> Alberto
> >>>>
> >>>>
> >>
> ------------------------------------------------------------------------------
> >>>> October Webinars: Code for Performance
> >>>> Free Intel webinars can help you accelerate application performance.
> >>>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the
> >> most
> >>>> from
> >>>> the latest Intel processors and coprocessors. See abstracts and
> >> register
> >>>>
> >>
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> >>>> _______________________________________________
> >>>> Gambas-user mailing list
> >>>> Gambas-user at lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>>>
> >>>
> >>>
> >>> --
> >>> If you ask me if it can be done. The answer is YES, it can always be
> >> done.
> >>> The correct questions however are... What will it cost, and how long
> will
> >>> it take?
> >>>
> >>>
> >>
> ------------------------------------------------------------------------------
> >>> October Webinars: Code for Performance
> >>> Free Intel webinars can help you accelerate application performance.
> >>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the
> most
> >>> from
> >>> the latest Intel processors and coprocessors. See abstracts and
> register
> >>>
> >>>
> >>
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> >>> _______________________________________________
> >>> Gambas-user mailing list
> >>> Gambas-user at lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>>
> >>
> ------------------------------------------------------------------------------
> >> October Webinars: Code for Performance
> >> Free Intel webinars can help you accelerate application performance.
> >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> >> from
> >> the latest Intel processors and coprocessors. See abstracts and
> register >
> >>
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> >> _______________________________________________
> >> Gambas-user mailing list
> >> Gambas-user at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >
> >
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard



More information about the User mailing list