q4.eiStockChart
A preconfigured stock chart, using the Highstock plugin and Euro Investor data.- Script link
- q4.euro-chart.1.0.9.min.js
- Source file
- q4.euro-chart.js, line 2
- Requires
Options
- datepicker string
-
Adds datepicker to the range selector
- Default value
false
- toggleType string
-
If set to true @typeTpl will be rendered allowing the change type to be changed dynamically
- Default value
false
- solutionID string
-
A interger required for the EI API. Seems to change based off customerKey
- Example
gruposupervielle
- customerKey string
-
Provided by Euro Investor in lieu of exchange / symbol. Can map to a number of stock quotes
- Example
gruposupervielle
- tooltipDateFormat string
-
The date format to use for the chart tooltip. This should use Highstock's date format.
More information on available formats can be found here: http://php.net/manual/en/function.strftime.php
- Default value
'%A, %b %e, %Y'
- Example
'%A, %b %e, %Y' // ex. Thursday, Dec. 22, 2016
- volumeName string
-
The name of the volume series. This will appear in the chart tooltip, and can be changed to support other languages or a client's word preference.
- Default value
'Volume'
- Example
'Volume'
- seriesOpts object
-
Global series config
- Example
{ type: 'line' },
- tpl string
-
Default template rendered when the widget is loaded. Uses @tplData.
id is required to draw the chart
type is required if @toggleType is set to true
- Default value
false
- highstockOpts object
-
Highstock options
- exchangeMap object
-
The Legend will display Exchange:Symbol by default. You can map this to whatever you want
- Example
{ 'Toronto Stock Exchange:MFC' : 'MFC.TO (TOR)', 'New York Stock Exchange:MFC' : 'MFC (NYSE)' }