import { Component, NgZone, ElementRef, Input, Output, OnChanges, AfterViewInit, EventEmitter } from "@angular/core";
import { Portlet } from "../../portlet/portlet";
import { BaseAmChart } from "./baseAmChart";
import * as am4core from "@amcharts/amcharts4/core";
import * as am4charts from "@amcharts/amcharts4/charts";
import am4themes_kelly from "@amcharts/amcharts4/themes/kelly";
export interface IBubbleSerieItem {
name: string;
valueX: string;
valueY: string;
size?: string;
hidden?: boolean;
}
@Component({
selector: "rd-amchart-bubble",
template: `
`
})
export class AmChartBubble extends BaseAmChart implements OnChanges, AfterViewInit {
constructor(zone: NgZone, public element: ElementRef, portlet: Portlet) {
super(zone, element, portlet);
}
@Input("rd-data") data: Array