2012年10月17日
2012年9月11日
Highchart Serverside Export
構想
1.在 client自動產、存圖後
後台程式 再撈出圖片 塞進 iTextSharp
2.把參數傳回後台,再呼叫自己寫的 webservice
ws再呼叫 export module.axd
傳回圖片的 string/stream,再塞進 iTextSharp
1.在 client自動產、存圖後
後台程式 再撈出圖片 塞進 iTextSharp
2.把參數傳回後台,再呼叫自己寫的 webservice
ws再呼叫 export module.axd
傳回圖片的 string/stream,再塞進 iTextSharp
2012年8月28日
Highchart 沒有顯示圖
有框 沒圖
1. 設定變數時,數字給成字串
ex: var hy_legend_y = "50";
IE還是可以顯示;Chrome、Firefox就不能
2. Highcharts line chart does not work with jQuery 1.7.
highchart not shown data graph
1. 設定變數時,數字給成字串
ex: var hy_legend_y = "50";
IE還是可以顯示;Chrome、Firefox就不能
2. Highcharts line chart does not work with jQuery 1.7.
highchart not shown data graph
2012年5月18日
Highchart IE8的圓餅圖 無法輸出
解決方法:
打開 highcharts.src.js
找到
/**
* Override the base drawDataLabels method by pie specific functionality
*/
drawDataLabels: function () { ...
在底下的
for (pos = centerY - radius - distanceOption; pos <= centerY + radius + distanceOption; pos += labelHeight) {
slots.push(pos);
}
改為
if (labelHeight == 0)
labelHeight = halves[0][0].dataLabel.height;
for (pos = centerY - radius - distanceOption; pos <= centerY + radius + distanceOption; pos += labelHeight) {
slots.push(pos);
}
在網頁中加入引用 highcharts.src.js
打開 highcharts.src.js
找到
/**
* Override the base drawDataLabels method by pie specific functionality
*/
drawDataLabels: function () { ...
在底下的
for (pos = centerY - radius - distanceOption; pos <= centerY + radius + distanceOption; pos += labelHeight) {
slots.push(pos);
}
改為
if (labelHeight == 0)
labelHeight = halves[0][0].dataLabel.height;
for (pos = centerY - radius - distanceOption; pos <= centerY + radius + distanceOption; pos += labelHeight) {
slots.push(pos);
}
在網頁中加入引用 highcharts.src.js