${nodeName}-Studiengänge: ${incomingValue}`;
+ } else {
+ return nodeName;
+ }
+ } else {
+ // Link-Tooltip
+ return params.data.source + ' --> ' + params.data.target + ': ' + params.data.value;
+ }
+ }
+ },
+ series: {
+ name: 'Bachelor-Master Übergänge',
+ type: 'sankey',
+ layout: 'none',
+ nodeGap: 25, // ← Erhöhter vertikaler Abstand
+ nodeWidth: 60, // ← Breite der Knoten
+ emphasis: {
+ focus: 'adjacency'
+ },
+ data: [
+ {
+ name: 'Bachelor',
+ itemStyle: { color: colorMap['Bachelor'] },
+ label: { position: 'left', show: true, fontSize: 12, color: '#333' }
+ },
+ {
+ name: 'LA Bachelor',
+ itemStyle: { color: colorMap['LA Bachelor'] },
+ label: { position: 'left', show: true, fontSize: 12, color: '#333' }
+ },
+ {
+ name: 'Master',
+ itemStyle: { color: colorMap['Master'] },
+ label: { position: 'right', show: true, fontSize: 12, color: '#333' }
+ },
+ {
+ name: 'LA Master',
+ itemStyle: { color: colorMap['LA Master'] },
+ label: { position: 'right', show: true, fontSize: 12, color: '#333' }
+ },
+ {
+ name: 'kein Master',
+ itemStyle: { color: colorMap['kein Master'] },
+ label: { position: 'right', show: true, fontSize: 12, color: '#333' }
+ }
+ ],
+ links: links,
+ label: {
+ show: true,
+ fontSize: 12,
+ color: '#333'
+ },
+ lineStyle: {
+ width: 2,
+ color: 'source'
+// , opacity: 0.9,
+// curveness: 0.3
+ }
+ }
+};
+var option2 = {
+ dataset: {
+ source: myDataset
+ },
+ title: {
+ text: titleText,
+ subtext: subtitleText,
+ left: getChartPropertyValue(currentChartModel.chartPropertiesUsed,"title.left"), //"center",
+ top: getChartPropertyValue(currentChartModel.chartPropertiesUsed,"title.top"), //"top",
+ textStyle: {
+ fontSize: 20
+ },
+ subtextStyle: {
+ fontSize: 15
+ }
+ },
+
+ series: [
+ {
+ type: 'pie',// sunburst
+ /*encode: {
+ value: measure1Fldname,
+ name: dimension1Fldname
+ },*/
+ tooltip: {
+ trigger: "item"
+ },
+ stillShowZeroSum: false,
+
+ label: {
+ show: (getChartPropertyValue(currentChartModel.chartPropertiesUsed,"valueLabelShow")=="true")?true:false, //true
+ fontWeight:'bolder',
+
+ formatter: '{c}'
+
+ } ,
+
+ fontSize: 12,
+ radius: [getChartPropertyValue(currentChartModel.chartPropertiesUsed,"innerRadius"),getChartPropertyValue(currentChartModel.chartPropertiesUsed,"outerRadius")],// ['30%', '80%'], //1. Parameter inside radius, macht ihn zum Donut. 2.Parameter definiert den Anteil des Kreises am ganzen Viewport"
+ color: myPalette,
+ itemStyle: {
+ borderRadius: (getChartPropertyValue(currentChartModel.chartPropertiesUsed,"cornerRadiusRounded")=="true" ? [20, 5, 5, 10] :[]),
+ borderColor: '#fff',
+ borderWidth: 2
+ }
+ }
+ ]
+};
+
+return option;
+
+}
+// ✅ Funktion: Erzeugt einen Farbverlauf von sourceColor zu targetColor
+function echartsSankeyCreateGradientColor(sourceColor, targetColor) {
+ return {
+ type: 'linear',
+ x: 0, y: 0, x2: 1, y2: 0,
+ colorStops: [
+ { offset: 0, color: sourceColor },
+ { offset: 1, color: targetColor }
+ ]
+ };
+}
+
+
function getChartPropertyValue(propArray,propName)
{
var propertyValue="";
@@ -2603,7 +2838,7 @@ function openKachelDetails(ergebniselementOrdnr,formName,maskeninfoTID,grafikUni
function exportVizBooklet(contenttype,stylesheet)
{
document.forms['Weiterverarbeitung'].stylesheet.value = stylesheet;
-//document.forms['Weiterverarbeitung'].tablestylesheet.value = stylesheet;
+document.forms['Weiterverarbeitung'].tablestylesheet.value = stylesheet;
document.forms['Weiterverarbeitung'].contenttype.value = contenttype;
document.forms['Weiterverarbeitung'].target = '_blank';
document.forms['Weiterverarbeitung'].submit();
diff --git a/superx/xml/viz_components.xsl b/superx/xml/viz_components.xsl
index b4d35be..cf6bdf2 100644
--- a/superx/xml/viz_components.xsl
+++ b/superx/xml/viz_components.xsl
@@ -333,6 +333,9 @@ vizTypeProperties.push(newVizTypeProperty);
+
+
+
@@ -670,13 +673,7 @@ var rsNr=0;
var myRenderer='
';
-
-
-
-
+myDiv="
@@ -684,23 +681,34 @@ rsNr=]]>
-";
+
+
+
+
+render_("
+
+",rsNr,chartTitle);
+
+
+
+
+
+;
createChartsViewer(myChartModel,myDiv,rsNr,myRenderer,chartTitle);
+
+
-
";
myChartModelStr='Platzhalter_dl';
createChartsViewer(myChartModel,myDiv,rsNr,myRenderer,chartTitle);
+
+
+
@@ -1430,6 +1438,10 @@ Platzhalter
+
+
+
+
@@ -1587,7 +1599,7 @@ Platzhalter
-
+
@@ -1814,8 +1826,7 @@ Platzhalter
-
-
+
@@ -1824,7 +1835,6 @@ Platzhalter
-