score:10
update:
highcharts has now implemented the op's feature request. you can now specify the zindex
in the tooltip
property. like:
tooltip: {
crosshairs: [ {
width: 1,
color: 'lime',
zindex: 22
}, {
width: 1,
color: 'lime',
zindex: 22
} ]
},
at the time of this question, highcharts did not give us a way to do that. not even css styles can change the plot order (visibility).
consider making a feature request. (update: the fr was made and implemented.)
meanwhile, you can tweak the highcharts source (in that example, it is highcharts.com/js/testing.js).
find this line in the source file:
attribs = {
'stroke-width': crosshairsoptions[i].width || 1,
stroke: crosshairsoptions[i].color || '#c0c0c0',
zindex: 2
};
and change the zindex
to 20.
then find this line in the source file:
var group = renderer.g('tooltip')
.attr({ zindex: 8 })
.add(),
and change the zindex
to 22.
score:1
there is a zindex
attribute for crosshairs:
tooltip: {
crosshairs: [{
width: 3,
color: 'green',
zindex: 50
}, {
width: 3,
color: 'green',
zindex: 50
}]
},
Source: stackoverflow.com
Related Query
- Can highcharts crosshairs show on top of area chart fill?
- Highcharts - How can I remove starting and ending padding from area chart
- Highcharts Area chart gradient fill
- How can I display crosshair labels on top of the chart with Highcharts
- How can i load external json data in highcharts to show the bar chart
- HighCharts Bullet Chart label show on top Possible?
- Highcharts two colors for fill of area chart
- Adding space between the line and the fill in a Highcharts area chart
- Highcharts - How to show intermediate values on Area chart
- Highcharts (column, candlestick) show mouseover tooltip anywhere on chart similar to line or area
- Can we add fixed buttons on top of bars in highcharts bar chart
- How can I contain a label on a Highcharts area chart to the series' area
- How can I get access to a Highcharts chart through a DOM-Container?
- Highcharts Area graph, use 2 fill colors above / below X axis
- Highcharts Show x-axis on top
- Change color of area chart programmatically in highcharts
- Highcharts Area Chart - Specifying Area Color
- Show value of last point as label or tooltip on Highcharts Stock Chart
- How can I force highcharts to show every x-axis label regardless of spacing constraints?
- Highcharts chart going blank on zoomType: 'x' area range zoom?
- Show HighCharts tooltip when chart loads
- Highcharts - Bar - Setting the X axis width and the chart area width to be constant
- Highcharts 3.0, area chart with stacked and unstacked series - how to fix?
- Show more data on Gauge chart with Highcharts
- HighCharts area graph - show tooltip only on hover of marker
- Highcharts - Remove first marker from Area chart in every series
- Highcharts chart doesn't show in jquery dialog
- Highcharts - Area Chart - Stacking with series containing negative and positive values
- How can I hide and show a category in highcharts
- Angular Highcharts Custom Legend Label In Area Chart
More Query from same tag
- jsPDF addHTML method not working with no error message
- Plot Highchart multiple series line chart using JSON data
- How can I change the scale of the legend in highcharter in R?
- Highcharts - not able to resize onclick a button in angular 6
- Svg and Highcharts?
- Wrong start date in irregular intervals chart
- Highchart show percentage on group column highcharts
- Default X Axis position of highchart
- Highcharts: How can I find out which which legend items are disabled?
- How to import highchart-more into angular 4 project
- highcharts append to highcharts container div
- Force Highcharts to show last x-axis label
- Highcharts/Stockcharts - display absolute value within 100%
- Display additional informatin in the tooltip
- How to force start on min/max and prevent automatic rounding
- Append a jQuery variable to a click event handler function
- Highcharts set X axis label on tick
- Areaspline: edge to edge lines and hide first y label
- I want to make some custom variablepie chart for some special requirement
- HighCharts does not recognize a function of Legend
- Update two series on the same graph dynamically with HighCharts
- How to set brightness effects on specific columns on the stacked column/bar chart when using Highcharts?
- Highcharts multiple charts, each with live data
- Highcharts: Sort x-axis value from multiple CSV files
- Highchart maps show some states as selected with feasibility to select other states
- How to keep the highcharts legend "on" while hiding the series
- How to color series legend in highcharts when colorbypoint is set to true
- Change cursor on legend after disabling click
- Highcharts - Grouping certain columns in a series together while maintaining proper column widths
- Highchart Gantt chart Navigator color