私のサポート ID: 100038677-1nk6c5。
風配図で悩んでいます。コードからグラフを作成します。リテラルをロードする aspx.vb があります。
Literal2.Text = "" & _
"<table id="freq" border="0" cellspacing="0" cellpadding="0">" & _
"<tr nowrap bgcolor="#CCCCFF">" & _
"<th colspan="9" class="hdr">Table of Frequencies (percent)</th>" & _
"</tr>" & _
"<tr nowrap bgcolor="#CCCCFF">" & _
"<th class="freq">Direction</th>" & _
"<th class="freq">< 0.5 m/s</th>" & _
"<th class="freq">0.5-2 m/s</th>" & _
"<th class="freq">2-4 m/s</th>" & _
"<th class="freq">4-6 m/s</th>" & _
"<th class="freq">6-8 m/s</th>" & _
"<th class="freq">8-10 m/s</th>" & _
"<th class="freq">> 10 m/s</th>" & _
"<th class="freq">Total</th>" & _
"</tr>" & _
"<tr nowrap>" & _
"<td class="dir">N</td>" & _
"<td class="data">1.81</td>" & _
"<td class="data">1.78</td>" & _
"<td class="data">0.16</td>" & _
"<td class="data">0.00</td>" & _
"<td class="data">0.00</td>" & _
"<td class="data">0.00</td>" & _
"<td class="data">0.00</td>" & _
"<td class="data">3.75</td>" & _
"</tr>" & _
"</table>"
Literal1.Text = "<script type='text/javascript'>" + _
"$(function () {" & _
"$('#container').highcharts({" & _
"data: {" & _
"table: 'freq'," & _
"startRow: 1," & _
"endRow: 17," & _
"endColumn: 7" & _
"}," & _
"chart: {" & _
"polar: true," & _
"type: 'column'" & _
"}," & _
"title: {" & _
"text: 'Wind rose for South Shore Met Station, Oregon'" & _
"}," & _
"subtitle: {" & _
"text: 'Source: or.water.usgs.gov'" & _
"}," & _
"pane: {" & _
"size: '100%'" & _
"}," & _
"legend: {" & _
"align: 'right'," & _
"verticalAlign: 'top'," & _
"y: 100," & _
"layout: 'vertical'" & _
"}," & _
"xAxis: {" & _
"tickmarkPlacement: 'on'" & _
"}," & _
"yAxis: {" & _
"min: 0," & _
"endOnTick: false," & _
"showLastLabel: true," & _
"title: {" & _
"text: 'Frequency (%)'" & _
"}," & _
"labels: {" & _
"formatter: function () {" & _
"return this.value + '%';" & _
"}" & _
"}," & _
"reversedStacks: false" & _
"}," & _
"tooltip: {" & _
"valueSuffix: '%'" & _
"}," & _
"plotOptions: {" & _
"series: {" & _
"stacking: 'normal'," & _
"shadow: false," & _
"groupPadding: 0," & _
"pointPlacement: 'on'" & _
"}" & _
"}" & _
"});" & _
"});" & _
"</script>"
しかし、グラフが見えません。