Auto Scale Axis (#3070)

* fix input to chart that was causes scales to not auto size

* formatting

* formatting

* added comments
This commit is contained in:
Anthony Dresser
2018-10-31 20:27:40 -07:00
committed by Karl Burtram
parent ce7893c2e5
commit cff21124da
2 changed files with 30 additions and 17 deletions

View File

@@ -326,7 +326,7 @@ export class ChartView extends Disposable implements IPanelView {
this.optionDisposables.push(attachInputBoxStyler(numberInput, this._themeService));
break;
case ControlType.dateInput:
let dateInput = new InputBox(optionContainer, this._contextViewService, { type: 'date' });
let dateInput = new InputBox(optionContainer, this._contextViewService, { type: 'datetime-local' });
dateInput.value = value || '';
dateInput.onDidChange(e => {
if (this.options[option.configEntry] !== e) {