提交 53b67e47 编写于 作者: tony001's avatar tony001

添加雷达图指示器 ---fix1

上级 6ae5c5d6
...@@ -372,6 +372,14 @@ new ChartRadarSeries({ ...@@ -372,6 +372,14 @@ new ChartRadarSeries({
valueField:'${item.getValueField()?lower_case}', valueField:'${item.getValueField()?lower_case}',
seriesValues:[], seriesValues:[],
data:[], data:[],
<#if item.getIndicatorPSCodeList?? && item.getIndicatorPSCodeList()??>
<#assign indicatorCodeList = item.getIndicatorPSCodeList() />
indicator:[
<#list indicatorCodeList.getAllPSCodeItems as codeItem>
{name:'${codeItem.getText()}',max:codeItem.getUserParam('MAXVALUE',100)}<#if codeItem_has_next>,</#if>
</#list>
],
</#if>
<#if item.getPSChartDataSet()??> <#if item.getPSChartDataSet()??>
<#assign chartDataSet = item.getPSChartDataSet()/> <#assign chartDataSet = item.getPSChartDataSet()/>
<#if chartDataSet.getPSChartDataSetFields()??> <#if chartDataSet.getPSChartDataSetFields()??>
......
...@@ -190,17 +190,6 @@ import { ChartDataSetField,ChartLineSeries,ChartFunnelSeries,ChartPieSeries,Char ...@@ -190,17 +190,6 @@ import { ChartDataSetField,ChartLineSeries,ChartFunnelSeries,ChartPieSeries,Char
}, },
</#if> </#if>
<#-- 图例end --> <#-- 图例end -->
<#-- 雷达图指示器start -->
<#if ctrl.getIndicatorPSCodeList?? && ctrl.getIndicatorPSCodeList()??>
<#assign indicatorCodeList = ctrl.getIndicatorPSCodeList() />
radar:{
indicator:[
<#list indicatorCodeList.getAllPSCodeItems as codeItem>
{name:'${codeItem.getText()}',max:codeItem.getUserParam('MAXVALUE',100)}<#if codeItem_has_next>,</#if>
</#list>
]},
</#if>
<#-- 雷达图指示器end -->
<#-- 绘图网格start --> <#-- 绘图网格start -->
<#if ctrl.getPSChartGrids()??> <#if ctrl.getPSChartGrids()??>
grid:[ grid:[
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册