My website features a graph for currency comparison using Dygraphs. Everything was working fine until I encountered this strange issue.
https://i.stack.imgur.com/OGcCA.png
The graph only displays the first and third values, consistently skipping the second value.
g2 = new Dygraph(
document.getElementById("graphdiv2"), csv,
{
showRangeSelector: true,
title: Value1SFontcolor + Value2SFontcolor + Value3SFontcolor,
fillGraph: true,
animatedZooms: true,
colors: ['blue', 'green', 'purple'],
underlayCallback: function (ctx, area, dygraph) {
ctx.strokeStyle = 'black';
ctx.strokeRect(area.x, area.y, area.w, area.h);
area.color = 'black';
}
});
CSV Data:
Date,EUR,CNY,CHF
2012/12/10,113.942200,0.000000,94.307400
etc...
I'm not sure how to fix this bug even though I copied the JS files from the official site.