UNPKG

devexpress-reporting

Version:

DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.

22 lines (21 loc) 857 B
/** * DevExpress HTML/JS Reporting (chart\components\axis\_secondaryAxisViewModel.js) * Version: 24.2.7 * Build date: Apr 29, 2025 * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * License: https://www.devexpress.com/Support/EULAs/universal.xml */ import { secondaryAxisXYSerializationsInfo } from '../../internal/meta/_axis'; import { initCollectionItem } from './_axis'; import { AxisXYViewModel } from './_axisXYViewModel'; export class SecondaryAxisViewModel extends AxisXYViewModel { constructor(model, parent, serializer) { super(model, serializer, secondaryAxisXYSerializationsInfo); initCollectionItem(this, parent)(); } get axisID() { return this.parent().indexOf(this); } } SecondaryAxisViewModel.xPrefix = 'Secondary Axis X'; SecondaryAxisViewModel.yPrefix = 'Secondary Axis Y';