-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests: Moved issue test #4284 to unit-tests.
- Loading branch information
1 parent
792e972
commit 990e918
Showing
4 changed files
with
30 additions
and
33 deletions.
There are no files selected for viewing
33 changes: 0 additions & 33 deletions
33
samples/issues/highcharts-4.1.6/4284-column-update/demo.js
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
QUnit.test('Column update(#4284)', function (assert) { | ||
var chart = $('#container').highcharts({ | ||
chart: { | ||
animation: false | ||
}, | ||
|
||
xAxis: { | ||
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', | ||
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] | ||
}, | ||
|
||
series: [{ | ||
type: 'column', | ||
animation: false, | ||
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4] | ||
}] | ||
|
||
}).highcharts(); | ||
|
||
var point = chart.series[0].points[0]; | ||
point.update({ y: 100 }); | ||
|
||
|
||
assert.notEqual( | ||
point.graphic.element.getAttribute('visibility'), | ||
'hidden', | ||
'Point is visible' | ||
); | ||
|
||
}); |