Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chart type "heatmap" is not available. Is there anyway to integrate heatmap with angular4 ? #8

Open
chinthu opened this issue Feb 28, 2018 · 5 comments

Comments

@chinthu
Copy link

chinthu commented Feb 28, 2018

No description provided.

@rousan
Copy link
Contributor

rousan commented Mar 3, 2018

Hi @chinthu,
You can easily use heatmap with angular4-fusioncharts wrapper.

For this case, you need to import PowerCharts module in your app.module.ts file as follows:

app.module.ts file:

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import * as FusionCharts from 'fusioncharts';
// Here import powercharts module
import * as PowerCharts from 'fusioncharts/fusioncharts.powercharts';
import * as FintTheme from 'fusioncharts/themes/fusioncharts.theme.fint';
import * as OceanTheme from 'fusioncharts/themes/fusioncharts.theme.ocean';
import { FusionChartsModule } from 'angular4-fusioncharts';
import { AppComponent } from './app.component';

FusionChartsModule.fcRoot(FusionCharts, PowerCharts, FintTheme, OceanTheme);

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        BrowserModule,
        FusionChartsModule
    ],
    providers: [],
    bootstrap: [ AppComponent ]
})
export class AppModule { }

Let us know if you face any problem using it.

@sachien2000
Copy link

Can we customise the heat map, like adding an icon in a column , something like markers ?

@rousan
Copy link
Contributor

rousan commented Mar 6, 2018

@sachien2000
You can customize the heatmap chart with various of available attributes.
Click here to get detailed instructions.

@chinthu
Copy link
Author

chinthu commented Apr 17, 2018

Anything we need to import for guages ? is there any detailed documentation available for these chart types ?

@rousan
Copy link
Contributor

rousan commented Apr 18, 2018

@chinthu
You need to import widgets module for guages as follows:

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import * as FusionCharts from 'fusioncharts';
// Here import widgets module
import * as Widgets from 'fusioncharts/fusioncharts.widgets';
import * as FintTheme from 'fusioncharts/themes/fusioncharts.theme.fint';
import * as OceanTheme from 'fusioncharts/themes/fusioncharts.theme.ocean';
import { FusionChartsModule } from 'angular4-fusioncharts';
import { AppComponent } from './app.component';

FusionChartsModule.fcRoot(FusionCharts, Widgets, FintTheme, OceanTheme);

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        BrowserModule,
        FusionChartsModule
    ],
    providers: [],
    bootstrap: [ AppComponent ]
})
export class AppModule { }

Here is the reference link for those chart types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants