4

I want to have a column chart in my angular app that could be drilled down to a line chart. I think the main problem is to be able to handle click event on each column that I could not find it highchart nor angular-chart. Can you tell me a way to construct such thing?

RezKesh
  • 2,861
  • 2
  • 24
  • 35

2 Answers2

6

ZingChart has an Angular directive that works well with your use case. You can use the directive with ZingChart's internal events to bind to just about anything on the chart :

zingchart.node_click = function(p) {
  ....
}

Demo : http://jsfiddle.net/mschultz/ck84wjce/

Angular Directive: https://github.com/zingchart/ZingChart-AngularJS

Docs : http://www.zingchart.com/docs/api/api-events/

It can also perform drilldowns fairly easily across different types of charts: http://www.zingchart.com/blog/2014/09/02/chart-drilldown-interactive-feature/

If you need any help, feel free to reach out - I work for the ZingChart team!

mike-schultz
  • 2,354
  • 10
  • 13
0

Check out this page for an example on Angular Drill Down chart using CanvasJS Angular Chart. It also includes angular source code or download angular sample from download page.

Check this StackBlitz for a simple example. Angular Drill Down Chart

Vishwas R
  • 3,340
  • 1
  • 16
  • 37