Commit bb03de60 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix typo

parent f1899271
...@@ -493,7 +493,7 @@ ...@@ -493,7 +493,7 @@
ratio = getXDomainRatio() * (hasBarType(c3.data.targets) ? (maxDataCount - (isCategorized ? 0.25 : 1)) / maxDataCount : 0.98); ratio = getXDomainRatio() * (hasBarType(c3.data.targets) ? (maxDataCount - (isCategorized ? 0.25 : 1)) / maxDataCount : 0.98);
return maxDataCount > 1 ? (base * ratio) / (maxDataCount - 1) : base; return maxDataCount > 1 ? (base * ratio) / (maxDataCount - 1) : base;
} }
function updateLegndStep(step) { function updateLegendStep(step) {
legendStep = step; legendStep = step;
} }
function updateLegendItemWidth(w) { function updateLegendItemWidth(w) {
...@@ -3512,7 +3512,7 @@ ...@@ -3512,7 +3512,7 @@
// Update all to reflect change of legend // Update all to reflect change of legend
updateLegendItemWidth(maxWidth); updateLegendItemWidth(maxWidth);
updateLegendItemHeight(maxHeight); updateLegendItemHeight(maxHeight);
updateLegndStep(step); updateLegendStep(step);
// Update size and scale // Update size and scale
updateSizes(); updateSizes();
updateScales(); updateScales();
......
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