{
  "accUserMode" : 2,
  "getCapPSLanguageRes" : {
    "lanResTag" : "DE.LNAME.TEST"
  },
  "caption" : "测试实体",
  "codeName" : "TESTTestChartView",
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestChartView.json",
  "name" : "TESTTestChartView",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
  },
  "getPSAppModule" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPMODULES/Test.json"
  },
  "getPSAppViewEngines" : [ {
    "engineCat" : "VIEW",
    "engineType" : "ChartView",
    "name" : "engine"
  } ],
  "getPSControls" : [ {
    "codeName" : "Usr0303103107",
    "controlType" : "SEARCHFORM",
    "defaultLabelWidth" : 130,
    "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSSEARCHFORMS/Usr0303103107.json",
    "logicName" : "图表测试_搜索表单",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
    },
    "getPSControlHandler" : {
      "getPSHandlerActions" : [ {
        "actionType" : "FILTERACTION",
        "name" : "load",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "FilterGet"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
        }
      }, {
        "actionType" : "FILTERACTION",
        "name" : "loaddraft",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "FilterGetDraft"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
        }
      }, {
        "actionType" : "FILTERACTION",
        "name" : "search",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "FilterSearch"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
        }
      } ],
      "enableDEFieldPrivilege" : false,
      "id" : "搜索表单处理器"
    },
    "getPSControlParam" : {
      "autoLoad" : true,
      "showBusyIndicator" : true,
      "id" : "SEARCHFORM"
    },
    "getPSDEFormPages" : [ {
      "getCapPSLanguageRes" : {
        "lanResTag" : "CONTROL.DEFORM.TEST.USR0303103107.FORMPAGE.FORMPAGE1"
      },
      "caption" : "常规条件",
      "codeName" : "formpage1",
      "detailStyle" : "DEFAULT",
      "detailType" : "FORMPAGE",
      "name" : "formpage1",
      "getPSLayout" : {
        "childColMD" : 24,
        "columnCount" : 24,
        "layout" : "TABLE_24COL"
      },
      "infoGroupMode" : false
    } ],
    "getPSLayout" : {
      "childColMD" : 24,
      "columnCount" : 24,
      "layout" : "TABLE_24COL"
    },
    "searchButtonStyle" : "DEFAULT",
    "tabHeaderPos" : "TOP",
    "enableAdvanceSearch" : false,
    "enableAutoSearch" : false,
    "enableFilterSave" : false,
    "noTabHeader" : true,
    "name" : "searchform",
    "modelid" : "B821CEE2-0015-4BA0-ABFB-D6FD04356812",
    "modeltype" : "PSDEFORM_SEARCHFORM"
  }, {
    "codeName" : "Usr0303970568",
    "controlType" : "CHART",
    "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSCHARTS/Usr0303970568.json",
    "getFetchPSControlAction" : {
      "modelref" : true,
      "id" : "fetch",
      "actionType" : "DEDATASET",
      "name" : "fetch",
      "getPSAppDEMethod" : {
        "modelref" : true,
        "id" : "FetchDefault"
      },
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
      }
    },
    "logicName" : "Chart",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
    },
    "getPSChartCoordinateSystems" : [ {
      "eChartsType" : "cartesian2d",
      "index" : 0,
      "name" : "[bar_0]直角坐标系[0]",
      "getPSChartGrid" : {
        "index" : 0,
        "name" : "[bar_0]直角坐标系[0]",
        "getPSChartCoordinateSystem" : {
          "modelref" : true,
          "id" : "0"
        },
        "getPSChartGridXAxis0" : {
          "modelref" : true,
          "id" : "0"
        },
        "type" : "grid",
        "id" : "0"
      },
      "type" : "XY",
      "id" : "0"
    } ],
    "getPSChartDataSetGroups" : [ {
      "index" : 0,
      "name" : "DEFAULT",
      "getPSAppDEDataSet" : {
        "modelref" : true,
        "id" : "FetchDefault"
      },
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
      },
      "id" : "0"
    } ],
    "getPSChartDataSets" : [ {
      "index" : 0,
      "name" : "bar_0-DEFAULT",
      "getPSChartDataSetFields" : [ {
        "index" : 0,
        "name" : "AMOUNT",
        "groupField" : true,
        "id" : "0"
      }, {
        "index" : 1,
        "name" : "TYPE",
        "groupField" : true,
        "id" : "1"
      } ],
      "id" : "0"
    } ],
    "getPSChartGrids" : [ {
      "index" : 0,
      "name" : "[bar_0]直角坐标系[0]",
      "getPSChartCoordinateSystem" : {
        "modelref" : true,
        "id" : "0"
      },
      "getPSChartGridXAxis0" : {
        "modelref" : true,
        "id" : "0"
      },
      "type" : "grid",
      "id" : "0"
    } ],
    "getPSChartXAxises" : [ {
      "eChartsPos" : "xAxis",
      "eChartsType" : "value",
      "index" : 0,
      "name" : "axis_xAxis_0",
      "position" : "bottom",
      "type" : "numeric",
      "id" : "0"
    } ],
    "getPSControlHandler" : {
      "getPSHandlerActions" : [ {
        "actionName" : "Get",
        "actionType" : "DEACTION",
        "dataAccessAction" : "READ",
        "name" : "load",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "Get"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
        }
      }, {
        "actionName" : "Create",
        "actionType" : "DEACTION",
        "dataAccessAction" : "CREATE",
        "name" : "create",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "Create"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
        }
      }, {
        "actionName" : "Update",
        "actionType" : "DEACTION",
        "dataAccessAction" : "UPDATE",
        "name" : "update",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "Update"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
        }
      }, {
        "actionName" : "Remove",
        "actionType" : "DEACTION",
        "dataAccessAction" : "DELETE",
        "name" : "remove",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "Remove"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
        }
      }, {
        "actionType" : "DEDATASET",
        "name" : "fetch",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "FetchDefault"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
        }
      } ],
      "userDRAction" : "READ",
      "enableDEFieldPrivilege" : false,
      "id" : "图形控件处理器"
    },
    "getPSControlParam" : {
      "autoLoad" : true,
      "showBusyIndicator" : true,
      "id" : "CHART"
    },
    "getPSDEChartDataGrid" : {
      "index" : 0,
      "id" : "0"
    },
    "getPSDEChartLegend" : {
      "index" : 0,
      "showLegend" : true,
      "id" : "0"
    },
    "getPSDEChartSerieses" : [ {
      "catalogField" : "AMOUNT",
      "eChartsType" : "bar",
      "index" : 0,
      "name" : "bar_0",
      "getPSChartCoordinateSystem" : {
        "modelref" : true,
        "id" : "0"
      },
      "getPSChartDataSet" : {
        "modelref" : true,
        "id" : "0"
      },
      "getPSChartSeriesEncode" : {
        "index" : 0,
        "itemId" : "TYPE",
        "itemName" : "TYPE",
        "name" : "坐标系编码",
        "getPSChartXAxis" : {
          "modelref" : true,
          "id" : "0"
        },
        "type" : "XY",
        "id" : "0"
      },
      "getPSControlLogics" : [ {
        "itemName" : "bar_0",
        "logicTag" : "chart",
        "logicType" : "SCRIPT",
        "name" : "y1",
        "scriptCode" : "true",
        "triggerType" : "ITEMVISIBLE"
      } ],
      "seriesField" : "TYPE",
      "seriesLayoutBy" : "column",
      "seriesType" : "bar",
      "enableChartDataSet" : true,
      "stack" : false
    } ],
    "getPSDEChartTitle" : {
      "index" : 0,
      "title" : "图表测试_图表",
      "showTitle" : true,
      "id" : "0"
    },
    "readOnly" : true,
    "name" : "chart",
    "modelid" : "A7BC24A3-ACD6-42A6-B8DA-626D9A74CED2",
    "modeltype" : "PSDECHART",
    "getUserParam" : {
      "EC.emphasis" : "{\"show\":true,\"itemStyle\":{\"opacity\":0.8,\"borderWidth\":6,\"borderColor\":\"\"},\"focus\":\"self\",\"scale\":true,\"shadowBlur\":10,\"shadowOffsetX\":0,\"shadowColor\":\"rgba(0,0,0,0.5)\"}",
      "EC.title" : "{\"text\":\"总数：${params.count}\",\"left\":\"center\",\"top\":\"center\",\"textStyle\":{\"fontSize\":\"18px\"}}",
      "EC.LLLKKK" : "{\"formatter\": \"function (params, ticket, callback) {const newDiv = document.createElement('div');Object.assign(newDiv, { style: 'margin: 0px 0 0;line-height:1;' });const items = Array.isArray(params) ? params : [params];const axisVal = items[0].axisValue;const nodes = items.map((item, index) => {const margin = index === 0 ? '0px 0 0' : '10px 0 0';const { seriesName, marker, data } = item;const yData = data[1];const yValue = data[2] || {};const showValue =  yValue._seriesModelId === 'line_1' ? `${yData}%` : yData;return `<div style='margin: 0px 0 0;line-height:1;'><div style='margin:${margin};line-height:1;'>${marker}<span style='font-size:14px;color:#666;font-weight:400;margin-left:2px'>${seriesName}</span><span style='float:right;margin-left:20px;font-size:14px;color:#666;font-weight:900'>${showValue}</span><div style='clear:both'></div></div><div style='clear:both'></div></div>`;});const newDivContent = `<div style='margin: 0px 0 0;line-height:1;'><div style='font-size:14px;color:#666;font-weight:400;line-height:1;'>${axisVal}</div><div style='margin: 10px 0 0;line-height:1;'>${nodes.join('')}<div style='clear:both'></div></div><div style='clear:both'></div></div><div style='clear:both'></div>`;newDiv.innerHTML = newDivContent;return newDiv;}\"}",
      "EC.legend" : "{\"left\":\"center\",\"bottom\":0,\"orient\":\"horizontal\",\"icon\":\"circle\",\"type\":\"plain\"}",
      "EC.color" : "[\"#5470c6\",\"#91cc75\",\"#fac858\",\"#ee6666\",\"#73c0de\",\"#3ba272\",\"#fc8452\",\"#9a60b4\",\"#ea7ccc\",\"#5470c6\",\"#91cc75\"]"
    }
  }, {
    "getCapPSLanguageRes" : {
      "lanResTag" : "DE.LNAME.TEST"
    },
    "caption" : "测试实体",
    "codeName" : "TestChartViewcaptionbar",
    "controlType" : "CAPTIONBAR",
    "name" : "captionbar",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
    },
    "getPSControlParam" : { }
  } ],
  "getPSDEViewCodeName" : "TestChartView",
  "getPSDEViewId" : "00F8718A-BC45-4541-8FA9-A8C371EBD715",
  "getPSViewLayoutPanel" : {
    "codeName" : "Layoutpanel",
    "controlStyle" : "APPDECHARTVIEW",
    "controlType" : "VIEWLAYOUTPANEL",
    "name" : "layoutpanel",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
    },
    "getPSControlParam" : { },
    "layoutBodyOnly" : true,
    "layoutPanel" : true,
    "useDefaultLayout" : true
  },
  "title" : "图表测试",
  "getTitlePSLanguageRes" : {
    "lanResTag" : "PAGE.TITLE.TEST.TESTCHARTVIEW"
  },
  "viewStyle" : "DEFAULT",
  "viewType" : "DECHARTVIEW",
  "enableDP" : true,
  "enableQuickGroup" : false,
  "enableQuickSearch" : false,
  "enableSearch" : true,
  "expandSearchForm" : false,
  "loadDefault" : true,
  "modelid" : "451E350C-A0B2-4CDC-B261-94D2781411E4",
  "modeltype" : "PSAPPDEVIEW"
}