Skip to content

Commit

Permalink
Moved issue test #4794 to unit-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sigrunnu committed Sep 25, 2019
1 parent 3a0c785 commit 34fd4b1
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 28 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
QUnit.test("Data module with decimapPoint and negative numbers (#4749)", function (assert) {
var chart = $("#container").highcharts({
data: {
table: 'datatable',
decimalPoint: ','
},
chart: {
type: 'column'
}
}).highcharts();

assert.equal(
chart.series[0].points.map(function (point) {
return point.y;
}).join(','),
'-3.4,-1.2,5.1,-1.1,-3.12',
'Series 1 correct data'
);
assert.equal(
chart.series[1].points.map(function (point) {
return point.y;
}).join(','),
'-4.24,-1.5,11.1,-1.1,-2.9',
'Series 2 correct data'
);
});

0 comments on commit 34fd4b1

Please sign in to comment.