Bitcoin Forum
May 05, 2024, 10:47:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Advice for a Javascript Graph package?  (Read 594 times)
rico666 (OP)
Legendary
*
Offline Offline

Activity: 1120
Merit: 1037


฿ → ∞


View Profile WWW
February 02, 2017, 01:31:58 PM
 #1

Hi,

I'd like to provide some nice graphs on the LBC stats page - for starters a graph with the pool performance for the past ... say month.
Ideally I'd like to use some nifty ready-made JS package and give it a set of numbers and it would display some nice visually appealing graph.
I am aware of 1-2 JS packages doing this, but wanted to hear your suggestions/input.


Rico

all non self-referential signatures except mine are lame ... oh wait ...   ·  LBC Thread (News)  ·  Past BURST Activities
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Patatas
Legendary
*
Offline Offline

Activity: 1750
Merit: 1115

Providing AI/ChatGpt Services - PM!


View Profile
February 02, 2017, 04:09:03 PM
 #2

Hey Rico,it really depends on how detailed you want your graph to be.As well fancy I might add.To start with,it actually depends on your js coding skills.There are a lot of liblaries ranging from newbie friendly graphs to organizational charts.I have used the following and they are mostly used around.

1.Jquery based easy API :  http://www.flotcharts.org/
2.D3.Js ,cool stuff here : https://d3js.org/
3.Velocity Js : http://velocityjs.org/

If you just want it to be functional without much UI details,go with the first option.
rico666 (OP)
Legendary
*
Offline Offline

Activity: 1120
Merit: 1037


฿ → ∞


View Profile WWW
February 02, 2017, 04:22:54 PM
 #3

Hey Rico,it really depends on how detailed you want your graph to be.As well fancy I might add.To start with,it actually depends on your js coding skills.There are a lot of liblaries ranging from newbie friendly graphs to organizational charts.I have used the following and they are mostly used around.

1.Jquery based easy API :  http://www.flotcharts.org/
2.D3.Js ,cool stuff here : https://d3js.org/
3.Velocity Js : http://velocityjs.org/

If you just want it to be functional without much UI details,go with the first option.

Thanks for the pointers, but I went with Graph.js in the end. It's really simple what I need:

http://imgur.com/2Prnnuql.png

Rico

all non self-referential signatures except mine are lame ... oh wait ...   ·  LBC Thread (News)  ·  Past BURST Activities
nemgun
Hero Member
*****
Offline Offline

Activity: 882
Merit: 533



View Profile WWW
February 02, 2017, 05:24:14 PM
 #4

I advise you to use highcharts, it is easy to use, they have a forum where they actively support users, the graphs can be highly customised and you have several options.
Patatas
Legendary
*
Offline Offline

Activity: 1750
Merit: 1115

Providing AI/ChatGpt Services - PM!


View Profile
February 03, 2017, 09:26:52 AM
 #5

I advise you to use highcharts, it is easy to use, they have a forum where they actively support users, the graphs can be highly customised and you have several options.
Because it's a paid product!I don't support the entire idea of taking something which comes free of cost,modifiying it and selling it for way more than it should be.Open-Source does the same for way cheap and it takes brains obvious.Anyhow,OP found what was he looking for.
nemgun
Hero Member
*****
Offline Offline

Activity: 882
Merit: 533



View Profile WWW
February 03, 2017, 12:43:46 PM
 #6

I advise you to use highcharts, it is easy to use, they have a forum where they actively support users, the graphs can be highly customised and you have several options.
Because it's a paid product!I don't support the entire idea of taking something which comes free of cost,modifiying it and selling it for way more than it should be.Open-Source does the same for way cheap and it takes brains obvious.Anyhow,OP found what was he looking for.

It is free to use as long as it is for non-monetised project, i pointed to this library because it is present in npm, you can add it with CDN, a full documentation is available plus you have the support and it is widely used by a lot of other projects even in bitcointalk. it is just objects, and requires a minimal amount functions unless you want to do some bright effects.
Patatas
Legendary
*
Offline Offline

Activity: 1750
Merit: 1115

Providing AI/ChatGpt Services - PM!


View Profile
February 03, 2017, 01:13:02 PM
 #7

It is free to use as long as it is for non-monetised project,
i pointed to this library because it is present in npm, you can add it with CDN,
a full documentation is available plus you have the support and it is widely used by a lot of other projects even in bitcointalk. it is just objects, and requires a minimal amount functions unless you want to do some bright effects.
I work for an ERP based company project for banks.WE deal with charts,graphs,dashboards everyday.Pretty obvious
that we use such libraries on daily basis.We only use open source stuff and trust me,the options d3.js or velocity has to offer
can pretty much get you all you can get from a paid project.
However,it's a personal opinion.Smiley
nemgun
Hero Member
*****
Offline Offline

Activity: 882
Merit: 533



View Profile WWW
February 03, 2017, 03:24:16 PM
 #8

It is free to use as long as it is for non-monetised project,
i pointed to this library because it is present in npm, you can add it with CDN,
a full documentation is available plus you have the support and it is widely used by a lot of other projects even in bitcointalk. it is just objects, and requires a minimal amount functions unless you want to do some bright effects.
I work for an ERP based company project for banks.WE deal with charts,graphs,dashboards everyday.Pretty obvious
that we use such libraries on daily basis.We only use open source stuff and trust me,the options d3.js or velocity has to offer
can pretty much get you all you can get from a paid project.
However,it's a personal opinion.Smiley

I had a look at d3.js, but it looks like tricky on some points, however i never had a deep look into it, do you have a fiddle ?
For Velocity, i never heard about, do you have a fiddle ?
Sorry if i disturb you, but i am curious.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!