Commit be0bac1e authored by Evgeny's avatar Evgeny

Fix problem with tuning 100% chart

parent 7c1cfc71
...@@ -377,7 +377,7 @@ c3_chart_internal_fn.tuneAxis = function(sync, callback){ ...@@ -377,7 +377,7 @@ c3_chart_internal_fn.tuneAxis = function(sync, callback){
$$.pushCallback(callback); $$.pushCallback(callback);
// if we don't need to tune // if we don't need to tune
if($$.config.stacked){ if($$.config.normalized){
$$.cachedRedraw(); $$.cachedRedraw();
return; return;
} }
......
...@@ -57,6 +57,7 @@ c3_chart_internal_fn.getDefaultConfig = function () { ...@@ -57,6 +57,7 @@ c3_chart_internal_fn.getDefaultConfig = function () {
data_columns: undefined, data_columns: undefined,
data_mimeType: undefined, data_mimeType: undefined,
data_keys: undefined, data_keys: undefined,
normalized: false,
// configuration for no plot-able data supplied. // configuration for no plot-able data supplied.
data_empty_label_text: "", data_empty_label_text: "",
// subchart // subchart
......
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