0

In version 2.5.5 markers was automatically clipped by x-axis, in version 3.0.2 they don't.

-> jsfiddle.net/7c8am/2/ - version 2.5.5. markers clipped

-> jsfiddle.net/vzv3X/2/ - last version, markers not clipped

Are there any options to enable clipping back?

setec
  • 15,506
  • 3
  • 36
  • 51
  • Sorry for inconvinient links, but i see no point in bringing code from jsfiddle to here just to satify awkward stackoveflow requirements.. – setec Aug 12 '13 at 11:05
  • 1
    Please take look at the thread: https://github.com/highslide-software/highcharts.com/issues/1128 – Sebastian Bochan Aug 12 '13 at 12:14
  • Thanx, so that was actually bug. Probably need to apply my own clipping on this markers, thanx for answer. – setec Aug 12 '13 at 13:44

1 Answers1

0

I've changed following in highcharts source file (line 13503, ver. 3.0.2):

       if (group && this.options.clip !== false) {
            group.clip(chart.clipRect);
            this.markerGroup.clip(); // no clip
        }

to

        if (group && this.options.clip !== false) {
            group.clip(chart.clipRect);
            this.markerGroup.clip(chart.clipRect);
        }
SheetJS
  • 22,470
  • 12
  • 65
  • 75
setec
  • 15,506
  • 3
  • 36
  • 51