Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggle off series and export as image #144

Open
arnoldpettibone opened this issue Sep 21, 2017 · 0 comments
Open

Toggle off series and export as image #144

arnoldpettibone opened this issue Sep 21, 2017 · 0 comments
Labels
Milestone

Comments

@arnoldpettibone
Copy link

Expected behavior

  1. The user hides a series on the chart by clicking on the corresponding legend item.
  2. The user exports the chart as image
  3. The image fully resembles the chart shown in the main page

Actual behavior

  1. The user hides the orange series on the chart by clicking on the corresponding legend item.
  2. The user exports the chart as image
  3. The image is different from the source. The hidden orange series line is shown moved to the left, outside the chart grid (see image)
    1

Workaround

Set this option in the chart extender.

this.cfg.legend.rendererOptions: { seriesToggleReplot: true }

Even if the chart image is correct, the legend's voice for the hidden series is not strike through.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants