Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SparklineChartComponent

Sparkline chart component

Note: In order to use charts, please include the following JavaScript file from PatternFly.

require('patternfly/dist/js/patternfly-settings');

Usage:

// Individual module import
import { SparklineChartModule } from 'patternfly-ng/chart';
// Or
import { SparklineChartModule } from 'patternfly-ng';

@NgModule({ imports: [SparklineChartModule,...] }) export class AppModule(){}

Optional:

import { SparklineChartConfig, SparklineChartData } from 'patternfly-ng/chart';

Hierarchy

Implements

  • DoCheck
  • OnInit

Index

Constructors

constructor

Properties

chartData

Chart data

chartLoaded

chartLoaded: EventEmitter<any> = new EventEmitter()

Event emitted with the chart reference after load is complete

type

{EventEmitter}

config

Configuration object containing details about how to render the chart

Methods

ngDoCheck

  • ngDoCheck(): void

ngOnInit

  • ngOnInit(): void

tooltip

  • tooltip(): any

Generated using TypeDoc