https://api.lbkrs.com/v1/stock/custom_module/charts/{id}Parameters
idstringpathRequiredChart ID
max_yearsstringqueryNumber of years of data to return; the Broker App detail page passes 20 by default and chart cards pass an empty string
limitintegerqueryNumber of data items; the Broker App passes 5 for chart cards and 0 for the detail page
Responses
HTTP 200The request succeeded. The response body contains the result of the “Get a deep data chart” operation.codemessagedatadataobjectdata structureDeep data chart
Child attributes
Chart ID, usable with "Get a deep data chart"
Chart title
Chart description
Value unit
Indicator definitions referenced by the chart, keyed by indicator key
Data series
Child attributes
Indicator key, matching a definition in the chart keys
counter_id of the underlying the data belongs to
Series name
Series description
Chart type: 1 bar, 2 line
12
Y axis used: 1 left, 2 right
12
Stack group; only for bar charts, series with the same stack are stacked
Series drawing style
Child attributes
Series color, hex color value
Whether the line is smoothed
Line type: solid, dashed, dotted, or none
soliddasheddottednone
Line width
Data point shape: circle, emptyCircle, rect, or triangle
Data point size
Data point color
Data point border color
Data point border width
Whether to hide value labels on the chart
Data points
Child attributes
Data date, Unix timestamp in seconds
Value; the lower bound for range indicators
Upper bound, returned only for range indicators
Year-over-year change, such as 1.1
Period-over-period change, such as 0.5
Left axis value style: 1 hidden, 2 raw value, 3 percentage
123
Left axis minimum
Left axis maximum
Right axis value style: 1 hidden, 2 raw value, 3 percentage
123
Right axis minimum
Right axis maximum