Slide 1

Slide 1 text

Intro Angular Highchart Directives What this means Interactive charts using Angular directives and Highcharts. Lakshman Prasad (twitter.com/becomingGuru) AngularJS Mini Conf Feb 11, 2014, Bangalore

Slide 2

Slide 2 text

Sachin’s Stats’ Visualisation: http://j.mp/sachinst

Slide 3

Slide 3 text

Server side charts

Slide 4

Slide 4 text

Good enough for publishing statics

Slide 5

Slide 5 text

There are good ”modern” themes, too

Slide 6

Slide 6 text

The modren interactive charts

Slide 7

Slide 7 text

We want to choose what we want to see

Slide 8

Slide 8 text

Highcharts charting library

Slide 9

Slide 9 text

All kinds of charts. Very friendly API. Quite Performant.

Slide 10

Slide 10 text

JSON options

Slide 11

Slide 11 text

2 way binding of Angular

Slide 12

Slide 12 text

Step (-1): Without Angular.

Slide 13

Slide 13 text

Step 0: With the relevant controller.

Slide 14

Slide 14 text

Step 1: The Chart directive.

Slide 15

Slide 15 text

Step 2: Highchart options into a factory.

Slide 16

Slide 16 text

Enough to render awesome HighCharts!

Slide 17

Slide 17 text

Step 3: Options: Watch them in the controller

Slide 18

Slide 18 text

Step 3b: Highchart options: Redraw, animate, instant-update

Slide 19

Slide 19 text

Step 4: Multi-level jsons

Slide 20

Slide 20 text

Step 5: Put the controller inside the directive and Child Directives.

Slide 21

Slide 21 text

Highly interactive chart

Slide 22

Slide 22 text

All it takes!

Slide 23

Slide 23 text

Charts and options dynamically rendered!

Slide 24

Slide 24 text

Deja Vu!

Slide 25

Slide 25 text

Intro Angular Highchart Directives What this means In Summary • Angular brings Engineering into frontend, the right way.

Slide 26

Slide 26 text

Intro Angular Highchart Directives What this means In Summary • Angular brings Engineering into frontend, the right way. • Angular interactivity + Highcharts charting = WIN

Slide 27

Slide 27 text

Intro Angular Highchart Directives What this means In Summary • Angular brings Engineering into frontend, the right way. • Angular interactivity + Highcharts charting = WIN • Provide your filtering/choosing/interactivity on the frontend.

Slide 28

Slide 28 text

Intro Angular Highchart Directives What this means In Summary • Angular brings Engineering into frontend, the right way. • Angular interactivity + Highcharts charting = WIN • Provide your filtering/choosing/interactivity on the frontend. • Optionally attach a backend Django Rest Framework, Rails API, Flask Restful, Seneca, ...

Slide 29

Slide 29 text

Intro Angular Highchart Directives What this means In Summary • Angular brings Engineering into frontend, the right way. • Angular interactivity + Highcharts charting = WIN • Provide your filtering/choosing/interactivity on the frontend. • Optionally attach a backend Django Rest Framework, Rails API, Flask Restful, Seneca, ... • Building your applications using Angular is an order of magnitude better. - More for charting.

Slide 30

Slide 30 text

Intro Angular Highchart Directives What this means In Summary • Angular brings Engineering into frontend, the right way. • Angular interactivity + Highcharts charting = WIN • Provide your filtering/choosing/interactivity on the frontend. • Optionally attach a backend Django Rest Framework, Rails API, Flask Restful, Seneca, ... • Building your applications using Angular is an order of magnitude better. - More for charting. • All your big data insight is available on your pocket phone app, beautifully!

Slide 31

Slide 31 text

Intro Angular Highchart Directives What this means In Summary • Angular brings Engineering into frontend, the right way. • Angular interactivity + Highcharts charting = WIN • Provide your filtering/choosing/interactivity on the frontend. • Optionally attach a backend Django Rest Framework, Rails API, Flask Restful, Seneca, ... • Building your applications using Angular is an order of magnitude better. - More for charting. • All your big data insight is available on your pocket phone app, beautifully! • With these, development is a JOY!

Slide 32

Slide 32 text