nagix / chartjs-plugin-datasource Goto Github PK
View Code? Open in Web Editor NEWChart.js plugin for automatic data loading
License: MIT License
Chart.js plugin for automatic data loading
License: MIT License
Hi,
Can you implement some trimming/sanitization of the csv - so the empty line won't crash chart?
When last line has '\n' on the end this produces empty data and charts start from beginning of the timescale.
{
data: { url },
plugins: [ChartDataSource],
options: {
animation: {
duration: 0, // general animation time
},
plugins: {
datasource: {
type: "csv",
url,
delimiter: ",",
rowMapping: "datapoint",
datasetLabels: true,
indexLabels: true,
datapointLabels: false,
datapointLabelMapping: {
_dataset: 0,
_index: 1,
x: 1,
y: 2,
},
},
},
},
};
I get the following error Uncaught TypeError: helpers$2.isFinite is not a function when using the config above
I have multiple 'xlsx' file, how we can merge and show in one graph.
Thanks for writing this plugin! It definitely made life easier, but I was wondering how I can add a line break to a data label? For example, my data is like this.
,Subjects of Interest,Visitors
Female,41,68
Male,59,32
I'd like to add a line break to the label, Subjects of
Interest in my chart. Is there a way for me to do that within this plugin? Thanks!
Hi,
I'm just trying to use the sample sheet-index.html
and I got Failed to load resource: net::ERR_FILE_NOT_FOUND
but the sample-index.xlsx
is in the same folder, as I downloaded it.
Any idea?
date of my .xlsx is convert in number in the Chart but i want it to remain in the type data if somebody have an answer
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.