Remove SERIES_TYPES from Visualization.

This commit is contained in:
Arik Fraimovich 2014-02-10 09:55:49 +02:00
parent d5cd02cab3
commit d2d4f6186f
2 changed files with 4 additions and 9 deletions

View File

@ -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]
}
};
}

View File

@ -291,11 +291,6 @@
'CHART': 'CHART',
'COHORT': 'COHORT',
'TABLE': 'TABLE'
},
SERIES_TYPES: {
'LINE': 'line',
'COLUMN': 'column',
'AREA': 'area'
}
};