mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
@@ -81,8 +81,8 @@ export interface IChartConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const defaultChartConfig: IChartConfig = {
|
export const defaultChartConfig: IChartConfig = {
|
||||||
labelFirstColumn: false,
|
labelFirstColumn: true,
|
||||||
columnsAsLabels: false,
|
columnsAsLabels: true,
|
||||||
legendPosition: LegendPosition.Top,
|
legendPosition: LegendPosition.Top,
|
||||||
dataDirection: DataDirection.Vertical
|
dataDirection: DataDirection.Vertical
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -122,15 +122,13 @@ export class ChartViewerComponent implements OnInit, OnDestroy, IChartViewAction
|
|||||||
this._chartConfig = <ILineConfig>{
|
this._chartConfig = <ILineConfig>{
|
||||||
dataDirection: 'vertical',
|
dataDirection: 'vertical',
|
||||||
dataType: 'point',
|
dataType: 'point',
|
||||||
legendPosition: 'none',
|
legendPosition: 'none'
|
||||||
labelFirstColumn: false
|
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
this._chartConfig = <ILineConfig>{
|
this._chartConfig = <ILineConfig>{
|
||||||
dataDirection: 'vertical',
|
dataDirection: 'vertical',
|
||||||
dataType: 'number',
|
dataType: 'number',
|
||||||
legendPosition: 'none',
|
legendPosition: 'none'
|
||||||
labelFirstColumn: false
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user