nodebb-plugin-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.
-
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 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)}]
-
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 -
Лучшее. Отлично, парни. Продолжайте в том же духе.