Search the Community

Showing results for tags 'angular 6'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Company Forums
    • Company News
  • Product Forums
    • FusionCharts XT
    • FusionWidgets XT
    • PowerCharts XT
    • FusionMaps XT
    • Collabion Charts for SharePoint
    • jQuery Plugin for FusionCharts
    • AngularJS plugin
    • ReactJS plugin
  • General Forums
    • FusionCharts Jobs and Consultation
    • FusionLounge

Found 3 results

  1. I'm using Fusion Charts in a project right now, and while in development everything seems to work fine. However, when the project is built using the production ("--prod") flag, the chart no longer works. The project is Angular 6 (soon to be updated to Angular 7), and Fusion Charts 3.13.2, and Angular-FusionCharts 2.0.4. I created a separate module for Fusion Charts that I'm exporting and then importing in the main app.module. When the page loads, I get 2 errors in the console, one in fusioncharts.charts.js, and the other in polyfills.#.js. Can anyone tell me what's wrong with this or why I'm getting this error? My code is below. Console Errors NgxFusionChartsModule import { NgModule } from '@angular/core' import { FusionChartsModule } from 'angular-fusioncharts' import * as FusionCharts from 'fusioncharts' import * as Charts from 'fusioncharts/fusioncharts.charts' import * as FusionTheme from 'fusioncharts/themes/fusioncharts.theme.fusion' FusionChartsModule.fcRoot(FusionCharts, Charts, FusionTheme) @NgModule({ imports: [FusionChartsModule], exports: [FusionChartsModule] }) export class NgxFusionChartsModule {} App.Module //Third Party Components import { NgxFusionChartsModule } from './ngx-fusion-charts.module' @NgModule({ declarations: [...], imports: [ // Third Party Imports NgxFusionChartsModule ], providers: [...], bootstrap: [AppComponent] }) export class AppModule {} Data Source dataSource = { chart: { //caption: 'Supply & Demand', yaxisname: 'Supply & Demand', //subcaption: '2012-2016', showhovereffect: '1', //numbersuffix: '%', drawcrossline: '1', plottooltext: '$seriesName for $label: <b>$dataValue</b>', theme: 'fusion' }, categories: [ { category: [...] } ], dataset: [] } HTML Tag <fusioncharts width="100%" height="350" type="msline" dataFormat="JSON" [dataSource]="dataSource"></fusioncharts>
  2. getJSONData

    Hello, I'm trying to use the function getJSONData to get updated informations. The data that i'm getting are not updated. dataplotClickHandler(eventObj, dataObj) { this.zone.run(() => { console.log(this.chartObj.getJSONData()); }); } Attached the issue. Thank you.
  3. Angular fusion charts

    Hi Is fusion charts supports angular 6? I want to use fusion charts for my application which is developed in Angular 6.