{"hidden":false,"children":[{"configs":{"itemId":"module"},"expanded":true,"children":[{"configs":{"layout":"border","itemId":"viewport1"},"expanded":true,"children":[{"configs":{"itemId":"chart1","region":"center"},"expanded":true,"children":[{"configs":{"itemId":"store","autoLoad":"true","pageSize":"-1","filters":"[\n  function(item) {\n    return item.index >= app.startIndex && item.index <= app.endIndex;\n  }\n]","url":"m?xwl=examples/controls/chart/data-source/employee"},"expanded":false,"children":[],"type":"store","events":{"success":"app.slider1.setMaxValue(app.chart1.store.getTotalCount() - 10);"}},{"configs":{"itemId":"axes"},"expanded":true,"children":[{"configs":{"itemId":"leftAxis","maximum":"100","position":"left","title":"休假时长","type":"numeric","fields":"VACATION_HOURS","minimum":"0"},"expanded":false,"children":[],"type":"axis"},{"configs":{"itemId":"bottomAxis","position":"bottom","title":"姓名","type":"category","fields":"REAL_NAME"},"expanded":true,"children":[],"type":"axis"}],"type":"array"},{"configs":{"itemId":"series"},"expanded":true,"children":[{"configs":{"itemId":"leftSeries","xField":"REAL_NAME","yField":"VACATION_HOURS","axis":"left","type":"column"},"expanded":true,"children":[],"type":"series"}],"type":"array"}],"type":"chart"},{"configs":{"itemId":"toolbar1","region":"south"},"expanded":true,"children":[{"configs":{"itemId":"slider1","useTips":"false"},"expanded":false,"children":[],"type":"slider","events":{"change":"Wb.apply(app, {\n  startIndex: newValue,\n  endIndex: newValue + 9\n});\napp.chart1.store.filter();"}}],"type":"toolbar"}],"type":"viewport","events":{"resize":"app.slider1.setWidth(width);"}}],"type":"module","events":{"initialize":"Wb.apply(app, {\n  startIndex: 0,\n  endIndex: 9\n});"}}],"roles":{"demo":1},"title":"可滚动图表","iconCls":"","inframe":false,"pageLink":""}