Browse Source

Rand bei sanke-Diagrammen auf 0 setzen

master
Imo John 10 hours ago
parent
commit
ff8a752f15
  1. 2
      src-modules/module/viz/conf/viz.xml
  2. 5
      superx/xml/js/viz/viz_viewer.js

2
src-modules/module/viz/conf/viz.xml

@ -834,7 +834,7 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the @@ -834,7 +834,7 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the
<path>$VIZ_PFAD/masken</path>
</src>
</maske>
<maske tid="44190" name="Studienanfänger_innen Makro" thema="Visualisierungen">
<maske tid="44190" name="Studierende Übersicht" thema="">
<description> </description>
<src>
<path>$VIZ_PFAD/masken</path>

5
superx/xml/js/viz/viz_viewer.js

@ -2521,7 +2521,12 @@ var captionEmptyNode=getChartPropertyValue(currentChartModel.chartPropertiesUsed @@ -2521,7 +2521,12 @@ var captionEmptyNode=getChartPropertyValue(currentChartModel.chartPropertiesUsed
if(captionEmptyNode=="")
captionEmptyNode="Leer";
// bei sankey Diagrammen soll der Rand im default 0 sein, daher wird er 0 gesetzt, solange nicht anderes angegeben wird
var marginLeft = getChartPropertyValue(currentChartModel.chartPropertiesUsed, "margin.left");
if (marginLeft == "20") {
var marginLeft = 0;
}
var marginRight=getChartPropertyValue(currentChartModel.chartPropertiesUsed,"margin.right");
var marginTop=getChartPropertyValue(currentChartModel.chartPropertiesUsed,"margin.top");
var marginBottom=getChartPropertyValue(currentChartModel.chartPropertiesUsed,"margin.bottom");

Loading…
Cancel
Save