Coder Social home page Coder Social logo

Comments (6)

gevgeny avatar gevgeny commented on September 21, 2024

it seems that the event is executed in another context and I cannot access data of my component which is using the Highcharts component.

Not sure can understand you. Options events should work as well. May you provide some live demo ?

from angular2-highcharts.

serrut avatar serrut commented on September 21, 2024

I've adjusted the plunk you made, to explain my problem: http://plnkr.co/edit/FVHCyfUbH3hmw9GALdXM?p=preview

If you take a look in the console of your browser, you will see that the this object which is logged when changing the extremes, will be the X-axis of the Highcharts component, and not current component you are working in.

In the mean time I already checked out your code and implemented the events to it, in the same way you've implemented the series and point events. If you would provide me a pull request, i can check in this code. By adding this fix, i can solve my problem and access the component.

from angular2-highcharts.

gevgeny avatar gevgeny commented on September 21, 2024

Yes. Pull request would be great. But be sure you add all the functionality, examples, tests, and update readme.

from angular2-highcharts.

serrut avatar serrut commented on September 21, 2024

Pull request created: #50

from angular2-highcharts.

Fank avatar Fank commented on September 21, 2024

@gevgeny @serrut i think this is fixed or?

from angular2-highcharts.

gevgeny avatar gevgeny commented on September 21, 2024

yes

from angular2-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.