Skip to content

Commit cdc63cd

Browse files
committed
Minor text changes
1 parent 560d2d1 commit cdc63cd

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html><head><meta charset="utf-8"><title>Angular FusionCharts</title><base href=""><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" type="image/x-icon" href="favicon.ico"><link href="styles.1f9a0e540f566da2a999.bundle.css" rel="stylesheet"/></head><body><app>Loading...</app><script type="text/javascript" src="inline.9002df31084710b4a3d2.bundle.js"></script><script type="text/javascript" src="polyfills.adb2df9f86a0c3842e67.bundle.js"></script><script type="text/javascript" src="vendor.4026c91425e286cffeef.bundle.js"></script><script type="text/javascript" src="main.cc22b2b71301e1e88bae.bundle.js"></script></body></html>
1+
<!doctype html><html><head><meta charset="utf-8"><title>Angular FusionCharts</title><base href=""><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" type="image/x-icon" href="favicon.ico"><link href="styles.1f9a0e540f566da2a999.bundle.css" rel="stylesheet"/></head><body><app>Loading...</app><script type="text/javascript" src="inline.43c82c84c5675945c418.bundle.js"></script><script type="text/javascript" src="polyfills.adb2df9f86a0c3842e67.bundle.js"></script><script type="text/javascript" src="vendor.4026c91425e286cffeef.bundle.js"></script><script type="text/javascript" src="main.a5e70102daba8e432a7f.bundle.js"></script></body></html>

docs/inline.9002df31084710b4a3d2.bundle.js renamed to docs/inline.43c82c84c5675945c418.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/main.a5e70102daba8e432a7f.bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/main.cc22b2b71301e1e88bae.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/app/fusioncharts/samplecode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ fcDemos['ex21'] = {
309309
};
310310
fcDemos['ex22'] = {
311311
title: 'Use annotations',
312-
description: 'Using annotation extension to highlight data',
312+
description: 'Highlight the day which had the highest footfall',
313313
module: `// Setup needed in app.module.ts\n\nimport { NgModule, enableProdMode } from '@angular/core'\nimport { AppComponent } from './app.component';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { FusionChartsModule } from 'angular-fusioncharts';\n\n// Load FusionCharts\nimport FusionCharts from 'fusioncharts/core';\n// Load Charts module\nimport Spline from 'fusioncharts/viz/spline';\n// Load themes\nimport FusionTheme from 'fusioncharts/themes/es/fusioncharts.theme.fusion';\n\n// Add dependencies to FusionChartsModule\nFusionChartsModule.fcRoot(\n FusionCharts,\n Spline,\n FusionTheme\n)\n\n@NgModule({\n declarations: [\n AppComponent\n ],\n imports: [\n BrowserModule,\n FusionChartsModule\n ],\n providers: [\n ],\n bootstrap: [ AppComponent ]\n})\nexport class AppModule {\n}\n`,
314314
component: `// In app.component.ts \nimport {\n Component,\n NgZone\n} from '@angular/core';\n\n\n@Component({\n selector: 'app',\n templateUrl: './app.component.html'\n})\nexport class AppComponent {\n dataSource: any;\n constructor(private zone: NgZone) {\n this.dataSource = {\n "chart": {\n "caption": "Bakersfield Central - Total footfalls",\n "subCaption": "Last week",\n "xAxisName": "Day",\n "yAxisName": "No. of Visitors (In 1000s)",\n "showValues": "0",\n "theme": "fusion"\n },\n "annotations": {\n "groups": [{\n "id": "anchor-highlight",\n "items": [{\n "id": "high-star",\n "type": "circle",\n "x": "$dataset.0.set.2.x",\n "y": "$dataset.0.set.2.y",\n "radius": "12",\n "color": "#6baa01",\n "border": "2",\n "borderColor": "#f8bd19"\n },\n {\n "id": "label",\n "type": "text",\n "text": "Highest footfall 25.5K",\n "fillcolor": "#6baa01",\n "rotate": "90",\n "x": "$dataset.0.set.2.x+75",\n "y": "$dataset.0.set.2.y-2"\n }\n ]\n }]\n },\n "data": [{\n "label": "Mon",\n "value": "15123"\n },\n {\n "label": "Tue",\n "value": "14233"\n },\n {\n "label": "Wed",\n "value": "25507"\n },\n {\n "label": "Thu",\n "value": "9110"\n },\n {\n "label": "Fri",\n "value": "15529"\n },\n {\n "label": "Sat",\n "value": "20803"\n },\n {\n "label": "Sun",\n "value": "19202"\n }\n ]\n }\n\n }\n\n}`,
315315
template: `<!-- in app.component.html -->\n\n<fusioncharts\n type="spline"\n width="600"\n height="400"\n [dataSource]="dataSource">\n</fusioncharts>\n\n `

0 commit comments

Comments
 (0)