Commit 5d31edfa authored by Tropicalista's avatar Tropicalista

Update core.js

parent 7bdb00c5
......@@ -109,7 +109,8 @@ c3_chart_internal_fn.initParams = function () {
$$.xOrient = config.axis_rotated ? "left" : "bottom";
$$.yOrient = config.axis_rotated ? "bottom" : "left";
$$.y2Orient = config.axis_rotated ? "top" : "right";
$$.yOrient = config.axis_rotated ? (config.axis_y_inner ? "top" : "bottom") : (config.xis_y_inner ? "right" : "left");
$$.y2Orient = config.axis_rotated ? (config.axis_y_inner ? "bottom" : "top") : (config.xis_y_inner ? "left" : "right");
$$.subXOrient = config.axis_rotated ? "left" : "bottom";
$$.isLegendRight = config.legend_position === 'right';
......
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