Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/devextreme/js/__internal/viz/axes/base_axis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ Axis.prototype = {
that._setTickOffset();

that._isHorizontal = options.isHorizontal;
that.pane = options.pane;
that.pane = options.pane ?? that.pane;
that.name = options.name;
that.priority = options.priority;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2015,6 +2015,39 @@ QUnit.test('Validate Axis on update', function(assert) {
assert.strictEqual(chart.getArgumentAxis().getOptions().type, 'continuous');
});

QUnit.test('Constant lines dynamic update with automatically created value axis (T891599)', function(assert) {
const chart = this.createChart({
dataSource: [
{ t: new Date(2026, 5, 16), val1: 14.13, val2: 0, val3: 12 }
],
commonSeriesSettings: {
argumentField: 't'
},
panes: [
{ name: 'pane1' },
{ name: 'pane2' },
{ name: 'pane3' }
],
series: [
{ axis: 'ax_1', pane: 'pane1', type: 'line', valueField: 'val1' },
{ axis: 'ax_2', pane: 'pane2', type: 'line', valueField: 'val2' },
{ axis: 'ax_3', pane: 'pane3', type: 'line', valueField: 'val3' }
],
valueAxis: [
{ name: 'ax_1' },
{ name: 'ax_2' }
],
argumentAxis: {
argumentType: 'datetime',
constantLines: [{ value: new Date(2026, 5, 16) }]
}
});

chart.option('argumentAxis.constantLines', [{ value: new Date(2026, 5, 16) }]);
assert.ok(true, 'dynamic update argumentAxis.constantLines do not throw error');
});
Comment thread
pharret31 marked this conversation as resolved.


// T951843
QUnit.test('Chart can hide series on done event', function(assert) {
const drawn = sinon.spy();
Expand Down
Loading