score:4
Accepted answer
just add the argument showinlegend = f
:
highchart(type = "stock") %>%
hc_add_series(usdjpy, id = "usdjpy") %>%
hc_add_series_flags(dates,
title = c("e1", "e2"),
text = c("this is event 1", "this is the event 2"),
id = "usdjpy", showinlegend = f) %>%
hc_legend(enabled = t)
for more information: https://api.highcharts.com/highcharts/series.line.showinlegend
Source: stackoverflow.com
Related Query
- Remove flag legend in Highcharter graph
- Disable-Click on Legend in HighCharts Column Graph
- High charts remove dots from the line graph
- How do I remove the color swatch from my HighCharts legend without affecting the column?
- Legend and Axis titles not showing in Highcharts Graph
- Legend and Axis titles not showing in Highcharts Graph
- How can I change the scale of the legend in highcharter in R?
- Remove Image/Symbol from Highchart Graph
- R Markdown - Highcharter - Animate graph when visible, rather on page load?
- Highcharts semi-pie - remove space between pie and legend
- How can you have more than 10 colors represented in the graph and legend in highcharts?
- How to make legend color show up in Highcharts for a line graph under certain conditions?
- Highcharts legend is overlapping on to the graph area
- highcharter graph with 2 groups in r
- R Highcharter - X-axis names turning to index in graph
- Legend in network graph ( Highchart Js)
- Adding a pattern fill to a black and white column graph in Highcharter
- Problem in plotting a map graph using highcharter
- Change color of the values in heatmap or remove the values in highcharter R package
- Strange character in the Highstock source code
- How to remove extra one legend from High Charts- Bar chart (multiple & stacked)
- How can I remove the legend symbol for a SINGLE legend in Highcharts?
- R Highcharter customize legend to show only certain values
- Remove the strikethrough on legend symbols for line charts?
- want to remove this bullet in front of these labels of highcharts graph
- highcharts - Remove only legend for colorAxis (keep legend for series)
- R highcharter legend based on point color
- Custom colors in Highcharter are not mapping correctly to the legend
- R HighCharter Stock Graph not correctly pulling dates
- Highcharts graph remove existing ticks in interval on a category (x-axis)
More Query from same tag
- Highcharts with object array
- In highcharts, is it possible get the exact position of x axis labels for overlap detection purpose?
- highcharts x-axis date issue
- Snap the mouse to the X and Y axes
- Move the legend a little bit higher
- Highcharts data label getting cut off
- Highcharts in Bootstrap tabs: non-visible chart breaks on window resize?
- Highcharts: how do I add full data to multiple series in a chart
- yAxis tickinterval in highcharts is not working as per the value
- Bar chart with wrong bar height
- dynamically disable animation highcharts javascript
- How to have different cursor style for legends in Highcharts?
- How to access y - data in stack column after one of the legend is pressed/removed?
- Highchart long y-axis title may overlap with title when chart.styledMode set to true
- Highchart - show / hide an y-Axis without hiding the series
- get bot xAxis values when doing click event on highcharts
- The chartoptions in highcharts are not getting updated from function call in ngoninit
- Background color for multiple Highchart panes, in Vue app
- "TypeError: firstAxis.options.plotBands is undefined" while using highchart
- how to display 24 hours in xAxis on highcharts?
- jQuery.HighchartTable custom tooltip
- How to add Highcharts series automatically with a 2D-array?
- Highcharts Reflow Heavy Chart Lagging
- Highcharts - Parent color in legend
- Highstock : Shared tooltip except for one series
- Creating a line graph with highcharts and data in an external csv
- Highchartjs doesn't render properly with the data
- How can I get the max value of a y axis at highcharts?
- What is this Highstocks UI element, and can it be controlled independently of the tooltip?
- Highcharts - Disable the legend of secondary y axis by default