-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #212 from highcharts/dev/angular-9
dev/angular-9
- Loading branch information
Showing
39 changed files
with
1,068 additions
and
806 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below. | ||
# For additional information regarding the format and rule options, please see: | ||
# https://github.com/browserslist/browserslist#queries | ||
|
||
# You can see what browsers were selected by your queries by running: | ||
# npx browserslist | ||
|
||
> 0.5% | ||
last 2 versions | ||
Firefox ESR | ||
not dead | ||
not IE 9-11 # For IE 9-11 support, remove 'not'. |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": "./tsconfig.lib.json", | ||
"angularCompilerOptions": { | ||
"enableIvy": false | ||
} | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
h2 { | ||
font-size: 20px; | ||
color: #eeeaea; | ||
background-color: #47475C; | ||
padding: 10px; | ||
.card { | ||
border: solid 1px #E1E1E1; | ||
border-radius: 0.5rem; | ||
display: flex; | ||
flex-direction: column; | ||
margin-top: 2rem; | ||
max-width: 1184px; | ||
padding: 2rem; | ||
width: 100%; | ||
background: white; | ||
} | ||
|
||
.full-left { | ||
font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif; | ||
font-size: 14px; | ||
float: left; | ||
width: 98%; | ||
background-color: #eee; | ||
padding: 5px 1%; | ||
main { | ||
display:flex; | ||
flex-direction: column; | ||
align-items: center; | ||
width: 100%; | ||
} | ||
.medium-right { | ||
float: right; | ||
width: 65%; | ||
} | ||
.third-left { | ||
width: 30%; | ||
float: left; | ||
|
||
main:last-child { | ||
margin-bottom: 2rem; | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,90 +1,7 @@ | ||
<div class="full-left"> | ||
<h2>Demo #1: Highcharts with a basic editor</h2> | ||
<div class="third-left"> | ||
<button (click)="updateInputChart()">Update chart</button> | ||
<br/> | ||
<textarea rows="16" cols="50" | ||
[(ngModel)]="optFromInputString" | ||
></textarea> | ||
<br/> | ||
<button (click)="toggleSeriesType()">1st series type toggle</button> | ||
</div> | ||
<div class="medium-right"> | ||
<highcharts-chart | ||
[Highcharts]="Highcharts" | ||
[options]="optFromInput" | ||
[(update)]="updateFromInput" | ||
[oneToOne]=true | ||
(chartInstance)="logChartInstance($event)" | ||
|
||
style="width: 100%; height: 350px; display: block;" | ||
></highcharts-chart> | ||
</div> | ||
</div> | ||
|
||
<br/> | ||
|
||
<div class="full-left"> | ||
<h2>Demo #2: Highstock with simple updates</h2> | ||
<div class="third-left"> | ||
<p>Chart title text: </p> | ||
<input | ||
[(ngModel)]="charts[usedIndex].hcOptions.title.text" | ||
(ngModelChange)="titleChange($event)" | ||
> | ||
<br/> | ||
<p>Data sets:</p> | ||
<button *ngFor="let i of [0,1,2]" | ||
(click)="usedIndex = i"> | ||
{{i+1}} | ||
</button> | ||
</div> | ||
<div class="medium-right"> | ||
<highcharts-chart | ||
[Highcharts]="Highcharts" | ||
[constructorType]="'stockChart'" | ||
[options]="charts[usedIndex].hcOptions" | ||
[callbackFunction]="charts[0].hcCallback" | ||
[(update)]="updateDemo2" | ||
|
||
style="width: 100%; height: 350px; display: block;" | ||
></highcharts-chart> | ||
</div> | ||
</div> | ||
|
||
<br/> | ||
|
||
<div class="full-left"> | ||
<h2>Demo #3: Highmaps map chart</h2> | ||
<highcharts-chart | ||
[Highcharts]="Highcharts" | ||
[constructorType]="'mapChart'" | ||
[options]="chartMap" | ||
|
||
style="width: 100%; height: 650px; display: block;" | ||
></highcharts-chart> | ||
</div> | ||
|
||
<br/> | ||
|
||
<div class="full-left"> | ||
<h2>Demo #4: Highcharts Gantt chart</h2> | ||
<highcharts-chart | ||
[Highcharts]="Highcharts" | ||
[constructorType]="'ganttChart'" | ||
[options]="chartGantt" | ||
|
||
style="width: 100%; height: 350px; display: block;" | ||
></highcharts-chart> | ||
</div> | ||
|
||
<div class="full-left"> | ||
<h2>Demo #5: Lazy loading in Highstock</h2> | ||
<highcharts-chart | ||
[Highcharts]="Highcharts" | ||
[constructorType]="'stockChart'" | ||
[options]="chartLazyLoading" | ||
|
||
style="width: 100%; height: 650px; display: block;" | ||
></highcharts-chart> | ||
</div> | ||
<main> | ||
<app-line-chart class="card"></app-line-chart> | ||
<app-stock-chart class="card"></app-stock-chart> | ||
<app-map-chart class="card"></app-map-chart> | ||
<app-gantt-chart class="card"></app-gantt-chart> | ||
<app-lazy-loading-chart class="card"></app-lazy-loading-chart> | ||
</main> |
Oops, something went wrong.