Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 11 total
Thread How to display simple charts?
Fri, Jul 1 2016 4:45 AMPermanent Link

Andreas Blenk

Hi,

is there a way to display simple charts (Bars, Lines, Pie,...) with EWB? I know there are many JavaScript libraries out there. Is it possible to integrate one of them in EWB? Does anyone has some experience with this topic?

Another way would be to draw the charts by my self. But if it is possible i would prefer to use a common lib. They also offer to interact with the chart.

Any ideas?

Thanks,
Andreas
--

Andreas Blenk
Fri, Jul 1 2016 5:24 AMPermanent Link

Matthew Jones

Andreas Blenk wrote:

> is there a way to display simple charts (Bars, Lines, Pie,...) with
> EWB? I know there are many JavaScript libraries out there. Is it
> possible to integrate one of them in EWB? Does anyone has some
> experience with this topic?
>
> Another way would be to draw the charts by my self. But if it is
> possible i would prefer to use a common lib. They also offer to
> interact with the chart.

The simple answer is no, and yes. 8-)

There is no chart component, but there are two tools you can use. The
TPaint component can do a lot of things, and there is a "Paint" example
project. You can go mad with that, but adding interaction would require
some additional programming, where you identify the regions that are
interactive etc.

There is also the plain "compound" component, where you take a
TBasicPanel and put on other panels to make the bars etc. Colour them,
add events, add animations, all quite whizzy and not a lot of work. Not
so good for pie charts perhaps...

Finally, you could write an actual component to do this. It isn't so
hard, and I reckon there will be a sensible market in selling them,
though perhaps not hugely profitable. This would give you best control.

--

Matthew Jones
Fri, Jul 1 2016 3:36 PMPermanent Link

Trinione

Andreas Blenk wrote:

Hi,

<< is there a way to display simple charts (Bars, Lines, Pie,...) with EWB? I know there are many JavaScript libraries out there. Is it possible to integrate one of them in EWB? Does anyone has some experience with this topic? >>

By chance I revisited this earlier today. After several hours of research I decided it is worth an effort to create an interface to a SIMPLE powerful and popular chart library. I am down to 2 or 3 in my shortlist. First off would be Chartjs.org as they have just 8 chart types each of which can be animated.

*** This could be a community effort if enough readers are interested. ***

<< Another way would be to draw the charts by my self. But if it is possible i would prefer to use a common lib. They also offer to interact with the chart. >>

You can use the chart lib as is and host it in a TBrowser component.


<< Any ideas?  >>

For what I required initially I used the ProgressBar rather than a cuter looking Doughnut Chart. The users were just as impressed! SmileAs Matthew stated, you could get lots done with the BasicPanel component also. Apply some animation, gradient fill, etc.

Also, using TCanvas you can use HTML5 Canvas charting examples to get it done. Animation et tal.
Fri, Jul 1 2016 3:45 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Andreas,

<< is there a way to display simple charts (Bars, Lines, Pie,...) with EWB? I know there are many JavaScript libraries out there. Is it possible to integrate one of them in EWB? Does anyone has some experience with this topic?  >>

We will be integrating a charting library into EWB soon after 2.05 is out.  It's next on the list along with some other control/component improvements.

Tim Young
Elevate Software
www.elevatesoft.com
Sat, Jul 2 2016 5:35 AMPermanent Link

Godfrey

Ultimatesoft

Tim Young [Elevate Software] wrote

We will be integrating a charting library into EWB soon after 2.05 is out.  It's next on the list along with some other control/component improvements.

Tim Young
Elevate Software
www.elevatesoft.com

This would be great.  EWB needs some more components. I believe this will attract new customers.   Adding a list view and other components for mobiles will also help dispel perception that EWB is only for desktop.  EWB is powerful but not all customers have time to develop own components and would prefer to use pre-made ones.  More sales = more money for Tim to further improve product.  
Mon, Jul 4 2016 2:33 AMPermanent Link

Andreas Blenk

Tim Young [Elevate Software] wrote:
We will be integrating a charting library into EWB soon after 2.05 is out.  It's next on the list along with some other control/component improvements.


This would be great! Thanks for all your answers!
--

Andreas Blenk
Tue, Jul 5 2016 7:45 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Godfrey,

<< This would be great.  EWB needs some more components. I believe this will attract new customers.   Adding a list view and other components for mobiles will also help dispel perception that EWB is only for desktop.  EWB is powerful but not all customers have time to develop own components and would prefer to use pre-made ones.  More sales = more money for Tim to further improve product. >>

The initial purpose of EWB 2 was to make it so that customers or 3rd parties could write components/controls and wouldn't have to wait on me to do everything.  That didn't seem to pan out, unfortunately, so we're back to where we were...

Also, re: the mobile/desktop thing - what "mobile" components are you looking for that aren't present ?  You keep saying that EWB is missing a list view, so I assume that what you want is just a series of panels with sub-controls and not a row/column-oriented grid.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Jul 5 2016 1:25 PMPermanent Link

Trinione

Tim Young [Elevate Software] wrote:

<< The initial purpose of EWB 2 was to make it so that customers or 3rd parties could write components/controls and wouldn't have to wait on me to do everything.  That didn't seem to pan out, unfortunately, so we're back to where we were... >>

Tim:
I couldn't help but laugh at the last sentence as I thought - 'If it panned out for me, it shall for others as well.'

No, '...we're not back to where we were' at all.

What EWB needs is an area where we can submit components available for free and/or sale. I am sure many would be interested in sharing/selling/buying code snippets and components that would save them tons and time and provide added functionality.

Coming to think of it, this area can be quickly made with EWB ! SmileA version 0.01 to get it going.
Wed, Jul 6 2016 3:20 AMPermanent Link

Godfrey

Ultimatesoft

<<Tim Young [Elevate Software] wrote:

<<Also, re: the mobile/desktop thing - what "mobile" components are you looking for that aren't present ?  You keep saying that EWB is missing a list view, so I assume that what you want is just a series of panels with sub-controls and not a row/column-oriented grid.>>

That sounds ok and a built in arrow.  I am just thinking of first impressions of new potential customers.  They download the trial product and have no experience in making there own components.  IF EWB had a few components that specifically target mobiles(listview, slider, switches), I think it would be good for sales.

Godfrey
Wed, Jul 6 2016 7:35 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< What EWB needs is an area where we can submit components available for free and/or sale. >>

For now, you can use this support forum:

http://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_components

Sale of components is a little harder at this time, due to the source-only policy in EWB's compiler.

Tim Young
Elevate Software
www.elevatesoft.com
Page 1 of 2Next Page
Jump to Page:  1 2
Image