nodebb-plugin-charts
-
Some preview about my work to integrate jqplot charting on Posts.
Maybe I could use it to create poll plugins.
not released for the moment but accessible here: https://github.com/svandecappelle/nodebb-plugin-charts
-
You can join me if you want
https://community.nodebb.org/topic/1377/suggestions-needed-for-poll-plugin#10017I already have gotten poll markup, creation, saving to DB and retrieving from DB done.
-
You can join me if you want
https://community.nodebb.org/topic/1377/suggestions-needed-for-poll-plugin#10017I already have gotten poll markup, creation, saving to DB and retrieving from DB done.
@Schamper said:
You can join me if you want
https://community.nodebb.org/topic/1377/suggestions-needed-for-poll-plugin#10017I already have gotten poll markup, creation, saving to DB and retrieving from DB done.
Is any github repository to see how integrate charts?
-
@Schamper said:
You can join me if you want
https://community.nodebb.org/topic/1377/suggestions-needed-for-poll-plugin#10017I already have gotten poll markup, creation, saving to DB and retrieving from DB done.
Is any github repository to see how integrate charts?
@Mizore No git repository yet, but you can try and make some things with the Poll Object structure I have in mind:
{ title: "Poll title", //other information about poll here, like timestamp, author, etc settings: { maxvotes: 1 //poll settings will go here, maxvotes is currently the only one } options: [ { title: "First option", votes: [ //array of uids, might change into an object with uids as key, and more information about the vote as an object value ] } //array of Option objects ] }
I believe that's it from the top of my head.
-
Some preview about my work to integrate jqplot charting on Posts.
Maybe I could use it to create poll plugins.
not released for the moment but accessible here: https://github.com/svandecappelle/nodebb-plugin-charts
-
@planner At now the data are in the post with the pattern @@chart[data_here][options_here]
For exemple:
@@chart[[1,2,4,5,4]][title:(test)] -
@planner At now the data are in the post with the pattern @@chart[data_here][options_here]
For exemple:
@@chart[[1,2,4,5,4]][title:(test)]A feature I've been thinking about for some time, is to have a text or post editor that can be used to create interactive charts, which means it should be able to pull in data from several sources - tables, databases, R data (data frames, vectors, lists), etc. I think this is a step in that direction.
Ultimately, I'd like to be able to have a functionality similar to what RStudio has. Just a thought
Btw, could you post the data used to render the graph in the OP.
-
A feature I've been thinking about for some time, is to have a text or post editor that can be used to create interactive charts, which means it should be able to pull in data from several sources - tables, databases, R data (data frames, vectors, lists), etc. I think this is a step in that direction.
Ultimately, I'd like to be able to have a functionality similar to what RStudio has. Just a thought
Btw, could you post the data used to render the graph in the OP.
@planner said:
A feature I've been thinking about for some time, is to have a text or post editor that can be used to create interactive charts, which means it should be able to pull in data from several sources - tables, databases, R data (data frames, vectors, lists), etc. I think this is a step in that direction.
Ultimately, I'd like to be able to have a functionality similar to what RStudio has. Just a thought
Btw, could you post the data used to render the graph in the OP.
Could be an evolution of the plugin. At now it looks awesome, but there is so much more complexity.
here is the data of the exemple below: @@chart[[1,1,2,2,4,5,41,5,4]][{title:(test)}]
-
@planner said:
A feature I've been thinking about for some time, is to have a text or post editor that can be used to create interactive charts, which means it should be able to pull in data from several sources - tables, databases, R data (data frames, vectors, lists), etc. I think this is a step in that direction.
Ultimately, I'd like to be able to have a functionality similar to what RStudio has. Just a thought
Btw, could you post the data used to render the graph in the OP.
Could be an evolution of the plugin. At now it looks awesome, but there is so much more complexity.
here is the data of the exemple below: @@chart[[1,1,2,2,4,5,41,5,4]][{title:(test)}]
-
@Mizore said:
here is the data of the exemple below: @@chart[[1,1,2,2,4,5,41,5,4]][{title:(test)}]
I'm not going to push it, but it's not clear how the x, and y axis are constructed from that list.
@planner I agree, I think it can be cleaned up.
Every two numbers is a single point. So it is is @@chart[[x1,y1,x2,y2,x^n,y^n]][{title:(test)}]
-
@Mizore said:
here is the data of the exemple below: @@chart[[1,1,2,2,4,5,41,5,4]][{title:(test)}]
I'm not going to push it, but it's not clear how the x, and y axis are constructed from that list.
@planner Jqplot is easy
for data : [1,4,5] it means coordinate [1;1] [2;4] [3;5]
I will link a complete documentation when the plugin will be ready for that.=) -
@planner Jqplot is easy
for data : [1,4,5] it means coordinate [1;1] [2;4] [3;5]
I will link a complete documentation when the plugin will be ready for that.=) -
wow, cool stuff
we can put this on the community site to see the frequency of how often I break core and introduce bugs
-
wow, cool stuff
we can put this on the community site to see the frequency of how often I break core and introduce bugs
First release with the core of Jqplot accessible (line and area charts charts only):
See it in action: http://mizore.fr:4567/topic/15/chart-plugin
On github: https://github.com/svandecappelle/nodebb-plugin-charts -
@svandecappelle Woo hoo! Nice work as always
@julian Thanks
release: 0.0.2.
And now support all jqplot features discover for exemple the donut renderer:
-
Лучшее. Отлично, парни. Продолжайте в том же духе.