Coder Social home page Coder Social logo

Comments (5)

gregjopa avatar gregjopa commented on July 18, 2024

I was wrong. You can implement a drilldown chart with this addon. You just need to include the drilldown option in the chartOptions argument (previously I was trying to include it in the content argument which is incorrect).

Check out PR #77 which includes a demo of how to implement a drilldown chart with this addon.

from ember-highcharts.

Datamance avatar Datamance commented on July 18, 2024

Ok I think part of the problem is that I'm somehow version-locked to 0.1.3. If I try and build my project with any of the other versions, I get an error that I'm missing the highcharts dep:

[ember 05/16/16 11:13:57] version: 1.13.8
[ember 05/16/16 11:13:57] Could not find watchman, falling back to NodeWatcher for file system events.
[ember 05/16/16 11:13:57] Visit http://www.ember-cli.com/user-guide/#watchman for more info.
[ember 05/16/16 11:13:57] BuildingBuilding...
[ember 05/16/16 11:14:01] Cannot find module 'highcharts'
[ember 05/16/16 11:14:01] Error: Cannot find module 'highcharts'

I get the sneaking suspicion that 0.3.0+ has what I need in order to get drilldown to work.

from ember-highcharts.

gregjopa avatar gregjopa commented on July 18, 2024

A few versions ago we switched from bower to npm for managing the highcharts dependency with this addon. Make sure you have the following in your package.json dependencies:

"devDependencies": {
  "ember-highcharts": "0.4.3",
  "highcharts": "4.2.5"
}

from ember-highcharts.

Datamance avatar Datamance commented on July 18, 2024

@gregjopa thank you so much for following up!

Can you confirm or deny that I need to upgrade past 0.1.3 to use drilldown functionality? Just want to make sure I'm not wasting too much time (am working with a fairly complex build system :])

from ember-highcharts.

gregjopa avatar gregjopa commented on July 18, 2024

Yes, I'd recommend upgrading to the most recent version. The config options for this addon have changed since 0.1.3:

https://github.com/ahmadsoe/ember-highcharts/blob/v0.1.3/index.js vs
https://github.com/ahmadsoe/ember-highcharts/blob/master/index.js

The config is where you specify the dependency for chart drilldown functionality: https://github.com/ahmadsoe/ember-highcharts/blob/master/ember-cli-build.js#L12. So I don't think this same syntax will work for 0.1.3.

from ember-highcharts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.