question

Upvotes
Accepted
3 0 1 1

JET SDK open line chart

Hello Support, We are the developers for an App Studio App called SC Intelligent Insights.

We have a request to open the chart in line chart pattern and not candlestick chart pattern,

We are using below code to open a chart:

JET.navigate({
  name: "Graph",
  entities: [{
    RIC,
  }]
});

Please let us know if this is possible. Thanks.

eikoneikon-app-studiojavascriptjet
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
39.3k 76 11 27

Yes, it is possible. Here's an example that opens a chart with 3 Line analyses for 3 different RICs overlaying on the right Y axis:

JET.navigate({
    name: 'Graph',
    properties: [{
      ChartXML: '<Chart><SubChart><RightYAxis><Analysis Name="Line"><Input Symbol=".N225"/></Analysis></RightYAxis><OverlayYAxis><Analysis Name="Line"><Input Symbol=".FTSES"/></Analysis></OverlayYAxis><OverlayYAxis><Analysis Name="Line"><Input Symbol=".DJI"/></Analysis></OverlayYAxis></SubChart></Chart>'
  }]
});
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.