import { ChartModel } from './chart.model'; export const BAR_CHART_ORIENTATION = { vertical: 'vertical', horizontal: 'horizontal' }; export class BarChartModel extends ChartModel { orientation: string; grouped?: boolean; stacked?: boolean; /** * It is icon constructor, which take values from Chart Component and create Chart Model object. */ constructor(values: Object = {}) { super(); Object.assign(this, values); } }