Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ Highcharts itself provides bunch of events, and you still can use them with angu

All the events from the [options.chart.events](http://api.highcharts.com/highcharts#chart.events) are available as output properties of the `chart` component.

To prevent the default action, set `eventNamePreventDefault` to a truthy value -- for example: `<chart [selectionPreventDefault]="true" ....>`

```HTML
<chart [options]="options" (selection)="onChartSelection($event)"> </chart>
```
Expand Down
12 changes: 11 additions & 1 deletion dist/ChartComponent.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,24 @@ export declare class ChartComponent {
load: EventEmitter<ChartEvent>;
redraw: EventEmitter<ChartEvent>;
selection: EventEmitter<ChartEvent>;
createPreventDefault: boolean;
clickPreventDefault: boolean;
addSeriesPreventDefault: boolean;
afterPrintPreventDefault: boolean;
beforePrintPreventDefault: boolean;
drilldownPreventDefault: boolean;
drillupPreventDefault: boolean;
loadPreventDefault: boolean;
redrawPreventDefault: boolean;
selectionPreventDefault: boolean;
chart: any;
element: ElementRef;
highchartsService: HighchartsService;
private userOpts;
private baseOpts;
type: string;
options: any;
private init();
private init;
ngAfterViewInit(): void;
constructor(element: ElementRef, highchartsService: HighchartsService);
}
179 changes: 110 additions & 69 deletions dist/ChartComponent.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/ChartComponent.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/ChartComponent.metadata.json

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions dist/ChartComponent.spec.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading