Creating More Complex Charts Christian Wenz CONSULTANT, SOFTWARE - - PowerPoint PPT Presentation

creating more complex charts
SMART_READER_LITE
LIVE PREVIEW

Creating More Complex Charts Christian Wenz CONSULTANT, SOFTWARE - - PowerPoint PPT Presentation

Creating More Complex Charts Christian Wenz CONSULTANT, SOFTWARE ARCHITECT @chwenz [2, 3, 5, 8] t Y coordinates [[1, 1], [2, 4], [3, 9], [4, 16]] t X/Y coordinates [{ t More options x: 1, y: 1, name: "Q1", color:


slide-1
SLIDE 1

@chwenz

CONSULTANT, SOFTWARE ARCHITECT

Christian Wenz

Creating More Complex Charts

slide-2
SLIDE 2

[2, 3, 5, 8] [[1, 1], [2, 4], [3, 9], [4, 16]] [{ x: 1, y: 1, name: "Q1", color: "#2A9FBC"}, ...}]

t Y coordinates t X/Y coordinates t More options

slide-3
SLIDE 3

dataSorting: { enabled: true, sortKey: 'y' }

Sorting Data

slide-4
SLIDE 4

JSON

Loading External Data

CSV Google Spreadsheet HTML

slide-5
SLIDE 5

new Highcharts.Chart({ chart: { events: { load: pullData } } } chart.series[0] .addPoint( [x, y], true, false, true);

t Load data once chart is ready t Access first series t Add data point t Coordinates t Redraw t Shift off one point t Animate

slide-6
SLIDE 6

Demo

t h s

Create server API to produce random data Periodically call server API

slide-7
SLIDE 7

Useful Resources

https://www.highcharts.com/demo https://www.highcharts.com/use-cases/ https://api.highcharts.com/highcharts/

slide-8
SLIDE 8

t h s

Explore more chart options Connect external data sources Periodically update charts with new data

Summary