getChart Parameters
Print
Modified on: Thu, 5 Mar, 2020 at 7:57 PM
These are the parameters that apply to the getChart.go gif/svg charts in a number of QMod component tools. For example, QMod Detailed Quote Tab Chart.
| Basic Options |
|---|
symbol | Symbol displayed in chart | YHOO |
chscale | date range of chart | 1m (1d,5d,10d,1m,3m,6m,1y,2y,3y,4y,5y,10y) |
chfreq | interval size | Line/area charts: 1d/1m; other charts: based on chart size |
chstart | date or time to start the chart (chscale will override) | (empty) (format: MM/dd/yyyy or HH:mm) |
chend | date or time to end the chart (chscale will override) | (now) (format: MM/dd/yyyy or HH:mm) |
chtype | the type of chart | bar, candle, compare, dot, hlc, line, mountain, ohlc, consolidated (3 m,1yr,2yr,5yr,10yr&30yr CMT - Constant Maturity Treasury Yield) |
| (old style) | LineChart, BarChart,CandleStickChart, AreaChart, FinancialLine, FinancialBar, FinancialCandleStick |
compare | When using &chtype=compare a different format must be used to display the symbols you are comparing . . . the first symbol to be display is called using &symbols= and the rest are called using &compare= | &chtype=compare&symbols=appl&compare=dell&compare=msft |
imgtype | type of image to be generated | png (gif,jpg,jpeg) |
chwid | chart image width | 250 (125-800) |
chhig | chart image height | 250 (125-800) |
toolWidth | width for most tools | 250 (125-800) |
toolHeight | height for most tools | 250 (125-800) |
svg | displays the chart using Scalable Vector Graphics | true / false |
| Parameter | Description | Value |
|---|
| Boolean Options |
|---|
chcon | turns the copyright notice on/off | on (off) |
chfrmon | frame around image canvas on/off | on (off) |
chbdron | border around plot area on/off | on (off) |
chgrdon | plot area grid on/off | on (off) |
chton | chart title is visible on/off | on (off) |
chperc | turns percent based axis labels on/off | on (off) |
chlog | turns logarithmic axis on/off | on (off) |
chdon | chart date is visible on/off | on (off) |
chpcon | previous close is on/off | on (off) |
chlgdon | chart legend is on/off | on (off) |
chshname | display the symbol short name in the legend | on/yes/true |
ch52on | 52 Week High/Low overlay is on/off (designed for 1yr charts) | on (off) |
chvolon | turn Volume indicator on our charts on/off | on (off) |
chvpi | switches the Volume indicator on our charts with the Volume+ indicator | on (off) |
advCharts | turns on the Advanced charting otherwise only the Basic and Java Charts are enabled | on (off) |
toggle=advanced | sets the Advanced charting as the default | |
jc | removes the "Java Charts" radio button | on (off) |
chlt | to indicate that the last trade time should be used in the date title (used together with &df paramter - if chlt is not used &df will always display open time) | on (off) |
chhideaxises | to hide date and value/percentage axis labels | off (on) |
chsplton | displays splits icon, on date where a split has occurred (will not work if chscale is less than 1m, chtype is a compare chart, or if chdmk, chsma, chema or ch52on are used) | off (on) |
chdivdon | displays dividends icon, on date where a dividend has been paid (will not work if chscale is less than 1m, chtype is a compare chart, or if chdmk, chsma, chema or ch52on are used) | off (on) |
chearnon | displays earnings icon, on date where earnings have been released (will not work if chscale is less than 1m, chtype is a compare chart, or if chdmk, chsma, chema or ch52on are used) | off (on) |
| Parameter | Description | Value |
|---|
| Color Options |
|---|
chfrm | frame color around image canvas | cccccc (argb hex or named color) |
chbdr | border color around plot area | cccccc (argb hex or named color) |
chbg | background color of image canvas | ffffff (argb hex or named color) |
chbgch | background color of chart plot are | f1f1f1 (argb hex or named color) |
chcpy | "media" copyright text color | 3f69ba (argb hex or named color) |
chfill | primary fill color for area charts, and candlestick (and volume bars) | f9e9edf5 (argb hex or named color) |
chfill2 | gradient fill color turns on gradient-fill area charts | 197a8c7 (argb hex or named color) |
chgrd | grid color | cccccc (argb hex or named color) |
chln | line color | 465665 (argb hex or named color) |
chtcol | changes chart title color (including date and copyright titles) | 000000 (argb hex or named color) |
chxyc | xy label and tick color | 111111 (argb hex or named color) |
chfall | color used to indicate a fall, used in candlestick and hloc charts | transparent (argb hex or named color) |
chrise | color used to indicate a rise, used in candlestick and hloc charts | transparent (argb hex or named color) |
chfall2 | used to apply a gradient filled fall color (deprecated in the new chart package) | transparent (argb hex or named color) |
chrise2 | use to apply a gradient filled rise color (deprecated in the new chart package) | transparent (argb hex or named color) |
chpccol | previous close line color | ee0000 (argb hex or named color) |
chlgdc | financial chart legend item color | 000000 (argb hex or named color) |
| Parameter | Description | Value |
|---|
| Misc Options |
|---|
chmrg | margin padding | 3 (0-20) |
ch3d | 3D layer depth (not all charts support 3D) | 0 |
chsym | replaces chart title with specified text | (empty) (sample: DJI -> DOW) |
chfnt | font used by all text | (empty) (sample: verdana.ttf) |
chfnts | font size of all text | 7 (font size in pt) |
chdtx | replaces chart date with specified text | (empty) (sample: June 14, 2006 -> historical chart) |
chsma | sma period to use (many occurrences results in many sma lines) | (empty) (9, 10, 18, 100, etc) |
chema | ema period to use (many occurrences results in many ema lines) | (empty) (9, 10, 18, 100, etc) |
chmac | each occurrence corresponds to an ma line color | (empty) (argb hex or named color) |
compare | each occurrence adds new symbol to compare against | (empty) (same as Symbol) |
chcmp | each occurrence corresponds to a comparison line | (empty) (argb hex or named color) |
chdmk | draws a vertical line for a specified date | mm/dd/yyyy for eod or hh:mm for intraday |
chdmkl | custom label for line drawn by chmdk | will display lable as entered |
chdmkc | custom color for line drawn by chmdk | (empty) (argb hex or named color) |
entmax | Implemented an entitlement override parameter, &entmax. When &ent parameter is not specified, &entmax overrides the “all” entitlement level. When &ent parameter is specified, &entmax overrides the entitlement level defined in the &ent parameter. Implemented in all tools except for charts and pop ups. In charts it only works for miniCharts.go, miniQuoteChart.go,miniQuotes.go,miniTabQuotes.go and quoteModule.go (only in detailed quote and chart tabs) In pop ups ito nly works for scalingStockWatch.go and selectableMarketStats.go | Valid values = DLP, DL, EOD |
chaaon | anti-alias | true (default), false |
chlowwh | if chtype=FinancialMountain, this scales the bottom graph with respect to the entire image (e.g. 67 would make the lower graph cover 67% of the image) | 0-100 |
Pending Settings
Did you find it helpful?
Yes
No
Send feedback Sorry we couldn't be helpful. Help us improve this article with your feedback.