mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
Remove SERIES_TYPES from Visualization.
This commit is contained in:
parent
d5cd02cab3
commit
d2d4f6186f
@ -62,9 +62,9 @@
|
||||
'Cohort': Visualization.prototype.TYPES.COHORT
|
||||
};
|
||||
scope.seriesTypes = {
|
||||
'Line': Visualization.prototype.SERIES_TYPES.LINE,
|
||||
'Column': Visualization.prototype.SERIES_TYPES.COLUMN,
|
||||
'Area': Visualization.prototype.SERIES_TYPES.AREA,
|
||||
'Line': 'line',
|
||||
'Column': 'column',
|
||||
'Area': 'area',
|
||||
'Scatter': 'scatter'
|
||||
};
|
||||
|
||||
@ -94,7 +94,7 @@
|
||||
// Chart
|
||||
return {
|
||||
'series': {
|
||||
'type': Visualization.prototype.SERIES_TYPES.LINE
|
||||
'type': scope.seriesTypes[0]
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -291,11 +291,6 @@
|
||||
'CHART': 'CHART',
|
||||
'COHORT': 'COHORT',
|
||||
'TABLE': 'TABLE'
|
||||
},
|
||||
SERIES_TYPES: {
|
||||
'LINE': 'line',
|
||||
'COLUMN': 'column',
|
||||
'AREA': 'area'
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user