I would like to have a graph which is dynamic, so I choose c3.js. I am struck on how to import data from excel sheet and create a scatter graph for it in c3.js. Please can any one help me in this?
Related
Stupid as it may sound. I am wondering is it possible to can I plot graph with a math function instead of data using apex charts js.
I am trying to fit a curve for my data points and replace the original graph on apex chart.
I want to create this chart using chart.js and I got the data in a json file. the problem is to how to create this.
https://i.stack.imgur.com/1jLis.png
I am trying to replicate the highcharts drilldown chart, using multiple series in the data and drilldown data, and external source csv/json data files
I can easily recreate the drilldown using the examples from highcharts
I can create a column chart using csv as source for data
I have been able to create a multiseries to multiseries drilldown using this example ttp://jsfiddle.net/7xEhW/496/
What I am struggling with now is how to load the data from csv in a format that is accepted into the drilldown (multiseries)
This is my code for the parsed
http://jsfiddle.net/9gshkdaj/
I can make it work if I insert static data into the drilldown, but any help on how to load this via a csv would be appreciated (I have control over csv format).
My other idea was to use the data.parsed function to modify the data, but I have no idea where to start (although I know it should be possible, as this example is actually loaded from a tsv) http://www.highcharts.com/news/125-new-features-drilldown-and-no-data
Thank you
<pre id="sectorData" style="display:none">
Sector,MTD,drillMTD,YTD,drillYTD
EQ,1,EQ-MTD,2,EQ-YTD
FX,2,F
I have this series in my csv:
Date,color,pressure,air
23.12.1912,green,1090,good
...
Dygraph displays them in the legend in the order as they are in the csv but
can this be resorted to "Date,air,color,pressure" without reordering
the whole csv file?
Import csv to javascript and reorder what You want.
I need to set the pie chart slices in my wijpiechart to the color retrieved from the database for that row. Using webservice to retrieve this info and javascript to render the wijpiechart. Any help would be very much appreciated.
Thanks,
Hindy
You can set the colors coming from the database in the series of the pie chart by setting 'seriesStyles' option. You may refer to the following demo sample that uses this option:
http://wijmo.com/demo/explore/?widget=PieChart&sample=Colors%20Formatting