Commit 0391968b authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix value on chart with line chart

parent 7617408d
......@@ -1079,7 +1079,6 @@
}
function getBarX(barW, barTargetsNum, barIndices, isSub) {
var scale = isSub ? subX : x;
if (! barTargetsNum) { return function () { return 0; }; }
return function (d) {
var barIndex = d.id in barIndices ? barIndices[d.id] : 0;
return d.x || d.x === 0 ? scale(d.x) - barW * (barTargetsNum / 2 - barIndex) : 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment