@nova-ui/charts
Version:
Nova Charts is a library created to provide potential consumers with solutions for various data visualizations that conform with the Nova Design Language. It's designed to solve common patterns identified by UX designers, but also be very flexible so that
80 lines (79 loc) • 3.09 kB
TypeScript
import { AfterContentInit, EventEmitter } from "@angular/core";
import { RenderState } from "../../renderers/types";
import { LegendComponent } from "../legend.component";
import * as i0 from "@angular/core";
/** @ignore */
export declare const LEGEND_SERIES_CLASS_NAME = "nui-legend-series";
export declare class LegendSeriesComponent implements AfterContentInit {
private legend;
/**
* Sets the series active status
*
* @param {boolean} active The new active status
*/
set active(active: boolean);
/**
* Sets the series interactive mode switch
*
* @param {boolean} interactive The new interactive mode
*/
set interactive(interactive: boolean);
/**
* Gets the series interactive mode value
*
* @returns {boolean} The current interactive mode
*/
get interactive(): boolean;
/**
* Set whether the series is selected
*/
isSelected: boolean;
/**
* Emits an event with a boolean value indicating a new selected status
*/
isSelectedChange: EventEmitter<any>;
/**
* The primary description of the series
*/
descriptionPrimary: string;
/**
* The secondary description of the series
*/
descriptionSecondary: string;
/**
* The series icon
*/
icon: string;
/**
* Color of the series
*/
color: string;
/**
* The render state of the legend series
*/
set seriesRenderState(renderState: RenderState);
get seriesRenderState(): RenderState;
private projectedDescription;
get isInteractiveClassApplied(): boolean;
isHorizontalClassApplied: boolean;
get isActiveClassApplied(): boolean;
private _seriesRenderState;
private _active;
private _interactive;
constructor(legend: LegendComponent);
ngAfterContentInit(): void;
/**
* Emits an isSelectedChange event on series click if the series is in interactive mode
*/
onClick(): void;
/**
* @returns boolean indicating whether the series has a primary or secondary description
*/
hasInputDescription(): boolean;
/**
* @returns boolean indicating whether the series has a projected description
*/
hasProjectedDescription(): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<LegendSeriesComponent, [{ optional: true; host: true; }]>;
static ɵcmp: i0.ɵɵComponentDeclaration<LegendSeriesComponent, "nui-legend-series", never, { "active": { "alias": "active"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "descriptionPrimary": { "alias": "descriptionPrimary"; "required": false; }; "descriptionSecondary": { "alias": "descriptionSecondary"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "color": { "alias": "color"; "required": false; }; "seriesRenderState": { "alias": "seriesRenderState"; "required": false; }; }, { "isSelectedChange": "isSelectedChange"; }, never, ["*", "[legendMenu]", "[description]"], false, never>;
}