Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-echarts

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-echarts - npm Package Compare versions

Comparing version 16.0.0 to 16.1.0

76

lib/ngx-echarts.directive.d.ts
import { AfterViewInit, ElementRef, EventEmitter, InjectionToken, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import type { EChartsOption } from 'echarts';
import type { EChartsOption, ECElementEvent } from 'echarts';
import type { ECActionEvent } from 'echarts/types/src/util/types';
import * as i0 from "@angular/core";

@@ -28,36 +29,39 @@ export interface NgxEchartsConfig {

optionsError: EventEmitter<Error>;
chartClick: EventEmitter<unknown>;
chartDblClick: EventEmitter<unknown>;
chartMouseDown: EventEmitter<unknown>;
chartMouseMove: EventEmitter<unknown>;
chartMouseUp: EventEmitter<unknown>;
chartMouseOver: EventEmitter<unknown>;
chartMouseOut: EventEmitter<unknown>;
chartGlobalOut: EventEmitter<unknown>;
chartContextMenu: EventEmitter<unknown>;
chartLegendSelectChanged: EventEmitter<unknown>;
chartLegendSelected: EventEmitter<unknown>;
chartLegendUnselected: EventEmitter<unknown>;
chartLegendScroll: EventEmitter<unknown>;
chartDataZoom: EventEmitter<unknown>;
chartDataRangeSelected: EventEmitter<unknown>;
chartTimelineChanged: EventEmitter<unknown>;
chartTimelinePlayChanged: EventEmitter<unknown>;
chartRestore: EventEmitter<unknown>;
chartDataViewChanged: EventEmitter<unknown>;
chartMagicTypeChanged: EventEmitter<unknown>;
chartPieSelectChanged: EventEmitter<unknown>;
chartPieSelected: EventEmitter<unknown>;
chartPieUnselected: EventEmitter<unknown>;
chartMapSelectChanged: EventEmitter<unknown>;
chartMapSelected: EventEmitter<unknown>;
chartMapUnselected: EventEmitter<unknown>;
chartAxisAreaSelected: EventEmitter<unknown>;
chartFocusNodeAdjacency: EventEmitter<unknown>;
chartUnfocusNodeAdjacency: EventEmitter<unknown>;
chartBrush: EventEmitter<unknown>;
chartBrushEnd: EventEmitter<unknown>;
chartBrushSelected: EventEmitter<unknown>;
chartRendered: EventEmitter<unknown>;
chartFinished: EventEmitter<unknown>;
chartClick: EventEmitter<ECElementEvent>;
chartDblClick: EventEmitter<ECElementEvent>;
chartMouseDown: EventEmitter<ECElementEvent>;
chartMouseMove: EventEmitter<ECElementEvent>;
chartMouseUp: EventEmitter<ECElementEvent>;
chartMouseOver: EventEmitter<ECElementEvent>;
chartMouseOut: EventEmitter<ECElementEvent>;
chartGlobalOut: EventEmitter<ECElementEvent>;
chartContextMenu: EventEmitter<ECElementEvent>;
chartHighlight: EventEmitter<ECActionEvent>;
chartDownplay: EventEmitter<ECActionEvent>;
chartSelectChanged: EventEmitter<ECActionEvent>;
chartLegendSelected: EventEmitter<ECActionEvent>;
chartLegendUnselected: EventEmitter<ECActionEvent>;
chartLegendLegendSelectAll: EventEmitter<ECActionEvent>;
chartLegendLegendInverseSelect: EventEmitter<ECActionEvent>;
chartLegendScroll: EventEmitter<ECActionEvent>;
chartDataZoom: EventEmitter<ECActionEvent>;
chartDataRangeSelected: EventEmitter<ECActionEvent>;
chartGraphRoam: EventEmitter<ECActionEvent>;
chartGeoRoam: EventEmitter<ECActionEvent>;
chartTreeRoam: EventEmitter<ECActionEvent>;
chartTimelineChanged: EventEmitter<ECActionEvent>;
chartTimelinePlayChanged: EventEmitter<ECActionEvent>;
chartRestore: EventEmitter<ECActionEvent>;
chartDataViewChanged: EventEmitter<ECActionEvent>;
chartMagicTypeChanged: EventEmitter<ECActionEvent>;
chartGeoSelectChanged: EventEmitter<ECActionEvent>;
chartGeoSelected: EventEmitter<ECActionEvent>;
chartGeoUnselected: EventEmitter<ECActionEvent>;
chartAxisAreaSelected: EventEmitter<ECActionEvent>;
chartBrush: EventEmitter<ECActionEvent>;
chartBrushEnd: EventEmitter<ECActionEvent>;
chartBrushSelected: EventEmitter<ECActionEvent>;
chartGlobalCursorTaken: EventEmitter<ECActionEvent>;
chartRendered: EventEmitter<ECActionEvent>;
chartFinished: EventEmitter<ECActionEvent>;
animationFrameID: any;

@@ -94,3 +98,3 @@ private chart;

static ɵfac: i0.ɵɵFactoryDeclaration<NgxEchartsDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxEchartsDirective, "echarts, [echarts]", ["echarts"], { "options": { "alias": "options"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "initOpts": { "alias": "initOpts"; "required": false; }; "merge": { "alias": "merge"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingType": { "alias": "loadingType"; "required": false; }; "loadingOpts": { "alias": "loadingOpts"; "required": false; }; }, { "chartInit": "chartInit"; "optionsError": "optionsError"; "chartClick": "chartClick"; "chartDblClick": "chartDblClick"; "chartMouseDown": "chartMouseDown"; "chartMouseMove": "chartMouseMove"; "chartMouseUp": "chartMouseUp"; "chartMouseOver": "chartMouseOver"; "chartMouseOut": "chartMouseOut"; "chartGlobalOut": "chartGlobalOut"; "chartContextMenu": "chartContextMenu"; "chartLegendSelectChanged": "chartLegendSelectChanged"; "chartLegendSelected": "chartLegendSelected"; "chartLegendUnselected": "chartLegendUnselected"; "chartLegendScroll": "chartLegendScroll"; "chartDataZoom": "chartDataZoom"; "chartDataRangeSelected": "chartDataRangeSelected"; "chartTimelineChanged": "chartTimelineChanged"; "chartTimelinePlayChanged": "chartTimelinePlayChanged"; "chartRestore": "chartRestore"; "chartDataViewChanged": "chartDataViewChanged"; "chartMagicTypeChanged": "chartMagicTypeChanged"; "chartPieSelectChanged": "chartPieSelectChanged"; "chartPieSelected": "chartPieSelected"; "chartPieUnselected": "chartPieUnselected"; "chartMapSelectChanged": "chartMapSelectChanged"; "chartMapSelected": "chartMapSelected"; "chartMapUnselected": "chartMapUnselected"; "chartAxisAreaSelected": "chartAxisAreaSelected"; "chartFocusNodeAdjacency": "chartFocusNodeAdjacency"; "chartUnfocusNodeAdjacency": "chartUnfocusNodeAdjacency"; "chartBrush": "chartBrush"; "chartBrushEnd": "chartBrushEnd"; "chartBrushSelected": "chartBrushSelected"; "chartRendered": "chartRendered"; "chartFinished": "chartFinished"; }, never, never, false, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxEchartsDirective, "echarts, [echarts]", ["echarts"], { "options": { "alias": "options"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "initOpts": { "alias": "initOpts"; "required": false; }; "merge": { "alias": "merge"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingType": { "alias": "loadingType"; "required": false; }; "loadingOpts": { "alias": "loadingOpts"; "required": false; }; }, { "chartInit": "chartInit"; "optionsError": "optionsError"; "chartClick": "chartClick"; "chartDblClick": "chartDblClick"; "chartMouseDown": "chartMouseDown"; "chartMouseMove": "chartMouseMove"; "chartMouseUp": "chartMouseUp"; "chartMouseOver": "chartMouseOver"; "chartMouseOut": "chartMouseOut"; "chartGlobalOut": "chartGlobalOut"; "chartContextMenu": "chartContextMenu"; "chartHighlight": "chartHighlight"; "chartDownplay": "chartDownplay"; "chartSelectChanged": "chartSelectChanged"; "chartLegendSelected": "chartLegendSelected"; "chartLegendUnselected": "chartLegendUnselected"; "chartLegendLegendSelectAll": "chartLegendLegendSelectAll"; "chartLegendLegendInverseSelect": "chartLegendLegendInverseSelect"; "chartLegendScroll": "chartLegendScroll"; "chartDataZoom": "chartDataZoom"; "chartDataRangeSelected": "chartDataRangeSelected"; "chartGraphRoam": "chartGraphRoam"; "chartGeoRoam": "chartGeoRoam"; "chartTreeRoam": "chartTreeRoam"; "chartTimelineChanged": "chartTimelineChanged"; "chartTimelinePlayChanged": "chartTimelinePlayChanged"; "chartRestore": "chartRestore"; "chartDataViewChanged": "chartDataViewChanged"; "chartMagicTypeChanged": "chartMagicTypeChanged"; "chartGeoSelectChanged": "chartGeoSelectChanged"; "chartGeoSelected": "chartGeoSelected"; "chartGeoUnselected": "chartGeoUnselected"; "chartAxisAreaSelected": "chartAxisAreaSelected"; "chartBrush": "chartBrush"; "chartBrushEnd": "chartBrushEnd"; "chartBrushSelected": "chartBrushSelected"; "chartGlobalCursorTaken": "chartGlobalCursorTaken"; "chartRendered": "chartRendered"; "chartFinished": "chartFinished"; }, never, never, false, never>;
}
{
"name": "ngx-echarts",
"version": "16.0.0",
"version": "16.1.0",
"author": "Xie, Ziyu",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -58,2 +58,6 @@ # ngx-echarts

- 2023.10.11: v16.1.0:
- Feat: Add types to `chartXXX` EventEmitters. Support new events such as: `'selectchanged'`
- 2023.05.10: v16.0.0:

@@ -362,39 +366,43 @@

| @Output | Event |
| ------------------------- | --------------------------------------- |
| chartInit | Emitted when the chart is initialized |
| chartClick | echarts event: `'click'` |
| chartDblClick | echarts event: `'dblclick'` |
| chartMouseDown | echarts event: `'mousedown'` |
| chartMouseMove | echarts event: `'mousemove'` |
| chartMouseUp | echarts event: `'mouseup'` |
| chartMouseOver | echarts event: `'mouseover'` |
| chartMouseOut | echarts event: `'mouseout'` |
| chartGlobalOut | echarts event: `'globalout'` |
| chartContextMenu | echarts event: `'contextmenu'` |
| chartLegendSelectChanged | echarts event: `'legendselectchanged'` |
| chartLegendSelected | echarts event: `'legendselected'` |
| chartLegendUnselected | echarts event: `'legendunselected'` |
| chartLegendScroll | echarts event: `'legendscroll'` |
| chartDataZoom | echarts event: `'datazoom'` |
| chartDataRangeSelected | echarts event: `'datarangeselected'` |
| chartTimelineChanged | echarts event: `'timelinechanged'` |
| chartTimelinePlayChanged | echarts event: `'timelineplaychanged'` |
| chartRestore | echarts event: `'restore'` |
| chartDataViewChanged | echarts event: `'dataviewchanged'` |
| chartMagicTypeChanged | echarts event: `'magictypechanged'` |
| chartPieSelectChanged | echarts event: `'pieselectchanged'` |
| chartPieSelected | echarts event: `'pieselected'` |
| chartPieUnselected | echarts event: `'pieunselected'` |
| chartMapSelectChanged | echarts event: `'mapselectchanged'` |
| chartMapSelected | echarts event: `'mapselected'` |
| chartMapUnselected | echarts event: `'mapunselected'` |
| chartAxisAreaSelected | echarts event: `'axisareaselected'` |
| chartFocusNodeAdjacency | echarts event: `'focusnodeadjacency'` |
| chartUnfocusNodeAdjacency | echarts event: `'unfocusnodeadjacency'` |
| chartBrush | echarts event: `'brush'` |
| chartBrushEnd | echarts event: `'brushend'` |
| chartBrushSelected | echarts event: `'brushselected'` |
| chartRendered | echarts event: `'rendered'` |
| chartFinished | echarts event: `'finished'` |
| @Output | Event |
| ------------------------------ | -------------------------------------- |
| chartInit | Emitted when the chart is initialized |
| chartClick | echarts event: `'click'` |
| chartDblClick | echarts event: `'dblclick'` |
| chartMouseDown | echarts event: `'mousedown'` |
| chartMouseMove | echarts event: `'mousemove'` |
| chartMouseUp | echarts event: `'mouseup'` |
| chartMouseOver | echarts event: `'mouseover'` |
| chartMouseOut | echarts event: `'mouseout'` |
| chartGlobalOut | echarts event: `'globalout'` |
| chartContextMenu | echarts event: `'contextmenu'` |
| chartHighlight | echarts event: `'highlight'` |
| chartDownplay | echarts event: `'downplay'` |
| chartSelectChanged | echarts event: `'selectchanged'` |
| chartLegendSelectChanged | echarts event: `'legendselectchanged'` |
| chartLegendSelected | echarts event: `'legendselected'` |
| chartLegendUnselected | echarts event: `'legendunselected'` |
| chartLegendLegendSelectAll | echarts event: `'legendselectall'` |
| chartLegendLegendInverseSelect | echarts event: `'legendinverseselect'` |
| chartLegendScroll | echarts event: `'legendscroll'` |
| chartDataZoom | echarts event: `'datazoom'` |
| chartDataRangeSelected | echarts event: `'datarangeselected'` |
| chartGraphRoam | echarts event: `'graphroam'` |
| chartGeoRoam | echarts event: `'georoam'` |
| chartTreeRoam | echarts event: `'treeroam'` |
| chartTimelineChanged | echarts event: `'timelinechanged'` |
| chartTimelinePlayChanged | echarts event: `'timelineplaychanged'` |
| chartRestore | echarts event: `'restore'` |
| chartDataViewChanged | echarts event: `'dataviewchanged'` |
| chartMagicTypeChanged | echarts event: `'magictypechanged'` |
| chartGeoSelectChanged | echarts event: `'geoselectchanged'` |
| chartGeoSelected | echarts event: `'geoselected'` |
| chartGeoUnselected | echarts event: `'geounselected'` |
| chartAxisAreaSelected | echarts event: `'axisareaselected'` |
| chartBrush | echarts event: `'brush'` |
| chartBrushEnd | echarts event: `'brushend'` |
| chartBrushSelected | echarts event: `'brushselected'` |
| chartGlobalCursorTaken | echarts event: `'globalcursortaken'` |
| chartRendered | echarts event: `'rendered'` |
| chartFinished | echarts event: `'finished'` |

@@ -401,0 +409,0 @@ You can refer to the ECharts tutorial: [Events and Actions in ECharts](https://echarts.apache.org/en/tutorial.html#Events%20and%20Actions%20in%20ECharts) for more details of the event params. You can also refer to the [demo](https://xieziyu.github.io/#/ngx-echarts/demo) page for a detailed example.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc