diff --git a/src/com/fr/solution/plugin/chart/echarts/ChineseMap.java b/src/com/fr/solution/plugin/chart/echarts/ChineseMap.java index 108f93f..6f012f3 100644 --- a/src/com/fr/solution/plugin/chart/echarts/ChineseMap.java +++ b/src/com/fr/solution/plugin/chart/echarts/ChineseMap.java @@ -46,4 +46,4 @@ public class ChineseMap extends AbstractIndependentEChartsProvider { return "EChartsFactory"; } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/ChineseMapUI.java b/src/com/fr/solution/plugin/chart/echarts/ChineseMapUI.java index ede99f1..cdfd266 100644 --- a/src/com/fr/solution/plugin/chart/echarts/ChineseMapUI.java +++ b/src/com/fr/solution/plugin/chart/echarts/ChineseMapUI.java @@ -38,4 +38,4 @@ public class ChineseMapUI extends AbstractIndependentChartUI { public boolean isUseDefaultPane() { return false; } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/EChartsFileLoader.java b/src/com/fr/solution/plugin/chart/echarts/EChartsFileLoader.java index 54d6484..bc7d08a 100644 --- a/src/com/fr/solution/plugin/chart/echarts/EChartsFileLoader.java +++ b/src/com/fr/solution/plugin/chart/echarts/EChartsFileLoader.java @@ -18,4 +18,4 @@ public class EChartsFileLoader extends AbstractJavaScriptFileHandler { public String encode() { return EncodeConstants.ENCODING_UTF_8; } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/EChartsLocaleFinder.java b/src/com/fr/solution/plugin/chart/echarts/EChartsLocaleFinder.java index 8b85a5e..a4955e1 100644 --- a/src/com/fr/solution/plugin/chart/echarts/EChartsLocaleFinder.java +++ b/src/com/fr/solution/plugin/chart/echarts/EChartsLocaleFinder.java @@ -10,4 +10,4 @@ public class EChartsLocaleFinder extends AbstractLocaleFinder { public String find() { return "com/fr/solution/plugin/chart/echarts/locale/echarts"; } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/base/AbstractIndependentEChartsProvider.java b/src/com/fr/solution/plugin/chart/echarts/base/AbstractIndependentEChartsProvider.java index 6d76d9c..7118194 100644 --- a/src/com/fr/solution/plugin/chart/echarts/base/AbstractIndependentEChartsProvider.java +++ b/src/com/fr/solution/plugin/chart/echarts/base/AbstractIndependentEChartsProvider.java @@ -13,4 +13,4 @@ public abstract class AbstractIndependentEChartsProvider extends AbstractIndepen "/com/fr/solution/plugin/chart/echarts/web/echarts.bridge.js" }; } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/base/NewChart.java b/src/com/fr/solution/plugin/chart/echarts/base/NewChart.java index b5a643d..af29583 100644 --- a/src/com/fr/solution/plugin/chart/echarts/base/NewChart.java +++ b/src/com/fr/solution/plugin/chart/echarts/base/NewChart.java @@ -38,11 +38,11 @@ public class NewChart extends Chart { } /** - * 判断图表类型是否是obClass - * @param obClass 传入对象 - * @return 是否是obClass对象 + * 鍒ゆ柇鍥捐〃绫诲瀷鏄惁鏄痮bClass + * @param obClass 浼犲叆瀵硅薄 + * @return 鏄惁鏄痮bClass瀵硅薄 */ public boolean accept(Class obClass){ return ComparatorUtils.equals(NewChart.class, obClass); } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/base/NewGlyph.java b/src/com/fr/solution/plugin/chart/echarts/base/NewGlyph.java index c6c3237..deecb7b 100644 --- a/src/com/fr/solution/plugin/chart/echarts/base/NewGlyph.java +++ b/src/com/fr/solution/plugin/chart/echarts/base/NewGlyph.java @@ -62,7 +62,7 @@ public class NewGlyph extends ChartGlyph { .put("max", 2500) .put("x", "left") .put("y", "bottom") - .put("text", JSONArray.create().put("高").put("低")); + .put("text", JSONArray.create().put("楂").put("浣")); } private JSONArray createSeries(Repository repo) throws JSONException { @@ -73,7 +73,7 @@ public class NewGlyph extends ChartGlyph { .put("type", "map") .put("mapType", "china") .put("itemStyle", createItemStyle(repo)) - .put("data", JSONArray.create().put(JSONObject.create().put("name", "北京").put("value", 20))) + .put("data", JSONArray.create().put(JSONObject.create().put("name", "鍖椾含").put("value", 20))) ); series.put(JSONObject.create() @@ -81,7 +81,7 @@ public class NewGlyph extends ChartGlyph { .put("type", "map") .put("mapType", "china") .put("itemStyle", createItemStyle(repo)) - .put("data", JSONArray.create().put(JSONObject.create().put("name", "江苏").put("value", 20))) + .put("data", JSONArray.create().put(JSONObject.create().put("name", "姹熻嫃").put("value", 20))) ); series.put(JSONObject.create() @@ -89,7 +89,7 @@ public class NewGlyph extends ChartGlyph { .put("type", "map") .put("mapType", "china") .put("itemStyle", createItemStyle(repo)) - .put("data", JSONArray.create().put(JSONObject.create().put("name", "四川").put("value", 20))) + .put("data", JSONArray.create().put(JSONObject.create().put("name", "鍥涘窛").put("value", 20))) ); return series; @@ -101,4 +101,4 @@ public class NewGlyph extends ChartGlyph { itemStyle.put("emphasis", JSONObject.create().put("label", JSONObject.create().put("show", true))); return itemStyle; } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/base/NewLegendGlyph.java b/src/com/fr/solution/plugin/chart/echarts/base/NewLegendGlyph.java index c56afcb..86717c9 100644 --- a/src/com/fr/solution/plugin/chart/echarts/base/NewLegendGlyph.java +++ b/src/com/fr/solution/plugin/chart/echarts/base/NewLegendGlyph.java @@ -22,4 +22,4 @@ public class NewLegendGlyph extends LegendGlyph { .put("x", "left") .put("data", JSONArray.create().put("iPhone3").put("iPhone4").put("iPhone5")); } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/base/NewPlot.java b/src/com/fr/solution/plugin/chart/echarts/base/NewPlot.java index 7cda0fc..734e777 100644 --- a/src/com/fr/solution/plugin/chart/echarts/base/NewPlot.java +++ b/src/com/fr/solution/plugin/chart/echarts/base/NewPlot.java @@ -22,4 +22,4 @@ public abstract class NewPlot extends Plot { public NewLegendGlyph createChartLegendGlyph(ChartData chartData) { return new NewLegendGlyph(); } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/base/NewSeriesGlyph.java b/src/com/fr/solution/plugin/chart/echarts/base/NewSeriesGlyph.java index 33d7666..7f60aae 100644 --- a/src/com/fr/solution/plugin/chart/echarts/base/NewSeriesGlyph.java +++ b/src/com/fr/solution/plugin/chart/echarts/base/NewSeriesGlyph.java @@ -7,4 +7,4 @@ import com.fr.chart.chartglyph.ChartGlyph; */ public class NewSeriesGlyph extends ChartGlyph { -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/base/NewTitleGlyph.java b/src/com/fr/solution/plugin/chart/echarts/base/NewTitleGlyph.java index fc106a6..01d5718 100644 --- a/src/com/fr/solution/plugin/chart/echarts/base/NewTitleGlyph.java +++ b/src/com/fr/solution/plugin/chart/echarts/base/NewTitleGlyph.java @@ -22,9 +22,9 @@ public class NewTitleGlyph extends ChartGlyph { private JSONObject createTitle(Repository repo) throws JSONException { return JSONObject.create() - .put("text", "iPhone销量") - .put("subtext", "纯属虚构") + .put("text", "iPhone閿閲") + .put("subtext", "绾睘铏氭瀯") .put("x", "center"); } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/core/map/ChineseMapFunctionProcessor.java b/src/com/fr/solution/plugin/chart/echarts/core/map/ChineseMapFunctionProcessor.java index 112f525..f9fa675 100644 --- a/src/com/fr/solution/plugin/chart/echarts/core/map/ChineseMapFunctionProcessor.java +++ b/src/com/fr/solution/plugin/chart/echarts/core/map/ChineseMapFunctionProcessor.java @@ -21,4 +21,4 @@ public class ChineseMapFunctionProcessor extends AbstractFunctionProcessor { public String toString() { return Inter.getLocText("Plugin-ECharts_Chinese_Map"); } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/core/map/ChineseMapPlot.java b/src/com/fr/solution/plugin/chart/echarts/core/map/ChineseMapPlot.java index a89f281..6384b43 100644 --- a/src/com/fr/solution/plugin/chart/echarts/core/map/ChineseMapPlot.java +++ b/src/com/fr/solution/plugin/chart/echarts/core/map/ChineseMapPlot.java @@ -51,4 +51,4 @@ public class ChineseMapPlot extends NewPlot { return Inter.getLocText("Plugin-ECharts_Chinese_Map"); } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/core/map/ChineseMapPlotGlyph.java b/src/com/fr/solution/plugin/chart/echarts/core/map/ChineseMapPlotGlyph.java index 7e8317c..0430c88 100644 --- a/src/com/fr/solution/plugin/chart/echarts/core/map/ChineseMapPlotGlyph.java +++ b/src/com/fr/solution/plugin/chart/echarts/core/map/ChineseMapPlotGlyph.java @@ -25,4 +25,4 @@ public class ChineseMapPlotGlyph extends PlotGlyph { public String getChartType() { return "ChineseMap"; } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/ui/map/ChineseChartTypePane.java b/src/com/fr/solution/plugin/chart/echarts/ui/map/ChineseChartTypePane.java index d7262fa..1154080 100644 --- a/src/com/fr/solution/plugin/chart/echarts/ui/map/ChineseChartTypePane.java +++ b/src/com/fr/solution/plugin/chart/echarts/ui/map/ChineseChartTypePane.java @@ -11,9 +11,9 @@ import com.fr.solution.plugin.chart.echarts.core.map.ChineseMapPlot; */ public class ChineseChartTypePane extends UserDefinedChartTypePane { /** - * 弹出框的标题 + * 寮瑰嚭妗嗙殑鏍囬 * - * @return 弹出框的标题 + * @return 寮瑰嚭妗嗙殑鏍囬 */ public String title4PopupWindow() { return Inter.getLocText("Plugin-ECharts_Chinese_Map"); @@ -26,9 +26,9 @@ public class ChineseChartTypePane extends UserDefinedChartTypePane { } /** - * 界面是否接受 - * @param ob 对象是否为chart - * @return 界面是否接受对象 + * 鐣岄潰鏄惁鎺ュ彈 + * @param ob 瀵硅薄鏄惁涓篶hart + * @return 鐣岄潰鏄惁鎺ュ彈瀵硅薄 */ public boolean accept(Object ob) { return (ob instanceof Chart)&&((Chart) ob).getPlot().accept(ChineseMapPlot.class); @@ -45,4 +45,4 @@ public class ChineseChartTypePane extends UserDefinedChartTypePane { "/com/fr/solution/plugin/chart/echarts/images/map/map_type1.png" }; } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/ui/map/ChineseMapReportDataContentPane.java b/src/com/fr/solution/plugin/chart/echarts/ui/map/ChineseMapReportDataContentPane.java index 073a202..76a1f45 100644 --- a/src/com/fr/solution/plugin/chart/echarts/ui/map/ChineseMapReportDataContentPane.java +++ b/src/com/fr/solution/plugin/chart/echarts/ui/map/ChineseMapReportDataContentPane.java @@ -37,4 +37,4 @@ public class ChineseMapReportDataContentPane extends AbstractReportDataContentPa public boolean shouldResponseChangeListener() { return true; } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/ui/map/ChineseMapTableDataContentPane.java b/src/com/fr/solution/plugin/chart/echarts/ui/map/ChineseMapTableDataContentPane.java index 3198256..e61f9c2 100644 --- a/src/com/fr/solution/plugin/chart/echarts/ui/map/ChineseMapTableDataContentPane.java +++ b/src/com/fr/solution/plugin/chart/echarts/ui/map/ChineseMapTableDataContentPane.java @@ -21,10 +21,10 @@ public class ChineseMapTableDataContentPane extends AbstractTableDataContentPane public ChineseMapTableDataContentPane(ChartDataPane parent) { setLayout(new BorderLayout()); - UILabel label = new UILabel("测试布局"); + UILabel label = new UILabel("娴嬭瘯甯冨眬"); setBorder(BorderFactory.createLineBorder(Color.RED)); add(label, BorderLayout.NORTH); - correlationPane = new UICorrelationPane("区域名", "区域值"); + correlationPane = new UICorrelationPane("鍖哄煙鍚", "鍖哄煙鍊"); add(correlationPane, BorderLayout.CENTER); } @@ -53,4 +53,4 @@ public class ChineseMapTableDataContentPane extends AbstractTableDataContentPane public boolean shouldResponseChangeListener() { return true; } -} +} \ No newline at end of file diff --git a/src/com/fr/solution/plugin/chart/echarts/web/echarts.bridge.js b/src/com/fr/solution/plugin/chart/echarts/web/echarts.bridge.js index 5d01027..369893e 100644 --- a/src/com/fr/solution/plugin/chart/echarts/web/echarts.bridge.js +++ b/src/com/fr/solution/plugin/chart/echarts/web/echarts.bridge.js @@ -7,7 +7,7 @@ EChartsFactory = function(options, $dom) { this.chartID = options.chartID; this.autoRefreshTime = options.autoRefreshTime || 0; - this.width = options.width || $dom.width();// 补充从dom获取. + this.width = options.width || $dom.width();// 琛ュ厖浠巇om鑾峰彇. this.height = options.height || $dom.height(); this.sheetIndex = options.sheetIndex || 0; this.ecName = options.ecName || ''; @@ -35,7 +35,7 @@ EChartsFactory.prototype = { }, - //数据监控的刷新方式 + //鏁版嵁鐩戞帶鐨勫埛鏂版柟寮 setData:function(options, aimation){ }