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

Disable plugin for other charts #180

Open
6aldej opened this issue Oct 21, 2021 · 1 comment
Open

Disable plugin for other charts #180

6aldej opened this issue Oct 21, 2021 · 1 comment
Labels

Comments

@6aldej
Copy link

6aldej commented Oct 21, 2021

Hi, can you tell me if there is an option to disable the module for graphs in which I don't need to use category grouping?
For example, how is this done for the export module:

exporting: {
enabled: false
}

Highcharts is a global namespace and all modules are registered under this name. That is why an imported module in Ch2 works also in the Ch1. The same is with custom wraps.

"highcharts": "^9.1.2",
"highcharts-grouped-categories": "^1.2.0",
"highcharts-react-official": "^3.0.0",

@pawelfus
Copy link
Collaborator

Hi @6aldej

My apologies for the late reply. This plugin enables grouped categories for all charts. You don't need to disable it, simply use basic config for categories:

categories: ['Cat A', 'Cat B', ... , 'Cat N']

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