[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.javascript

Horizontal Bar Graphs using ES / JS ?

Mel Smith

2/8/2015 8:19:00 PM

Hi:

I'm about to go exploring (i.e. googling) for ES / JS librairies that
provide Horizontal Bar Graph capabilities.

I would hope to acquire a basic package at a reasonable price ( 'free'
would be nice too) that allows me to build graphs using my own limited
knowledge of ES without relying on other dependencies

I haven't used the <canvas>...</canvas> element of HTML5 yet, but am
reading feverishly, and trying out online examples.

Suggestions appreciated.

Thank you.

-Mel Smith


8 Answers

JJ

2/8/2015 8:53:00 PM

0

On Sun, 8 Feb 2015 13:19:16 -0700, Mel Smith wrote:
> Hi:
>
> I'm about to go exploring (i.e. googling) for ES / JS librairies that
> provide Horizontal Bar Graph capabilities.
>
> I would hope to acquire a basic package at a reasonable price ( 'free'
> would be nice too) that allows me to build graphs using my own limited
> knowledge of ES without relying on other dependencies
>
> I haven't used the <canvas>...</canvas> element of HTML5 yet, but am
> reading feverishly, and trying out online examples.
>
> Suggestions appreciated.
>
> Thank you.
>
> -Mel Smith

MDN is a good place for proper learning JavaScript, DOM, and other web
features.

Ed Jay

2/8/2015 11:49:00 PM

0

On Sun, 8 Feb 2015 13:19:16 -0700, "Mel Smith" <syntel@cox.net> wrote:

>Hi:
>
> I'm about to go exploring (i.e. googling) for ES / JS librairies that
>provide Horizontal Bar Graph capabilities.
>
> I would hope to acquire a basic package at a reasonable price ( 'free'
>would be nice too) that allows me to build graphs using my own limited
>knowledge of ES without relying on other dependencies
>
> I haven't used the <canvas>...</canvas> element of HTML5 yet, but am
>reading feverishly, and trying out online examples.
>
> Suggestions appreciated.

A rudimentary knowledge of canvas and it's a relatively trivial task.

Basically, you'll be drawing filed rectangles whose dimensions
represent the magnitude of the graph.
--
Ed Jay (remove 'M' to respond by email)

Mel Smith

2/9/2015 12:25:00 AM

0

Hi JJ and Ed:

I've been 'googling', and I've had a look at "Google Charts". The package &
API looks good.and yet it seems quite simple to set up. I'll be trying that
for now -- unless something better comes along.

Thanks for your suggestions.

-Mel Smith


Bjoern Hoehrmann

2/9/2015 7:48:00 AM

0

* Mel Smith wrote in comp.lang.javascript:
> I'm about to go exploring (i.e. googling) for ES / JS librairies that
>provide Horizontal Bar Graph capabilities.
>
> I would hope to acquire a basic package at a reasonable price ( 'free'
>would be nice too) that allows me to build graphs using my own limited
>knowledge of ES without relying on other dependencies

https://developers.google.com/chart/interactive/docs/galler...
might be a suitable solution for you.
--
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.ho...
D-10243 Berlin · PGP Pub. KeyID: 0xA4357E78 · http://www.bjoer...
Available for hire in Berlin (early 2015) · http://www.webs...

JR

2/9/2015 2:22:00 PM

0

On 08/02/2015 18:19, Mel Smith wrote:
> Hi:
>
> I'm about to go exploring (i.e. googling) for ES / JS librairies that
> provide Horizontal Bar Graph capabilities.
>
> I would hope to acquire a basic package at a reasonable price ( 'free'
> would be nice too) that allows me to build graphs using my own limited
> knowledge of ES without relying on other dependencies
>
> I haven't used the <canvas>...</canvas> element of HTML5 yet, but am
> reading feverishly, and trying out online examples.
>
> Suggestions appreciated.

Highcharts is very good, but there are many others (free and opensource):

The 15 Best JavaScript Charting Libraries
<http://www.sitepoint.com/15-best-javascript-charting-libr...


--
Joao Rodrigues

Mel Smith

2/9/2015 3:49:00 PM

0

Bjoern & Joao:

Thank you both. I'll examine both before continuing.

-Mel Smith


Dr J R Stockton

2/9/2015 8:00:00 PM

0

In comp.lang.javascript message <cjpumbFsqc1U1@mid.individual.net>, Sun,
8 Feb 2015 13:19:16, Mel Smith <syntel@cox.net> posted:

> I haven't used the <canvas>...</canvas> element of HTML5 yet, but am
>reading feverishly, and trying out online examples.
>
> Suggestions appreciated.


You might, or might not, find my
<http://www.merlyn.demon.co.uk/js-grp... and/or
<http://www.merlyn.demon.co.uk/js-misc1.... to be of some help.

To actually operate those pages, one must use a local copy. That
discourages over-download. The pages self-disable when loaded from
Merlyn (or a non-Merlyn copy self-enables). They need a copy of
<http://www.merlyn.demon.co.uk/inc-c....

Section js-misc1.htm#BC should show a vertical bar chart when button
"Chart" is activated.

--
(c) John Stockton, nr London UK Reply address via Merlyn Home Page.
news:comp.lang.javascript FAQ <http://www.jibbering.com/faq/inde....
<http://www.merlyn.demon.co.uk/js-ind... jscr maths, dates, sources.
<http://www.merlyn.demon.... TP/BP/Delphi/jscr/&c, FAQ items, links.

Mel Smith

2/10/2015 3:06:00 AM

0

Dr JR said:

> You might, or might not, find my
> <http://www.merlyn.demon.co.uk/js-grp... and/or
> <http://www.merlyn.demon.co.uk/js-misc1.... to be of some help.
>
> To actually operate those pages, one must use a local copy. That
> discourages over-download. The pages self-disable when loaded from
> Merlyn (or a non-Merlyn copy self-enables). They need a copy of
> <http://www.merlyn.demon.co.uk/inc-c....
>
> Section js-misc1.htm#BC should show a vertical bar chart when button
> "Chart" is activated.

Thank you.

Will investigate ....

-Mel