Explorar o código

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 hai 10 meses
pai
achega
d4e36aee81
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;