Преглед изворни кода

Set 'displaylogo' to false by default in the plotConfig setting. (#1601)

* Set 'displaylogo' to false by default in the plotConfig setting.
* Please learn Javascript before you code.
* Fred is always right and Fred is always good advice.
Fabien Lelaquais пре 10 месеци
родитељ
комит
d4e36aee81
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      frontend/taipy-gui/src/components/Taipy/Chart.tsx

+ 1 - 0
frontend/taipy-gui/src/components/Taipy/Chart.tsx

@@ -518,6 +518,7 @@ const Chart = (props: ChartProp) => {
                 plconf = {};
             }
         }
+        plconf.displaylogo = !!plconf.displaylogo;
         plconf.modeBarButtonsToAdd = TaipyPlotlyButtons;
         // plconf.responsive = true; // this is the source of the on/off height ...
         plconf.autosizable = true;