score:1
Accepted answer
you can enable all markers, and prepare own function which recognise if markers has next element or not. then show/hide appropriate svg elements.
var data = chart.series[0].data,
len = data.length,
i = 0;
for(i;i<len;i++) {
if((typeof(data[i+1]) != "undefined") && (data[i+1].y!=null) && (data[i-1].y!=null) && (data[i].y!=null))
data[i].graphic.destroy();
}
score:1
yes, you can set the marker
properties per point. not that you have to allow markers globally in the chart. see example here.
sample code:
data: [{
y: 29.9,
marker: {
linewidth: 2
}
}, {
y: null,
marker: {
enabled: false
}
},....
score:3
first you can disable all markers by the following code:
plotoptions: {
line: {
marker: {
enabled: false
}
}
}
then you just have to enable the markers you want(jan and mar).
series: [{
data: [
// january
{
y: 29.9,
marker: {
enabled: true
}
},
null,
// march
{
y: 106.4,
marker: {
enabled: true
}
},
...
}]
Source: stackoverflow.com
Related Query
- Showing marker for separate values only in line chart in HIghchart
- Highchart showing indicator at last point for line chart
- HighChart : plot line click event for multiple chart
- Displaying a Highchart Line Chart in Mapbox Marker Pop-up
- Issue with Spider HighChart as it is showing as a line chart sometimes
- Is it possible to trigger tooltip in highchart of a line chart ONLY when the mouse hovers over the point?
- HighCharts Line Chart draw y axis line for entire line points and only one line
- Highchart not showing 0 data correctly for pie chart
- HighChart showing future Time on X-axis for real time chart
- Line and column combo chart with multiple columns for each category, how to position line marker for each category on a specific column?
- Highchart line chart Tooltip showing index value instead of X-axis formatted label name
- Highchart in the loop showing only first chart data
- HighCharts turn animation false for line chart
- How to display highchart series line marker symbol from tooltip formatter?
- Highchart Area Range chart with gradient that follows the line
- Disable marker hover in only one marker of highchart
- How to apply borderRadius only for top side of Column or Bar in Highchart
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- How to break highchart bars for extreme values
- Highcharts line chart tooltips not showing correctly?
- Highcharts Line - When Y axis min is set to 0, connecting line isn't shown for consecutive 0 values
- Series fillColor for marker on hover ONLY
- Highchart (basic line chart) which can have multiple values vs x axis?
- Fire click event on a highchart column drilldown chart on clicking x axis for drill down reports
- Gradient fill for react-highcharts' line chart
- Use MySQL data as the chart data for the cakephp highchart plugin
- remove previous markers and retain only single marker highchart
- Set line opacity in highchart line chart
- High chart date time conversion showing wrong values
- how to change color of line chart in highchart based on a categorical column in r?
More Query from same tag
- How to speed up the package loading in R (in Shiny app)
- External variable in the title of the chart
- Highcharts Realtime Multi-series
- How to load geojson file in asp.net mvc
- Highcharts: enforce options when adding a serie with addSeries
- Highcharts multiple series json from php
- Highcharts legend custom css style / format using only highcharts options
- How to use Highmaps and Highcharts with Meteor?
- I want to show all lines but just legend of one of them in highchart
- Area range legend icon does not match marker
- Is it possible to add the date navigator to a columnrange chart using Highcharts?
- Highcharts {Pie} - Remove slice pieces out onclick
- Highchart - Connect nulls only when value is null
- PieChart (HighCharts) Data and Labels
- Highcharts: setting spacing dynamically
- Hiding axis labels in non-aggregate columns during drillown
- Highcharts data labels not showing on multiple xAxis and yAxis
- Spanning categories in Highcharts across multiple points
- Highcharts Spline: Custom chart marker, on a staggered interval, across the plotted line?
- Why dynamically updated data in highstock seems not work properly
- Highcharts zIndex issue with crosshair
- Highcharts unevenly spaced x-axis with category labels
- HightCharts Renko chart disapear after zoom
- How to draw multiple segments overlapping and non overlapping in high-charts?
- how to make chart real time with 2 line and get data from php with highcharts
- Highchart - change data series with link
- 3D Scatter chart scrolling if I scroll the scrollbar
- highmaps usa county map not coloring counties for Nebraska, New Mexico, or New York
- Highcharts server post request issue
- Highcharts - Hide Navigator Range Lines