Highcharts: when exporting, unselected series should not show in the legend - highcharts

In highcharts, series can be selected/unselected by clicking on their names in the legend.
If I have some series unselected (they are greyed in the legend), the export function will create an image where the unselected series name are visible.
How can I make the unselected series names not visible in the legend when I export them to a graphic?

The example (http://www.highcharts.com/demo/) works as you expect, when you hide i.e Tokyo serie and export to png/jpeg etc, serie is not visible.

Related

How to create a single color pie chart in Tableau

I am creating a pie chart based on different room types in the market , when I take out the color marks , the pie chart would be just one color but without border showing pie chart with just one color
Even if you don't put anything in the color mark, you can change the color and color of the borders from there.
Click to the color mark and change the border from "Automatic" to the color you want for the borders :)

Highcharts tooltip stock color change

I want to change the color showed on the left of the stock name in the candlestick chart , BUT when edit color: in the series, it also changes the color of my candlestick chart, I want to have different color for every stock but to keep the same color in the chart. Any possible ways of doing this?

How can I change the color of plot bands in Highchart basic column chart?

I opened the basic column chart using Highcharts and now I need to make little customization. I would like to change the color of the plot band that is visible when I place the mouse pointer within one category on X axis. I tried to use the xAxis -> plotBand option, but it only changes the color with specific start and end values. How could I change this color on mouseover?
This is some example, how I would like it to look: https://www.dropbox.com/s/ilxhd99xo8pwn7v/Zrzut%20ekranu%202015-09-05%2020.20.17.png?dl=0

Highstock reverts to same color for columns

I have a Highstock chart that is populated dynamically. The chart is based on this example. One of the series is "column" series. When I call series.addPoint, the point object contains the color property, which is set to either red or green.
When there are just a few data points, the column colors are red or green, but when there is a lot of data, the colors of all bars switch to blue. Do you know how to prevent the color from switching to blue?
The other issue is the date in the tooltip shows Week of [Date] instead of just stating the Date. Not sure if the root cause of this issue is the same.
Thanks.
Probably it is relted with fact that in Highstock, dataGrouping is enabled, so data is grouped and have "no knowledge" which color should be. So I advice to disable dataGrouping.
http://api.highcharts.com/highstock#plotOptions.series.dataGrouping.enabled

Changing the contents of Highcharts legend

When using Highcharts, is it possible to change the contents of the legend to display something other than the series?
For example, I have a scatter chart with just one series but with many elements, so that the element labels obstruct one another and are illegible:
Would it be possible to use the legend to display the element names instead of the series? (each member in the series has a different color so that it is possible to use the legend in this case)
EDIT:
It turns out there isn't any good way to do this, so I wrote my own custom legend. You can find the code here: http://pastie.org/5115536
I hope you find it useful
Highcharts allows to show data points instead of series name in the in the legend. But, Unfortunately its only for Pie charts type:pie.
There is a default option available for the Pie Chart though undocumented in the API.
legendType: 'point',
If you try to set it for other type of chart, Legend does not gets rendered.

Resources