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

Feature request: Add drilldown #29

Open
busla opened this issue Oct 3, 2017 · 8 comments
Open

Feature request: Add drilldown #29

busla opened this issue Oct 3, 2017 · 8 comments

Comments

@busla
Copy link

busla commented Oct 3, 2017

Would be great to see drilldown as part of this library:
https://www.highcharts.com/docs/chart-concepts/drilldown

@whawker
Copy link
Owner

whawker commented Oct 4, 2017

Interesting, I wasn't even aware this feature existed! I'll look in to it!

@busla busla closed this as completed Oct 4, 2017
@busla busla reopened this Oct 4, 2017
@busla
Copy link
Author

busla commented Oct 4, 2017

Thanks!

@adriantoine
Copy link

As a workaround it is possible to add the drilldown data to the HighchartsChart component.

For example:

<HighchartsChart
  drilldown={{
    series: [
      {
        name: 'Value name',
        id: 'value-name',
        data: [['Sub Value 1', 10], ['Sub Value 2', 40]],
      },
    ],
  }}
>
  [...]
  <ColumnSeries
    id="col-serie"
    name="Col Serie"
    data={[{ name: 'Value name', y: 50, drilldown: 'value-name' }]}
  />
</HighchartsChart>;

And you also have to import and apply the highcharts drilldown package before using Highcharts:

import Highcharts from 'highcharts';
import applyDrilldown from 'highcharts/modules/drilldown';

applyDrilldown(Highcharts);

It would be great to have a special integration in the library but for now this works fine!

Thanks for the nice library btw!

@bondz
Copy link
Contributor

bondz commented Nov 15, 2017

@adriantoine can you please, please, please provide a complete working example? I'm stuck trying to do this.

@bondz
Copy link
Contributor

bondz commented Nov 15, 2017

Hmm, I seem to have figured it out, thanks though. @whawker brilliant library BTW.

@gperdomor
Copy link

gperdomor commented Apr 17, 2018

the drill down not works for me when the data comes from a Ajax call... only the "sumary" data is rendered. The drill down data seems to be cached with the initial data and not update when the data changes

@bdevika
Copy link

bdevika commented Jan 14, 2019

can any one give a codepen working example of react-jsx-highcharts with drilldown feature

@lecole
Copy link

lecole commented Mar 11, 2019

@whawker Thanks for the workaround in #199 I tried a similar pattern for the Maps drill-down, but was unable to get the map to redraw properly. Is there a possible workaround for the maps drill-down?

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

No branches or pull requests

7 participants