Skip to content Skip to sidebar Skip to footer

Stacked Column Highchart With Angular6 Is Not Working

I am trying to implement the stacked column chart for the first time with angular6 by following the Angular standard example from the link https://www.tutorialspoint.com/angular_h

Solution 1:

The reason to get blank at web page is below : I was adding the HighChartsChartModule import under app.module.ts which is root level. But in my project there are different modules, and each module have its own .module.ts file. So if I add HighChartsChartModule under imports for specific module then it works as expected. It never work if I just add under the app.module.ts

import { HighchartsChartModule } from 'highcharts-angular';

@NgModule({
    imports: [

        HighchartsChartModule
    ],

Post a Comment for "Stacked Column Highchart With Angular6 Is Not Working"