|
|
@@ -53,9 +53,9 @@ export default {
|
|
|
baseConfig: { dataSource: { code: '' }, viewType: '' },
|
|
|
aggregateTableConfig: { targetColumn: {}, statistics: [], groupBy: [] },
|
|
|
dataViewConfig: { viewColumns: [], sortColumn: {key: ''}, sortType: 'asc' },
|
|
|
- barConfig: { xAxis: { column: {}, granularity: {} }, yAxis: { column: {}, gauge: {} }, groupBy: {key:''}, threshold: 1000 },
|
|
|
+ barConfig: { xAxis: { column: {}, granularity: {} }, yAxis: { column: {}, gauge: {} }, groupBy: {key:''}, threshold: 20 },
|
|
|
lineConfig: { xAxis: { column: {}, granularity: {} }, yAxis: { column: {}, gauge: {} }, groupBy: {key:''}, threshold: 1000 },
|
|
|
- pieConfig: { xAxis: { column: {}, granularity: {} }, yAxis: { column: {}, gauge: {} }, threshold: 1000 },
|
|
|
+ pieConfig: { xAxis: { column: {}, granularity: {} }, yAxis: { column: {}, gauge: {} }, threshold: 20 },
|
|
|
scatterConfig: { xAxis: { column: {}, granularity: {} }, yAxis: { column: {}, gauge: {} }, groupBy: {key:''}, threshold: 1000 },
|
|
|
styleConfig: { visibleIndex: true },
|
|
|
otherConfig:{},
|
|
|
@@ -132,11 +132,6 @@ export default {
|
|
|
*silentChangeField(action, { select, call, put }) {
|
|
|
const { name, value } = action;
|
|
|
yield put({ type: 'silentSetField', name, value });
|
|
|
-
|
|
|
- const { autoRefresh } = action;
|
|
|
- if(autoRefresh === undefined ? true : autoRefresh) {
|
|
|
- yield put({ type: 'fetchChartData' });
|
|
|
- }
|
|
|
},
|
|
|
*changeFields(action, { select, call, put }) {
|
|
|
const { fields } = action;
|
|
|
@@ -150,11 +145,6 @@ export default {
|
|
|
*silentChangeFields(action, { select, call, put }) {
|
|
|
const { fields } = action;
|
|
|
yield put({ type: 'silentSetFields', fields });
|
|
|
-
|
|
|
- const { autoRefresh } = action;
|
|
|
- if(autoRefresh === undefined ? true : autoRefresh) {
|
|
|
- yield put({ type: 'fetchChartData' });
|
|
|
- }
|
|
|
},
|
|
|
*changeDataSource(action, { select, call, put }) {
|
|
|
const { dataSource } = action;
|