Replies: 1 comment 1 reply
-
Is there any way to see some king of chart's error log to see the problem? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need to show a year sale of different kind of client, The graph have to be stacked.
When I pass the data to show the graph I see the axis y with values correct but not the month in x axes and the graph is empty
I put the data in html table and read from that
var datasets = [];
var rows = $("#tablaDataSets tr.dataSets");
rows.each(function(index){
var cols = $(this).find("td");
var data = [];
cols.each(function(innerIndex){
data.push(Number($(this).text().trim()));
});
var dataset =
{
label: etiquetas[index],
backgroundColor : colors[index%5].backgroundColor,
borderColor : colors[index%5].borderColor,
borderWidth: 1,
data : data,
stack: 'combined',
};
Beta Was this translation helpful? Give feedback.
All reactions