Skip to content
Browse files

Don't use the xAxis.labels.overflow logic on staggerLines

  • Loading branch information...
1 parent be114e2 commit 1b98f0fa7598af6b19be276c13ab3f326a121ad2 highslide-software committed Mar 13, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 js/highcharts.src.js
  2. +1 −1 js/highstock.src.js
  3. +1 −1 js/parts/Chart.js
View
2 js/highcharts.src.js
@@ -5634,7 +5634,7 @@ function Chart(userOptions, callback) {
show = false;
// Handle label overflow and show or hide accordingly
- } else if (horiz && labelOptions.overflow === 'justify' && !tick.handleOverflow(index)) {
+ } else if (!staggerLines && horiz && labelOptions.overflow === 'justify' && !tick.handleOverflow(index)) {
show = false;
}
View
2 js/highstock.src.js
@@ -5634,7 +5634,7 @@ function Chart(userOptions, callback) {
show = false;
// Handle label overflow and show or hide accordingly
- } else if (horiz && labelOptions.overflow === 'justify' && !tick.handleOverflow(index)) {
+ } else if (!staggerLines && horiz && labelOptions.overflow === 'justify' && !tick.handleOverflow(index)) {
show = false;
}
View
2 js/parts/Chart.js
@@ -494,7 +494,7 @@ function Chart(userOptions, callback) {
show = false;
// Handle label overflow and show or hide accordingly
- } else if (horiz && labelOptions.overflow === 'justify' && !tick.handleOverflow(index)) {
+ } else if (!staggerLines && horiz && labelOptions.overflow === 'justify' && !tick.handleOverflow(index)) {
show = false;
}

0 comments on commit 1b98f0f

Please sign in to comment.
Something went wrong with that request. Please try again.