diff --git a/src-modules/module/viz/conf/viz.xml b/src-modules/module/viz/conf/viz.xml index f78b879..b73d56c 100644 --- a/src-modules/module/viz/conf/viz.xml +++ b/src-modules/module/viz/conf/viz.xml @@ -834,7 +834,7 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen $VIZ_PFAD/masken - + $VIZ_PFAD/masken diff --git a/superx/xml/js/viz/viz_viewer.js b/superx/xml/js/viz/viz_viewer.js index fc5f81d..b340d9b 100644 --- a/superx/xml/js/viz/viz_viewer.js +++ b/superx/xml/js/viz/viz_viewer.js @@ -2521,7 +2521,12 @@ var captionEmptyNode=getChartPropertyValue(currentChartModel.chartPropertiesUsed if(captionEmptyNode=="") captionEmptyNode="Leer"; -var marginLeft=getChartPropertyValue(currentChartModel.chartPropertiesUsed,"margin.left"); +// 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");