Skip to content

Commit 9ad98c8

Browse files
committed
update to method calls
1 parent 3e4d217 commit 9ad98c8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

client-app/src/desktop/tabs/charts/LineChartModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class LineChartModel extends HoistModel {
5555
chart: {zoomType: 'x'},
5656
navigator: {enabled: true},
5757
rangeSelector: {enabled: true},
58-
exporting: {enabled: true},
58+
exporting: {enabled: false},
5959
legend: {enabled: false},
6060
scrollbar: {enabled: false},
6161
xAxis: {type: 'datetime'},

client-app/src/desktop/tabs/charts/OHLCChartModel.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ export class OHLCChartModel extends HoistModel {
3232
{
3333
text: 'Sample Custom Function',
3434
icon: Icon.json(),
35-
actionFn: (e, contextMenuClickEvt, cm, point) => {
35+
actionFn: (menuItemEvent, contextMenuEvent, params) => {
36+
const {point} = params;
3637
const message = div({
3738
items: point
3839
? [

0 commit comments

Comments
 (0)