类 EChartBase
java.lang.Object
com.sh.wf.module.component.Component
com.sh.wf.module.component.chart.EChartBasePre
com.sh.wf.module.component.chart.EChartBase
- 所有已实现的接口:
ComponentExport_I,ComponentLoad_I,Serializable,Cloneable
- 直接已知子类:
ColumnEChart,PieEChart,SelfEChart,SelfEChart2,TreeMapEChart
Description: 图表基类
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- 2015年1月28日
- 另请参阅:
-
字段概要
从类继承的字段 com.sh.wf.module.component.chart.EChartBasePre
afterRenderEvent, alphaAngle, backgroundColor, barType, betaAngle, calculable, chartHeight, chartSubTitle, chartTheme, chartTitle, chartWidth, clickFunc, dataLabelsEnabled, dataLabelsInside, dataZoom, defaultLegendDesc, demoSName, demoY1Name, demoY1Unit, demoY2Name, demoY2Unit, depthValue, dsName, dzEnd, dzStart, enableMouseTracking, erc, exportingEnabled, fillRadar, gridBorder, gridx, gridx2, gridy, gridy2, hasY2Alias, initHidden, initLoad, legendOrient, legendPosition, legendType, legendxPosition, lineType, markLineList, plotDepth, responseSystemQuery, saliasList, seriesColor, seriesColorValue, seriesData, settingJavaAttr, showWith3D, smooth, stacking, toolboxEnable, tooltip, tooltipEnable, tooltipUseHTML, type, useDemoData, viewDistance, xalias, xAxisData, xlabelFontColor, xlabelFontSize, xlabelsEnable, xposition, xRotation, xshowAll, xsline, y1Color, y1Max, y1Min, y1Name, y1Unit, y1WeiType, y2Color, y2Max, y2Min, y2Name, y2Unit, y2WeiType, yaliasList, ylabelFontColor, yposition, ysline从类继承的字段 com.sh.wf.module.component.Component
__initHidden, attrMap, authInfo, autoId, autoTriggerEvent, beginHtml, cflag, childComponentList, contextMenu, dictAttr, endHtml, eventAttr, exDataMap, h1, id, idOri, isAutoLoad, isRulePageShow, isShowComponentFlag, moduleData, pageRuleAttr, parent, parentLayout, parentTableId, pstyle, ruleLastShowHide, ruleShowHideTotal, selfAttr, selfFlag, seqType, sid, style, tagWrap, timerAttr, w1, wrapComponent, x1, y1 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected voidafterCommon(ModuleContext context, StringBuilder html) protected voidbeforeCommon(ModuleContext context, StringBuilder html) 第一次加载页面前callExFunc(ModuleContext context) 组件扩展执行方法,比如:在组件上执行某些操作后,再次请求后台的情况voidparserAttrEx(org.jdom2.Element nodelEl) abstract voidprocessChartAttr(ModuleContext context, ChartObj chart, StringBuilder html) 处理属性abstract voidprocessChartData(ModuleContext context, ChartObj chart, StringBuilder html) 处理数据protected voidprocessCommonChartAttr(ModuleContext context, ChartObj chart, String chartId) 设置配置参数的公共属性,主要是解决适配自定义ECharts2组件voidprocessEvent(ModuleContext context, StringBuilder html, ChartObj chart, String chartId) 图表事件voidprocessSelfOption(ModuleContext context, String chartId, StringBuilder html) 自定义图表使用toHtml(ModuleContext context) 转化为HTML代码toLoadHtml(ModuleContext context) 动态加载图表脚本protected voidtoLoadHtmlAfter(ModuleContext context, ChartObj chart, StringBuilder html, String chartId) protected voidtoLoadHtmlBefore(ModuleContext context, ChartObj chart, StringBuilder html, String chartId) protected voidtoLoadHtmlBefore(ModuleContext context, StringBuilder html, String chartId) 从类继承的方法 com.sh.wf.module.component.chart.EChartBasePre
getDefaultLegendDesc, getY1Name, getY2Name, parserBase, parserColorValue, processToolbar, toMobileHtml从类继承的方法 com.sh.wf.module.component.Component
addComponent, addRowIdAttr, autoCalWidth, beforeCheckSaveDsCol2, commonParser, createAutoId, doExport, doExportCSV, getAuthInfo, getBeginHtml, getCflag, getComponentContext, getComponentType, getDictAttr, getEndHtml, getEventAttr, getExValue, getH1, getId, getMcuuid, getModuleData, getName, getName, getParent, getParentLayout, getParentLayoutStyle, getPstyle, getRowId, getSaveDsCol2Name, getSelfAttr, getSelfFlag, getSid, getStyle, getSubCallExUrlFull, getSubLoadUrl, getW1, getWrapBegin, getWrapEnd, getX1, getY1, is__initHidden, isArrayRequestParam, isAutoLoad, isPageShow, isSeqUnique, isShowComponentFlag, isUsePosition, isVisible, notifyParserChildComponent, parser, parserExData, processQueryParam, renderAfter, renderAfter, renderBefore, setAutoLoad, setComponentType, setExData, setId, setModuleData, setParent, setParentLayout, setRuleShowHidden, setShowComponentFlag, setStyle, toHtml2, toWrapHtml从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.sh.wf.module.component.ComponentLoad_I
getId
-
构造器详细资料
-
EChartBase
public EChartBase()
-
-
方法详细资料
-
beforeCommon
第一次加载页面前- 参数:
context-html-
-
toHtml
从类复制的说明:Component转化为HTML代码 -
afterCommon
-
toLoadHtml
动态加载图表脚本- 参数:
context- ModuleContext- 返回:
- 加载的HTML
-
toLoadHtmlBefore
-
toLoadHtmlBefore
protected void toLoadHtmlBefore(ModuleContext context, ChartObj chart, StringBuilder html, String chartId) -
processCommonChartAttr
设置配置参数的公共属性,主要是解决适配自定义ECharts2组件- 参数:
context-chart-
-
processChartAttr
处理属性- 参数:
context- ModuleContextchart- ChartObjhtml- StringBuilder
-
processChartData
处理数据- 参数:
context- ModuleContextchart- ChartObjhtml- StringBuilder
-
processSelfOption
自定义图表使用- 参数:
context- ModuleContextchartId- 图表编号html- StringBuilder
-
toLoadHtmlAfter
protected void toLoadHtmlAfter(ModuleContext context, ChartObj chart, StringBuilder html, String chartId) -
processEvent
图表事件- 参数:
context- ModuleContexthtml- StringBuilderchart- ChartObjchartId- 图表编号
-
callExFunc
从接口复制的说明:ComponentLoad_I组件扩展执行方法,比如:在组件上执行某些操作后,再次请求后台的情况- 参数:
context- ModuleContext- 返回:
- 脚本
-
parserAttrEx
public void parserAttrEx(org.jdom2.Element nodelEl) - 指定者:
parserAttrEx在类中EChartBasePre
-