Fix time series (#2985)

* fix time series type string

* remove unused code
This commit is contained in:
Anthony Dresser
2018-10-23 13:52:35 -07:00
committed by Karl Burtram
parent 2c007115f7
commit a8eaf28884

View File

@@ -275,7 +275,7 @@ export class ChartView implements IPanelView {
dropdown.render(optionContainer);
dropdown.onDidSelect(e => {
if (this.options[option.configEntry] !== option.options[e.index]) {
this.options[option.configEntry] = option.options[e.index];
this.options[option.configEntry] = option.options[e.index] === 'timeSeries' ? 'line' : option.options[e.index];
if (this.insight) {
this.insight.options = this.options;
}