Browse Source

Layout Assistent Formular #5

makro_datasrc
Daniel Quathamer 2 years ago
parent
commit
20fc5f1439
  1. 2
      superx/xml/js/viz/viz_functions.js
  2. 10
      superx/xml/viz_html_chart.xsl

2
superx/xml/js/viz/viz_functions.js

@ -352,7 +352,7 @@ function renderChart(chartDiv,currentChartModel) @@ -352,7 +352,7 @@ function renderChart(chartDiv,currentChartModel)
}
}
else
document.getElementById(chartDiv).innerHTML="";
document.getElementById(chartDiv).innerHTML="<svg viewBox=\"0 0 650 450\"><rect x=\"0\" y=\"0\" width=\"650\" height=\"450\" fill=\"#cccccc\"></rect></svg>";
}

10
superx/xml/viz_html_chart.xsl

@ -1246,7 +1246,7 @@ var platform='superx'; @@ -1246,7 +1246,7 @@ var platform='superx';
<a onclick="showVizNavTab(1);"><span>Diagramm-Daten</span></a>
</li>
<li data-target="viznav-tab2" id="2">
<a onclick="showVizNavTab(2);"><span>Diagramm-Layout</span></a>
<a onclick="updateChartModel();renderChart('chartDiv',myChartModel);showVizNavTab(2);"><span>Diagramm-Layout</span></a>
</li>
<li data-target="viznav-tab3" id="3">
<a onclick="showVizNavTab(3);"><span>Diagramm-Nutzung</span></a>
@ -1770,7 +1770,7 @@ rs[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>].push(new dataRow_</xs @@ -1770,7 +1770,7 @@ rs[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>].push(new dataRow_</xs
<p class="bd-notification is-primary">
Diagramm
</p>
<p><span class="button is-link is-outlined is-small" onClick="updateChartModel();renderChart('chartDiv',myChartModel);">Erzeugen</span></p>
<!--<p><span class="button is-link is-outlined is-small" onClick="updateChartModel();renderChart('chartDiv',myChartModel);">Erzeugen</span></p>-->
</div>
<div class="column is-half">
<div class="field is-grouped">
@ -1870,11 +1870,9 @@ rs[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>].push(new dataRow_</xs @@ -1870,11 +1870,9 @@ rs[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>].push(new dataRow_</xs
<div class="column">
<p class="bd-notification is-fojeisj">Vorschau</p>
<div id="chartCanvas">
<div id="chartDiv"><svg viewBox="0 0 650 450">
<div id="chartDiv">
<svg viewBox="0 0 650 450">
<rect x="0" y="0" width="650" height="450" fill="#cccccc"></rect>
</svg></div>
</div>

Loading…
Cancel
Save