This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ion-button expand="block">Block Button</ion-button> | |
| <ion-button expand="full">Full Button</ion-button> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ion-header> | |
| <ion-toolbar> | |
| <ion-title>Header</ion-title> | |
| </ion-toolbar> | |
| </ion-header> | |
| <ion-content> | |
| </ion-content> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var index = 0; | |
| setInterval(() => { | |
| myChart.series[0].addPoint(Math.floor(Math.random() * 10 + 1), false, true); | |
| myChart.series[1].addPoint(Math.floor(Math.random() * 10 + 1), true, true); | |
| index++; | |
| }, 2000); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var myChart = Highcharts.chart("container", { | |
| chart: { | |
| type: "spline" | |
| }, | |
| title: { | |
| text: "Crypto - Rates" | |
| }, | |
| yAxis: { | |
| title: { | |
| text: "Currency Rates" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var dataset1 = []; | |
| var dataset2 = []; | |
| for (var i = 0; i < 16; i++) { | |
| dataset1.push(Math.floor(Math.random() * 10 + 1)); | |
| dataset2.push(Math.floor(Math.random() * 10 + 1)); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| name: "Versions", | |
| data: [ | |
| { name: "MSIE 6.0", y: 0.5, color: colors[0] }, | |
| { name: "MSIE 7.0", y: 1.5, color: colors[0] }, | |
| { name: "MSIE 8.0", y: 2, color: colors[0] }, | |
| { name: "MSIE 9.0", y: 2, color: colors[0] }, | |
| { name: "MSIE 10.0", y: 2, color: colors[0] }, | |
| { name: "MSIE 11.0", y: 2, color: colors[0] }, | |
| { name: "Firefox v31", y: 1, color: colors[1] }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var colors = Highcharts.getOptions().colors; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| series: [ | |
| { | |
| name: "Browsers", | |
| data: [ | |
| { | |
| name: "MSIE", | |
| y: 10, | |
| color: colors[0] | |
| }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Highcharts.chart('container', { | |
| chart: { | |
| type: 'pie' | |
| }, | |
| title: { | |
| text: 'Browser market shares January, 2017 to Decmber, 2017' | |
| }, | |
| tooltip: { | |
| pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>' | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var myChart = Highcharts.chart('container', { | |
| chart: { | |
| type: 'bar' | |
| }, | |
| title: { | |
| text: 'Fruit Consumption' | |
| }, | |
| xAxis: { | |
| categories: ['Apples', 'Bananas', 'Oranges'] | |
| }, |