candidate fix for show legend issue
@@ -261,7 +261,7 @@ public class Layout {
if (!decimalSeparator.equals(DEFAULT_DECIMAL_SEPARATOR)) context.put("decimalSeparator", decimalSeparator);
if (!thousandsSeparator.equals(DEFAULT_THOUSANDS_SEPARATOR)) context.put("thousandsSeparator", thousandsSeparator);
if(!dragMode.equals(DEFAULT_DRAG_MODE)) context.put("dragmode", dragMode);
- if (!showLegend == DEFAULT_SHOW_LEGEND) context.put("showlegend", showLegend);
+ context.put("showlegend", showLegend);
if (!plotBgColor.equals(DEFAULT_PLOT_BG_COLOR)) context.put("plotbgcolor", plotBgColor);
if (!paperBgColor.equals(DEFAULT_PAPER_BG_COLOR))context.put("paperbgcolor", paperBgColor);
if (!barMode.equals(DEFAULT_BAR_MODE)) context.put("barMode", barMode);
