wijmo 5.20261.45-nightly.d20251218.t163151 → 5.20261.45-nightly.d20260105.t014601
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cultures/wijmo.culture.ar-AE.d.ts +1 -1
- package/cultures/wijmo.culture.ar-AE.js +1 -1
- package/cultures/wijmo.culture.ar-SA.d.ts +1 -1
- package/cultures/wijmo.culture.ar-SA.js +1 -1
- package/cultures/wijmo.culture.bg.d.ts +1 -1
- package/cultures/wijmo.culture.bg.js +1 -1
- package/cultures/wijmo.culture.ca.d.ts +1 -1
- package/cultures/wijmo.culture.ca.js +1 -1
- package/cultures/wijmo.culture.cs.d.ts +1 -1
- package/cultures/wijmo.culture.cs.js +1 -1
- package/cultures/wijmo.culture.da.d.ts +1 -1
- package/cultures/wijmo.culture.da.js +1 -1
- package/cultures/wijmo.culture.de-CH.d.ts +1 -1
- package/cultures/wijmo.culture.de-CH.js +1 -1
- package/cultures/wijmo.culture.de.d.ts +1 -1
- package/cultures/wijmo.culture.de.js +1 -1
- package/cultures/wijmo.culture.el.d.ts +1 -1
- package/cultures/wijmo.culture.el.js +1 -1
- package/cultures/wijmo.culture.en-CA.d.ts +1 -1
- package/cultures/wijmo.culture.en-CA.js +1 -1
- package/cultures/wijmo.culture.en-GB.d.ts +1 -1
- package/cultures/wijmo.culture.en-GB.js +1 -1
- package/cultures/wijmo.culture.en.d.ts +1 -1
- package/cultures/wijmo.culture.en.js +1 -1
- package/cultures/wijmo.culture.es-419.d.ts +1 -1
- package/cultures/wijmo.culture.es-419.js +1 -1
- package/cultures/wijmo.culture.es-MX.d.ts +1 -1
- package/cultures/wijmo.culture.es-MX.js +1 -1
- package/cultures/wijmo.culture.es.d.ts +1 -1
- package/cultures/wijmo.culture.es.js +1 -1
- package/cultures/wijmo.culture.et.d.ts +1 -1
- package/cultures/wijmo.culture.et.js +1 -1
- package/cultures/wijmo.culture.eu.d.ts +1 -1
- package/cultures/wijmo.culture.eu.js +1 -1
- package/cultures/wijmo.culture.fi.d.ts +1 -1
- package/cultures/wijmo.culture.fi.js +1 -1
- package/cultures/wijmo.culture.fr-CA.d.ts +1 -1
- package/cultures/wijmo.culture.fr-CA.js +1 -1
- package/cultures/wijmo.culture.fr.d.ts +1 -1
- package/cultures/wijmo.culture.fr.js +1 -1
- package/cultures/wijmo.culture.gl.d.ts +1 -1
- package/cultures/wijmo.culture.gl.js +1 -1
- package/cultures/wijmo.culture.he.d.ts +1 -1
- package/cultures/wijmo.culture.he.js +1 -1
- package/cultures/wijmo.culture.hi.d.ts +1 -1
- package/cultures/wijmo.culture.hi.js +1 -1
- package/cultures/wijmo.culture.hr.d.ts +1 -1
- package/cultures/wijmo.culture.hr.js +1 -1
- package/cultures/wijmo.culture.hu.d.ts +1 -1
- package/cultures/wijmo.culture.hu.js +1 -1
- package/cultures/wijmo.culture.id.d.ts +1 -1
- package/cultures/wijmo.culture.id.js +1 -1
- package/cultures/wijmo.culture.it.d.ts +1 -1
- package/cultures/wijmo.culture.it.js +1 -1
- package/cultures/wijmo.culture.ja.d.ts +1 -1
- package/cultures/wijmo.culture.ja.js +1 -1
- package/cultures/wijmo.culture.kk.d.ts +1 -1
- package/cultures/wijmo.culture.kk.js +1 -1
- package/cultures/wijmo.culture.ko.d.ts +1 -1
- package/cultures/wijmo.culture.ko.js +1 -1
- package/cultures/wijmo.culture.lt.d.ts +1 -1
- package/cultures/wijmo.culture.lt.js +1 -1
- package/cultures/wijmo.culture.lv.d.ts +1 -1
- package/cultures/wijmo.culture.lv.js +1 -1
- package/cultures/wijmo.culture.mn-MN.d.ts +1 -1
- package/cultures/wijmo.culture.mn-MN.js +1 -1
- package/cultures/wijmo.culture.nl.d.ts +1 -1
- package/cultures/wijmo.culture.nl.js +1 -1
- package/cultures/wijmo.culture.no.d.ts +1 -1
- package/cultures/wijmo.culture.no.js +1 -1
- package/cultures/wijmo.culture.pl.d.ts +1 -1
- package/cultures/wijmo.culture.pl.js +1 -1
- package/cultures/wijmo.culture.pt.d.ts +1 -1
- package/cultures/wijmo.culture.pt.js +1 -1
- package/cultures/wijmo.culture.ro.d.ts +1 -1
- package/cultures/wijmo.culture.ro.js +1 -1
- package/cultures/wijmo.culture.ru.d.ts +1 -1
- package/cultures/wijmo.culture.ru.js +1 -1
- package/cultures/wijmo.culture.sk.d.ts +1 -1
- package/cultures/wijmo.culture.sk.js +1 -1
- package/cultures/wijmo.culture.sl.d.ts +1 -1
- package/cultures/wijmo.culture.sl.js +1 -1
- package/cultures/wijmo.culture.sr.d.ts +1 -1
- package/cultures/wijmo.culture.sr.js +1 -1
- package/cultures/wijmo.culture.sv.d.ts +1 -1
- package/cultures/wijmo.culture.sv.js +1 -1
- package/cultures/wijmo.culture.th.d.ts +1 -1
- package/cultures/wijmo.culture.th.js +1 -1
- package/cultures/wijmo.culture.tr.d.ts +1 -1
- package/cultures/wijmo.culture.tr.js +1 -1
- package/cultures/wijmo.culture.uk.d.ts +1 -1
- package/cultures/wijmo.culture.uk.js +1 -1
- package/cultures/wijmo.culture.vi.d.ts +1 -1
- package/cultures/wijmo.culture.vi.js +1 -1
- package/cultures/wijmo.culture.zh-HK.d.ts +1 -1
- package/cultures/wijmo.culture.zh-HK.js +1 -1
- package/cultures/wijmo.culture.zh-TW.d.ts +1 -1
- package/cultures/wijmo.culture.zh-TW.js +1 -1
- package/cultures/wijmo.culture.zh.d.ts +1 -1
- package/cultures/wijmo.culture.zh.js +1 -1
- package/package.json +1 -1
- package/styles/misc/_constants.scss +1 -1
- package/styles/misc/_glyphs.scss +257 -255
- package/styles/misc/_mixins.scss +70 -74
- package/styles/misc/_variables.scss +13 -13
- package/styles/parts/_barcode.scss +26 -27
- package/styles/parts/_chart.scss +109 -107
- package/styles/parts/_chart_finance.scss +6 -6
- package/styles/parts/_chart_hierarchical.scss +4 -4
- package/styles/parts/_chart_interaction.scss +224 -219
- package/styles/parts/_chart_map.scss +7 -7
- package/styles/parts/_core.scss +115 -116
- package/styles/parts/_gauge.scss +40 -39
- package/styles/parts/_grid.scss +447 -410
- package/styles/parts/_grid_cellmaker.scss +92 -86
- package/styles/parts/_grid_filter.scss +157 -161
- package/styles/parts/_grid_grouppanel.scss +74 -74
- package/styles/parts/_grid_multirow.scss +65 -64
- package/styles/parts/_grid_search.scss +27 -26
- package/styles/parts/_grid_selector.scss +12 -12
- package/styles/parts/_grid_sheet.scss +176 -176
- package/styles/parts/_grid_transposed_multirow.scss +9 -10
- package/styles/parts/_input.scss +812 -810
- package/styles/parts/_labeled_input.scss +198 -194
- package/styles/parts/_nav.scss +263 -259
- package/styles/parts/_olap.scss +230 -224
- package/styles/parts/_viewer.scss +1005 -989
- package/styles/themes/material/wijmo.theme.material.amber-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-teal.scss +1 -2
- package/styles/themes/wijmo.theme.cerulean.css +1 -1
- package/styles/themes/wijmo.theme.cerulean.scss +1 -2
- package/styles/themes/wijmo.theme.cleandark.css +1 -1
- package/styles/themes/wijmo.theme.cleandark.scss +2 -3
- package/styles/themes/wijmo.theme.cleanlight.css +1 -1
- package/styles/themes/wijmo.theme.cleanlight.scss +3 -4
- package/styles/themes/wijmo.theme.cocoa.css +1 -1
- package/styles/themes/wijmo.theme.cocoa.scss +1 -2
- package/styles/themes/wijmo.theme.coral.css +1 -1
- package/styles/themes/wijmo.theme.coral.scss +1 -2
- package/styles/themes/wijmo.theme.cyborg.css +1 -1
- package/styles/themes/wijmo.theme.cyborg.scss +1 -2
- package/styles/themes/wijmo.theme.dark.css +1 -1
- package/styles/themes/wijmo.theme.dark.scss +1 -2
- package/styles/themes/wijmo.theme.darkly.css +1 -1
- package/styles/themes/wijmo.theme.darkly.scss +1 -1
- package/styles/themes/wijmo.theme.flatly.css +1 -1
- package/styles/themes/wijmo.theme.flatly.scss +2 -3
- package/styles/themes/wijmo.theme.grayscale.css +1 -1
- package/styles/themes/wijmo.theme.grayscale.scss +1 -1
- package/styles/themes/wijmo.theme.highcontrast.css +1 -1
- package/styles/themes/wijmo.theme.highcontrast.scss +9 -9
- package/styles/themes/wijmo.theme.light.css +1 -1
- package/styles/themes/wijmo.theme.light.scss +1 -1
- package/styles/themes/wijmo.theme.material.amber-indigo.css +1 -1
- package/styles/themes/wijmo.theme.material.amber-indigo.scss +1 -2
- package/styles/themes/wijmo.theme.material.css +1 -1
- package/styles/themes/wijmo.theme.material.indigo-orange.css +1 -1
- package/styles/themes/wijmo.theme.material.indigo-orange.scss +1 -1
- package/styles/themes/wijmo.theme.material.scss +33 -29
- package/styles/themes/wijmo.theme.material.vars.css +1 -1
- package/styles/themes/wijmo.theme.material.vars.scss +1 -1
- package/styles/themes/wijmo.theme.midnight.css +1 -1
- package/styles/themes/wijmo.theme.midnight.scss +1 -1
- package/styles/themes/wijmo.theme.minimal.css +1 -1
- package/styles/themes/wijmo.theme.minimal.scss +1 -1
- package/styles/themes/wijmo.theme.modern.css +1 -1
- package/styles/themes/wijmo.theme.modern.scss +1 -1
- package/styles/themes/wijmo.theme.office.css +1 -1
- package/styles/themes/wijmo.theme.office.scss +1 -1
- package/styles/themes/wijmo.theme.organic.css +1 -1
- package/styles/themes/wijmo.theme.organic.scss +2 -2
- package/styles/themes/wijmo.theme.paper.css +1 -1
- package/styles/themes/wijmo.theme.paper.scss +1 -1
- package/styles/themes/wijmo.theme.simplex.css +1 -1
- package/styles/themes/wijmo.theme.simplex.scss +1 -1
- package/styles/themes/wijmo.theme.slate.css +1 -1
- package/styles/themes/wijmo.theme.slate.scss +1 -1
- package/styles/themes/wijmo.theme.superhero.css +1 -1
- package/styles/themes/wijmo.theme.superhero.scss +1 -1
- package/styles/themes/wijmo.theme.trust.css +1 -1
- package/styles/themes/wijmo.theme.trust.scss +1 -1
- package/styles/themes/wijmo.theme.zen.css +1 -1
- package/styles/themes/wijmo.theme.zen.scss +1 -1
- package/styles/wijmo-core.css +1 -1
- package/styles/wijmo-core.scss +5 -5
- package/styles/wijmo.css +1 -1
- package/styles/wijmo.scss +1 -1
- package/wijmo.angular.base.d.ts +1 -1
- package/wijmo.angular.base.js +1 -1
- package/wijmo.angular.chart.analytics.d.ts +1 -1
- package/wijmo.angular.chart.analytics.js +1 -1
- package/wijmo.angular.chart.animation.d.ts +1 -1
- package/wijmo.angular.chart.animation.js +1 -1
- package/wijmo.angular.chart.annotation.d.ts +1 -1
- package/wijmo.angular.chart.annotation.js +1 -1
- package/wijmo.angular.chart.d.ts +1 -1
- package/wijmo.angular.chart.finance.analytics.d.ts +1 -1
- package/wijmo.angular.chart.finance.analytics.js +1 -1
- package/wijmo.angular.chart.finance.d.ts +1 -1
- package/wijmo.angular.chart.finance.js +1 -1
- package/wijmo.angular.chart.hierarchical.d.ts +1 -1
- package/wijmo.angular.chart.hierarchical.js +1 -1
- package/wijmo.angular.chart.interaction.d.ts +1 -1
- package/wijmo.angular.chart.interaction.js +1 -1
- package/wijmo.angular.chart.js +1 -1
- package/wijmo.angular.chart.radar.d.ts +1 -1
- package/wijmo.angular.chart.radar.js +1 -1
- package/wijmo.angular.core.d.ts +1 -1
- package/wijmo.angular.core.js +1 -1
- package/wijmo.angular.gauge.d.ts +1 -1
- package/wijmo.angular.gauge.js +1 -1
- package/wijmo.angular.grid.d.ts +1 -1
- package/wijmo.angular.grid.detail.d.ts +1 -1
- package/wijmo.angular.grid.detail.js +1 -1
- package/wijmo.angular.grid.filter.d.ts +1 -1
- package/wijmo.angular.grid.filter.js +1 -1
- package/wijmo.angular.grid.grouppanel.d.ts +1 -1
- package/wijmo.angular.grid.grouppanel.js +1 -1
- package/wijmo.angular.grid.js +1 -1
- package/wijmo.angular.grid.multirow.d.ts +1 -1
- package/wijmo.angular.grid.multirow.js +1 -1
- package/wijmo.angular.grid.sheet.d.ts +1 -1
- package/wijmo.angular.grid.sheet.js +1 -1
- package/wijmo.angular.input.d.ts +1 -1
- package/wijmo.angular.input.js +1 -1
- package/wijmo.angular.nav.d.ts +1 -1
- package/wijmo.angular.nav.js +1 -1
- package/wijmo.angular.olap.d.ts +1 -1
- package/wijmo.angular.olap.js +1 -1
- package/wijmo.angular.viewer.d.ts +1 -1
- package/wijmo.angular.viewer.js +1 -1
- package/wijmo.angular2.barcode.common.d.ts +30 -30
- package/wijmo.angular2.barcode.common.js +1 -1
- package/wijmo.angular2.barcode.composite.d.ts +28 -28
- package/wijmo.angular2.barcode.composite.js +1 -1
- package/wijmo.angular2.barcode.specialized.d.ts +24 -24
- package/wijmo.angular2.barcode.specialized.js +1 -1
- package/wijmo.angular2.chart.analytics.d.ts +26 -26
- package/wijmo.angular2.chart.analytics.js +1 -1
- package/wijmo.angular2.chart.animation.d.ts +26 -26
- package/wijmo.angular2.chart.animation.js +1 -1
- package/wijmo.angular2.chart.annotation.d.ts +45 -45
- package/wijmo.angular2.chart.annotation.js +1 -1
- package/wijmo.angular2.chart.d.ts +42 -42
- package/wijmo.angular2.chart.finance.analytics.d.ts +36 -36
- package/wijmo.angular2.chart.finance.analytics.js +1 -1
- package/wijmo.angular2.chart.finance.d.ts +26 -26
- package/wijmo.angular2.chart.finance.js +1 -1
- package/wijmo.angular2.chart.finance.metadata.json +1 -1
- package/wijmo.angular2.chart.hierarchical.d.ts +25 -25
- package/wijmo.angular2.chart.hierarchical.js +1 -1
- package/wijmo.angular2.chart.interaction.d.ts +28 -28
- package/wijmo.angular2.chart.interaction.js +1 -1
- package/wijmo.angular2.chart.js +1 -1
- package/wijmo.angular2.chart.map.d.ts +20 -20
- package/wijmo.angular2.chart.map.js +1 -1
- package/wijmo.angular2.chart.map.metadata.json +1 -1
- package/wijmo.angular2.chart.metadata.json +1 -1
- package/wijmo.angular2.chart.radar.d.ts +28 -28
- package/wijmo.angular2.chart.radar.js +1 -1
- package/wijmo.angular2.chart.radar.metadata.json +1 -1
- package/wijmo.angular2.core.d.ts +47 -47
- package/wijmo.angular2.core.js +2 -2
- package/wijmo.angular2.core.metadata.json +1 -1
- package/wijmo.angular2.directiveBase.d.ts +67 -68
- package/wijmo.angular2.directiveBase.js +2 -2
- package/wijmo.angular2.directiveBase.metadata.json +1 -1
- package/wijmo.angular2.gauge.d.ts +27 -27
- package/wijmo.angular2.gauge.js +1 -1
- package/wijmo.angular2.gauge.metadata.json +1 -1
- package/wijmo.angular2.grid.d.ts +45 -45
- package/wijmo.angular2.grid.detail.d.ts +39 -39
- package/wijmo.angular2.grid.detail.js +2 -2
- package/wijmo.angular2.grid.filter.d.ts +25 -25
- package/wijmo.angular2.grid.filter.js +1 -1
- package/wijmo.angular2.grid.grouppanel.d.ts +28 -28
- package/wijmo.angular2.grid.grouppanel.js +1 -1
- package/wijmo.angular2.grid.js +2 -2
- package/wijmo.angular2.grid.multirow.d.ts +24 -24
- package/wijmo.angular2.grid.multirow.js +1 -1
- package/wijmo.angular2.grid.multirow.metadata.json +1 -1
- package/wijmo.angular2.grid.search.d.ts +12 -12
- package/wijmo.angular2.grid.search.js +1 -1
- package/wijmo.angular2.grid.sheet.d.ts +22 -22
- package/wijmo.angular2.grid.sheet.js +1 -1
- package/wijmo.angular2.grid.sheet.metadata.json +1 -1
- package/wijmo.angular2.grid.transposed.d.ts +14 -14
- package/wijmo.angular2.grid.transposed.js +2 -2
- package/wijmo.angular2.grid.transposedmultirow.d.ts +12 -12
- package/wijmo.angular2.grid.transposedmultirow.js +1 -1
- package/wijmo.angular2.input.d.ts +97 -97
- package/wijmo.angular2.input.js +2 -2
- package/wijmo.angular2.input.metadata.json +1 -1
- package/wijmo.angular2.nav.d.ts +31 -31
- package/wijmo.angular2.nav.js +1 -1
- package/wijmo.angular2.nav.metadata.json +1 -1
- package/wijmo.angular2.olap.d.ts +27 -27
- package/wijmo.angular2.olap.js +1 -1
- package/wijmo.angular2.viewer.d.ts +25 -25
- package/wijmo.angular2.viewer.js +1 -1
- package/wijmo.angular2.viewer.metadata.json +1 -1
- package/wijmo.barcode.common.d.ts +36 -36
- package/wijmo.barcode.common.js +2 -2
- package/wijmo.barcode.composite.d.ts +18 -19
- package/wijmo.barcode.composite.js +2 -2
- package/wijmo.barcode.d.ts +19 -19
- package/wijmo.barcode.js +2 -2
- package/wijmo.barcode.specialized.d.ts +5 -6
- package/wijmo.barcode.specialized.js +2 -2
- package/wijmo.chart.analytics.d.ts +7 -8
- package/wijmo.chart.analytics.js +2 -2
- package/wijmo.chart.animation.d.ts +2 -2
- package/wijmo.chart.animation.js +2 -2
- package/wijmo.chart.annotation.d.ts +21 -21
- package/wijmo.chart.annotation.js +2 -2
- package/wijmo.chart.d.ts +442 -454
- package/wijmo.chart.finance.analytics.d.ts +10 -10
- package/wijmo.chart.finance.analytics.js +2 -2
- package/wijmo.chart.finance.d.ts +10 -10
- package/wijmo.chart.finance.js +2 -2
- package/wijmo.chart.hierarchical.d.ts +16 -19
- package/wijmo.chart.hierarchical.js +2 -2
- package/wijmo.chart.interaction.d.ts +37 -38
- package/wijmo.chart.interaction.js +2 -2
- package/wijmo.chart.js +2 -2
- package/wijmo.chart.map.d.ts +59 -60
- package/wijmo.chart.map.js +2 -2
- package/wijmo.chart.radar.d.ts +7 -8
- package/wijmo.chart.radar.js +2 -2
- package/wijmo.chart.render.d.ts +14 -14
- package/wijmo.chart.render.js +2 -2
- package/wijmo.chart.webgl.d.ts +3 -6
- package/wijmo.chart.webgl.js +2 -2
- package/wijmo.cloud.d.ts +1 -1
- package/wijmo.cloud.js +2 -2
- package/wijmo.d.ts +44 -44
- package/wijmo.gauge.d.ts +4 -4
- package/wijmo.gauge.js +2 -2
- package/wijmo.grid.cellmaker.d.ts +1 -1
- package/wijmo.grid.cellmaker.js +2 -2
- package/wijmo.grid.d.ts +104 -106
- package/wijmo.grid.detail.d.ts +5 -5
- package/wijmo.grid.detail.js +2 -2
- package/wijmo.grid.filter.d.ts +30 -30
- package/wijmo.grid.filter.js +2 -2
- package/wijmo.grid.grouppanel.d.ts +7 -7
- package/wijmo.grid.grouppanel.js +2 -2
- package/wijmo.grid.immutable.d.ts +2 -2
- package/wijmo.grid.immutable.js +2 -2
- package/wijmo.grid.js +2 -2
- package/wijmo.grid.multirow.d.ts +3 -3
- package/wijmo.grid.multirow.js +2 -2
- package/wijmo.grid.pdf.d.ts +243 -243
- package/wijmo.grid.pdf.js +2 -2
- package/wijmo.grid.search.d.ts +1 -1
- package/wijmo.grid.search.js +1 -1
- package/wijmo.grid.selector.d.ts +5 -6
- package/wijmo.grid.selector.js +2 -2
- package/wijmo.grid.sheet.d.ts +27 -28
- package/wijmo.grid.sheet.js +2 -2
- package/wijmo.grid.style.d.ts +19 -19
- package/wijmo.grid.style.js +1 -1
- package/wijmo.grid.transposed.d.ts +2 -2
- package/wijmo.grid.transposed.js +2 -2
- package/wijmo.grid.transposedmultirow.d.ts +2 -2
- package/wijmo.grid.transposedmultirow.js +1 -1
- package/wijmo.grid.xlsx.d.ts +1 -1
- package/wijmo.grid.xlsx.js +2 -2
- package/wijmo.input.d.ts +17 -17
- package/wijmo.input.js +2 -2
- package/wijmo.interop.grid.d.ts +5 -7
- package/wijmo.interop.grid.js +2 -2
- package/wijmo.js +2 -2
- package/wijmo.knockout.base.d.ts +1 -1
- package/wijmo.knockout.base.js +1 -1
- package/wijmo.knockout.chart.analytics.d.ts +1 -1
- package/wijmo.knockout.chart.analytics.js +1 -1
- package/wijmo.knockout.chart.animation.d.ts +1 -1
- package/wijmo.knockout.chart.animation.js +1 -1
- package/wijmo.knockout.chart.annotation.d.ts +1 -1
- package/wijmo.knockout.chart.annotation.js +1 -1
- package/wijmo.knockout.chart.d.ts +1 -1
- package/wijmo.knockout.chart.finance.analytics.d.ts +1 -1
- package/wijmo.knockout.chart.finance.analytics.js +1 -1
- package/wijmo.knockout.chart.finance.d.ts +1 -1
- package/wijmo.knockout.chart.finance.js +1 -1
- package/wijmo.knockout.chart.interaction.d.ts +1 -1
- package/wijmo.knockout.chart.interaction.js +1 -1
- package/wijmo.knockout.chart.js +1 -1
- package/wijmo.knockout.core.d.ts +1 -1
- package/wijmo.knockout.core.js +1 -1
- package/wijmo.knockout.gauge.d.ts +1 -1
- package/wijmo.knockout.gauge.js +1 -1
- package/wijmo.knockout.grid.d.ts +1 -1
- package/wijmo.knockout.grid.filter.d.ts +1 -1
- package/wijmo.knockout.grid.filter.js +1 -1
- package/wijmo.knockout.grid.grouppanel.d.ts +1 -1
- package/wijmo.knockout.grid.grouppanel.js +1 -1
- package/wijmo.knockout.grid.js +1 -1
- package/wijmo.knockout.grid.multirow.d.ts +1 -1
- package/wijmo.knockout.grid.multirow.js +1 -1
- package/wijmo.knockout.grid.sheet.d.ts +1 -1
- package/wijmo.knockout.grid.sheet.js +1 -1
- package/wijmo.knockout.input.d.ts +1 -1
- package/wijmo.knockout.input.js +1 -1
- package/wijmo.knockout.nav.d.ts +1 -1
- package/wijmo.knockout.nav.js +1 -1
- package/wijmo.knockout.olap.d.ts +1 -1
- package/wijmo.knockout.olap.js +1 -1
- package/wijmo.meta.d.ts +2 -2
- package/wijmo.meta.js +2 -2
- package/wijmo.nav.d.ts +8 -8
- package/wijmo.nav.js +2 -2
- package/wijmo.odata.d.ts +25 -27
- package/wijmo.odata.js +2 -2
- package/wijmo.olap.d.ts +10 -12
- package/wijmo.olap.js +2 -2
- package/wijmo.pdf.d.ts +1562 -1563
- package/wijmo.pdf.js +2 -2
- package/wijmo.pdf.security.d.ts +2 -2
- package/wijmo.pdf.security.js +2 -2
- package/wijmo.react.barcode.base.d.ts +1 -1
- package/wijmo.react.barcode.base.js +1 -1
- package/wijmo.react.barcode.common.d.ts +1 -1
- package/wijmo.react.barcode.common.js +1 -1
- package/wijmo.react.barcode.composite.d.ts +1 -1
- package/wijmo.react.barcode.composite.js +1 -1
- package/wijmo.react.barcode.specialized.d.ts +1 -1
- package/wijmo.react.barcode.specialized.js +1 -1
- package/wijmo.react.base.d.ts +50 -50
- package/wijmo.react.base.js +1 -1
- package/wijmo.react.chart.analytics.d.ts +1 -1
- package/wijmo.react.chart.analytics.js +1 -1
- package/wijmo.react.chart.animation.d.ts +1 -1
- package/wijmo.react.chart.animation.js +1 -1
- package/wijmo.react.chart.annotation.d.ts +18 -18
- package/wijmo.react.chart.annotation.js +1 -1
- package/wijmo.react.chart.d.ts +4 -4
- package/wijmo.react.chart.finance.analytics.d.ts +1 -1
- package/wijmo.react.chart.finance.analytics.js +1 -1
- package/wijmo.react.chart.finance.d.ts +1 -1
- package/wijmo.react.chart.finance.js +1 -1
- package/wijmo.react.chart.hierarchical.d.ts +1 -1
- package/wijmo.react.chart.hierarchical.js +1 -1
- package/wijmo.react.chart.interaction.d.ts +2 -2
- package/wijmo.react.chart.interaction.js +1 -1
- package/wijmo.react.chart.js +1 -1
- package/wijmo.react.chart.map.d.ts +1 -1
- package/wijmo.react.chart.map.js +1 -1
- package/wijmo.react.chart.radar.d.ts +1 -1
- package/wijmo.react.chart.radar.js +1 -1
- package/wijmo.react.gauge.d.ts +1 -1
- package/wijmo.react.gauge.js +1 -1
- package/wijmo.react.grid.d.ts +5 -5
- package/wijmo.react.grid.detail.d.ts +2 -3
- package/wijmo.react.grid.detail.js +2 -2
- package/wijmo.react.grid.filter.d.ts +1 -1
- package/wijmo.react.grid.filter.js +1 -1
- package/wijmo.react.grid.grouppanel.d.ts +1 -1
- package/wijmo.react.grid.grouppanel.js +1 -1
- package/wijmo.react.grid.immutable.d.ts +1 -1
- package/wijmo.react.grid.immutable.js +1 -1
- package/wijmo.react.grid.js +2 -2
- package/wijmo.react.grid.multirow.d.ts +1 -1
- package/wijmo.react.grid.multirow.js +1 -1
- package/wijmo.react.grid.search.d.ts +1 -1
- package/wijmo.react.grid.search.js +1 -1
- package/wijmo.react.grid.sheet.d.ts +1 -1
- package/wijmo.react.grid.sheet.js +1 -1
- package/wijmo.react.grid.transposed.d.ts +1 -1
- package/wijmo.react.grid.transposed.js +1 -1
- package/wijmo.react.grid.transposedmultirow.d.ts +1 -1
- package/wijmo.react.grid.transposedmultirow.js +1 -1
- package/wijmo.react.input.d.ts +2 -3
- package/wijmo.react.input.js +2 -2
- package/wijmo.react.nav.d.ts +3 -3
- package/wijmo.react.nav.js +1 -1
- package/wijmo.react.olap.d.ts +1 -1
- package/wijmo.react.olap.js +1 -1
- package/wijmo.react.viewer.d.ts +1 -1
- package/wijmo.react.viewer.js +1 -1
- package/wijmo.rest.d.ts +28 -28
- package/wijmo.rest.js +2 -2
- package/wijmo.touch.d.ts +1 -2
- package/wijmo.touch.js +2 -2
- package/wijmo.undo.d.ts +4 -4
- package/wijmo.undo.js +2 -2
- package/wijmo.viewer.d.ts +388 -407
- package/wijmo.viewer.js +2 -2
- package/wijmo.vue2.barcode.common.d.ts +1 -1
- package/wijmo.vue2.barcode.common.js +1 -1
- package/wijmo.vue2.barcode.composite.d.ts +1 -1
- package/wijmo.vue2.barcode.composite.js +1 -1
- package/wijmo.vue2.barcode.specialized.d.ts +1 -1
- package/wijmo.vue2.barcode.specialized.js +1 -1
- package/wijmo.vue2.base.d.ts +1 -2
- package/wijmo.vue2.base.js +2 -2
- package/wijmo.vue2.chart.analytics.d.ts +1 -1
- package/wijmo.vue2.chart.analytics.js +1 -1
- package/wijmo.vue2.chart.animation.d.ts +1 -1
- package/wijmo.vue2.chart.animation.js +1 -1
- package/wijmo.vue2.chart.annotation.d.ts +1 -1
- package/wijmo.vue2.chart.annotation.js +1 -1
- package/wijmo.vue2.chart.d.ts +1 -1
- package/wijmo.vue2.chart.finance.analytics.d.ts +1 -1
- package/wijmo.vue2.chart.finance.analytics.js +1 -1
- package/wijmo.vue2.chart.finance.d.ts +1 -1
- package/wijmo.vue2.chart.finance.js +1 -1
- package/wijmo.vue2.chart.hierarchical.d.ts +1 -1
- package/wijmo.vue2.chart.hierarchical.js +1 -1
- package/wijmo.vue2.chart.interaction.d.ts +1 -1
- package/wijmo.vue2.chart.interaction.js +1 -1
- package/wijmo.vue2.chart.js +1 -1
- package/wijmo.vue2.chart.map.d.ts +1 -1
- package/wijmo.vue2.chart.map.js +1 -1
- package/wijmo.vue2.chart.radar.d.ts +1 -1
- package/wijmo.vue2.chart.radar.js +1 -1
- package/wijmo.vue2.core.d.ts +33 -33
- package/wijmo.vue2.core.js +1 -1
- package/wijmo.vue2.gauge.d.ts +1 -1
- package/wijmo.vue2.gauge.js +1 -1
- package/wijmo.vue2.grid.d.ts +280 -280
- package/wijmo.vue2.grid.detail.d.ts +1 -1
- package/wijmo.vue2.grid.detail.js +1 -1
- package/wijmo.vue2.grid.filter.d.ts +1 -1
- package/wijmo.vue2.grid.filter.js +1 -1
- package/wijmo.vue2.grid.grouppanel.d.ts +1 -1
- package/wijmo.vue2.grid.grouppanel.js +1 -1
- package/wijmo.vue2.grid.js +2 -2
- package/wijmo.vue2.grid.multirow.d.ts +245 -245
- package/wijmo.vue2.grid.multirow.js +1 -1
- package/wijmo.vue2.grid.search.d.ts +1 -1
- package/wijmo.vue2.grid.search.js +1 -1
- package/wijmo.vue2.grid.sheet.d.ts +1 -1
- package/wijmo.vue2.grid.sheet.js +1 -1
- package/wijmo.vue2.grid.transposed.d.ts +1 -1
- package/wijmo.vue2.grid.transposed.js +1 -1
- package/wijmo.vue2.grid.transposedmultirow.d.ts +1 -1
- package/wijmo.vue2.grid.transposedmultirow.js +1 -1
- package/wijmo.vue2.input.d.ts +1 -1
- package/wijmo.vue2.input.js +1 -1
- package/wijmo.vue2.nav.d.ts +1 -1
- package/wijmo.vue2.nav.js +1 -1
- package/wijmo.vue2.olap.d.ts +1 -1
- package/wijmo.vue2.olap.js +1 -1
- package/wijmo.vue2.viewer.d.ts +1 -1
- package/wijmo.vue2.viewer.js +1 -1
- package/wijmo.webcomponents.barcode.common.d.ts +1 -1
- package/wijmo.webcomponents.barcode.common.js +1 -1
- package/wijmo.webcomponents.barcode.composite.d.ts +1 -1
- package/wijmo.webcomponents.barcode.composite.js +1 -1
- package/wijmo.webcomponents.barcode.specialized.d.ts +1 -1
- package/wijmo.webcomponents.barcode.specialized.js +1 -1
- package/wijmo.webcomponents.base.d.ts +1 -1
- package/wijmo.webcomponents.base.js +1 -1
- package/wijmo.webcomponents.chart.analytics.d.ts +1 -1
- package/wijmo.webcomponents.chart.analytics.js +1 -1
- package/wijmo.webcomponents.chart.animation.d.ts +1 -1
- package/wijmo.webcomponents.chart.animation.js +1 -1
- package/wijmo.webcomponents.chart.d.ts +1 -1
- package/wijmo.webcomponents.chart.finance.analytics.d.ts +1 -1
- package/wijmo.webcomponents.chart.finance.analytics.js +1 -1
- package/wijmo.webcomponents.chart.finance.d.ts +1 -1
- package/wijmo.webcomponents.chart.finance.js +1 -1
- package/wijmo.webcomponents.chart.hierarchical.d.ts +1 -1
- package/wijmo.webcomponents.chart.hierarchical.js +1 -1
- package/wijmo.webcomponents.chart.interaction.d.ts +1 -1
- package/wijmo.webcomponents.chart.interaction.js +1 -1
- package/wijmo.webcomponents.chart.js +1 -1
- package/wijmo.webcomponents.chart.map.d.ts +1 -1
- package/wijmo.webcomponents.chart.map.js +1 -1
- package/wijmo.webcomponents.chart.radar.d.ts +1 -1
- package/wijmo.webcomponents.chart.radar.js +1 -1
- package/wijmo.webcomponents.gauge.d.ts +1 -1
- package/wijmo.webcomponents.gauge.js +1 -1
- package/wijmo.webcomponents.grid.d.ts +1 -1
- package/wijmo.webcomponents.grid.filter.d.ts +1 -1
- package/wijmo.webcomponents.grid.filter.js +1 -1
- package/wijmo.webcomponents.grid.grouppanel.d.ts +1 -1
- package/wijmo.webcomponents.grid.grouppanel.js +1 -1
- package/wijmo.webcomponents.grid.js +1 -1
- package/wijmo.webcomponents.grid.multirow.d.ts +1 -1
- package/wijmo.webcomponents.grid.multirow.js +1 -1
- package/wijmo.webcomponents.grid.search.d.ts +1 -1
- package/wijmo.webcomponents.grid.search.js +1 -1
- package/wijmo.webcomponents.grid.sheet.d.ts +1 -1
- package/wijmo.webcomponents.grid.sheet.js +1 -1
- package/wijmo.webcomponents.grid.transposed.d.ts +1 -1
- package/wijmo.webcomponents.grid.transposed.js +1 -1
- package/wijmo.webcomponents.grid.transposedmultirow.d.ts +1 -1
- package/wijmo.webcomponents.grid.transposedmultirow.js +1 -1
- package/wijmo.webcomponents.input.d.ts +1 -1
- package/wijmo.webcomponents.input.js +1 -1
- package/wijmo.webcomponents.nav.d.ts +1 -1
- package/wijmo.webcomponents.nav.js +1 -1
- package/wijmo.webcomponents.olap.d.ts +1 -1
- package/wijmo.webcomponents.olap.js +1 -1
- package/wijmo.webcomponents.viewer.d.ts +1 -1
- package/wijmo.webcomponents.viewer.js +1 -1
- package/wijmo.xlsx.d.ts +4704 -4711
- package/wijmo.xlsx.js +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.20261.45-nightly.
|
|
3
|
+
* Wijmo Library 5.20261.45-nightly.d20260105.t014601
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -149,7 +149,7 @@ export declare class FibonacciArcs extends SeriesBase {
|
|
|
149
149
|
* Gets or sets the {@link LabelPosition} for levels in {@link FibonacciArcs} tool.
|
|
150
150
|
*/
|
|
151
151
|
labelPosition: LabelPosition;
|
|
152
|
-
_render(
|
|
152
|
+
_render(_sender: SeriesBase, args: RenderEventArgs): void;
|
|
153
153
|
private _getX;
|
|
154
154
|
private _getY;
|
|
155
155
|
_getChartType(): ChartType;
|
|
@@ -195,7 +195,7 @@ export declare class FibonacciFans extends SeriesBase {
|
|
|
195
195
|
*/
|
|
196
196
|
labelPosition: LabelPosition;
|
|
197
197
|
_updateLevels(): void;
|
|
198
|
-
_render(
|
|
198
|
+
_render(_sender: SeriesBase, args: RenderEventArgs): void;
|
|
199
199
|
private _getX;
|
|
200
200
|
private _getY;
|
|
201
201
|
_getChartType(): ChartType;
|
|
@@ -238,7 +238,7 @@ export declare class FibonacciTimeZones extends SeriesBase {
|
|
|
238
238
|
* Gets or sets the {@link LabelPosition} for levels in {@link FibonacciTimeZones} tool.
|
|
239
239
|
*/
|
|
240
240
|
labelPosition: LabelPosition;
|
|
241
|
-
_render(
|
|
241
|
+
_render(_sender: SeriesBase, args: RenderEventArgs): void;
|
|
242
242
|
_updateLevels(): void;
|
|
243
243
|
private _getX;
|
|
244
244
|
_getChartType(): ChartType;
|
|
@@ -288,7 +288,7 @@ export declare class SingleOverlayIndicatorBase extends OverlayIndicatorBase {
|
|
|
288
288
|
*/
|
|
289
289
|
period: any;
|
|
290
290
|
getValues(dim: number): number[];
|
|
291
|
-
getDataRect(
|
|
291
|
+
getDataRect(_currentRect?: Rect, calculatedRect?: Rect): Rect;
|
|
292
292
|
_clearValues(): void;
|
|
293
293
|
_shouldCalculate(): boolean;
|
|
294
294
|
_init(): void;
|
|
@@ -366,7 +366,7 @@ export declare class Stochastic extends OverlayIndicatorBase {
|
|
|
366
366
|
* }</pre>
|
|
367
367
|
*/
|
|
368
368
|
styles: any;
|
|
369
|
-
getDataRect(
|
|
369
|
+
getDataRect(_currentRect?: Rect, calculatedRect?: Rect): Rect;
|
|
370
370
|
_clearValues(): void;
|
|
371
371
|
_shouldCalculate(): boolean;
|
|
372
372
|
_init(): void;
|
|
@@ -463,7 +463,7 @@ export declare class Macd extends MacdBase {
|
|
|
463
463
|
*/
|
|
464
464
|
styles: any;
|
|
465
465
|
legendItemLength(): number;
|
|
466
|
-
getDataRect(
|
|
466
|
+
getDataRect(_currentRect?: Rect, calculatedRect?: Rect): Rect;
|
|
467
467
|
private _rendering;
|
|
468
468
|
getCalculatedValues(key: string): any[];
|
|
469
469
|
}
|
|
@@ -482,7 +482,7 @@ export declare class MacdHistogram extends MacdBase {
|
|
|
482
482
|
*/
|
|
483
483
|
constructor(options?: any);
|
|
484
484
|
getValues(dim: number): number[];
|
|
485
|
-
getDataRect(
|
|
485
|
+
getDataRect(_currentRect?: Rect, calculatedRect?: Rect): Rect;
|
|
486
486
|
_getChartType(): ChartType;
|
|
487
487
|
_getItem(pointIndex: number): any;
|
|
488
488
|
}
|
|
@@ -525,7 +525,7 @@ export declare class Envelopes extends OverlayIndicatorBase {
|
|
|
525
525
|
* envelopes. The default value is 2.5 percent (0.025).
|
|
526
526
|
*/
|
|
527
527
|
size: number;
|
|
528
|
-
getDataRect(
|
|
528
|
+
getDataRect(_currentRect?: Rect, calculatedRect?: Rect): Rect;
|
|
529
529
|
_clearValues(): void;
|
|
530
530
|
_init(): void;
|
|
531
531
|
_shouldCalculate(): boolean;
|
|
@@ -581,7 +581,7 @@ export declare class BollingerBands extends OverlayIndicatorBase {
|
|
|
581
581
|
* Gets or sets the standard deviation multiplier.
|
|
582
582
|
*/
|
|
583
583
|
multiplier: number;
|
|
584
|
-
getDataRect(
|
|
584
|
+
getDataRect(_currentRect?: Rect, calculatedRect?: Rect): Rect;
|
|
585
585
|
_clearValues(): void;
|
|
586
586
|
_shouldCalculate(): boolean;
|
|
587
587
|
_init(): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.20261.45-nightly.
|
|
3
|
+
* Wijmo Library 5.20261.45-nightly.d20260105.t014601
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
*
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(t,i){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)};return function(t,i){extendStatics(t,i);function __(){this.constructor=t}t.prototype=null===i?Object.create(i):(__.prototype=i.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var i={};if(null!=t)for(var e in t)Object.hasOwnProperty.call(t,e)&&(i[e]=t[e]);i.default=t;return i};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),wijmo_chart_finance_1=require("wijmo/wijmo.chart.finance"),selfModule=__importStar(require("wijmo/wijmo.chart.finance.analytics"));function isValid(t){return isFinite(t)&&!isNaN(t)&&wijmo_1.isNumber(t)}var Fibonacci=function(t){__extends(Fibonacci,t);function Fibonacci(i){var e=t.call(this)||this;e._levels=[0,23.6,38.2,50,61.8,100];e._uptrend=!0;e._labelPosition=wijmo_chart_1.LabelPosition.Left;e.rendering.addHandler(e._render);e.initialize(i);return e}Object.defineProperty(Fibonacci.prototype,"low",{get:function(){return this._low},set:function(t){if(t!=this._low){this._low=wijmo_1.asNumber(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"high",{get:function(){return this._high},set:function(t){if(t!=this._high){this._high=wijmo_1.asNumber(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition,!0))!=this._labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"uptrend",{get:function(){return this._uptrend},set:function(t){if(t!=this._uptrend){this._uptrend=wijmo_1.asBoolean(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!=this._levels){this._levels=wijmo_1.asArray(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"minX",{get:function(){return this._minX},set:function(t){if(t!=this._minX){this._minX=t;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"maxX",{get:function(){return this._maxX},set:function(t){if(t!=this._maxX){this._maxX=t;this._invalidate()}},enumerable:!0,configurable:!0});Fibonacci.prototype._getMinX=function(){return wijmo_1.isNumber(this._minX)?this._minX:wijmo_1.isDate(this._minX)?wijmo_1.asDate(this._minX).valueOf():this._getAxisX().actualMin};Fibonacci.prototype._getMaxX=function(){return wijmo_1.isNumber(this._maxX)?this._maxX:wijmo_1.isDate(this._maxX)?wijmo_1.asDate(this._maxX).valueOf():this._getAxisX().actualMax};Fibonacci.prototype._updateLevels=function(){var i=void 0,e=void 0;if(void 0===this._low||void 0===this._high){var a=t.prototype.getValues.call(this,0),s=t.prototype.getValues.call(this,1);if(a)for(var n=a.length,o=this._getMinX(),r=this._getMaxX(),l=0;l<n;l++){var _=a[l],h=s?s[l]:l;if(!(h<o||h>r)&&!isNaN(_)){(void 0===i||i>_)&&(i=_);(void 0===e||e<_)&&(e=_)}}}void 0===this._low&&void 0!==i?this._actualLow=i:this._actualLow=this._low;void 0===this._high&&void 0!==e?this._actualHigh=e:this._actualHigh=this._high};Fibonacci.prototype._render=function(t,i){i.cancel=!0;var e=t;e._updateLevels();var a=e._getAxisX(),s=e._getAxisY(),n=i.engine,o=e._getSymbolStroke(e._chart.series.indexOf(e)),r=wijmo_chart_1._BasePlotter.cloneStyle(e.style,["fill"]),l=wijmo_chart_1._BasePlotter.cloneStyle(e.style,["stroke"]),_=e.chart._plotrectId;n.stroke=o;n.strokeWidth=2;n.textFill=o;var h=e._getMinX(),c=e._getMaxX();h<a.actualMin&&(h=a.actualMin);c>a.actualMax&&(c=a.actualMax);n.startGroup(null,_);for(var u=e._levels?e._levels.length:0,d=0;d<u;d++){var m=e._levels[d],p=a.convert(h),g=a.convert(c),f=e.uptrend?s.convert(e._actualLow+.01*m*(e._actualHigh-e._actualLow)):s.convert(e._actualHigh-.01*m*(e._actualHigh-e._actualLow));if(wijmo_chart_1._DataInfo.isValid(p)&&wijmo_chart_1._DataInfo.isValid(g)&&wijmo_chart_1._DataInfo.isValid(f)){n.drawLine(p,f,g,f,null,r);if(e.labelPosition!=wijmo_chart_1.LabelPosition.None){var y=m.toFixed(1)+"%",w=0;(e.uptrend&&0==d||!e.uptrend&&d==u-1)&&(w=2);switch(e.labelPosition){case wijmo_chart_1.LabelPosition.Left:wijmo_chart_1.FlexChartCore._renderText(n,y,new wijmo_1.Point(p,f),0,w,null,null,l);break;case wijmo_chart_1.LabelPosition.Center:wijmo_chart_1.FlexChartCore._renderText(n,y,new wijmo_1.Point(.5*(p+g),f),1,w,null,null,l);break;case wijmo_chart_1.LabelPosition.Right:wijmo_chart_1.FlexChartCore._renderText(n,y,new wijmo_1.Point(g,f),2,w,null,null,l)}}}}n.stroke=null;n.strokeWidth=null;n.textFill=null;n.endGroup()};Fibonacci.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return Fibonacci}(wijmo_chart_1.SeriesBase);exports.Fibonacci=Fibonacci;var FibonacciArcs=function(t){__extends(FibonacciArcs,t);function FibonacciArcs(i){var e=t.call(this)||this;e._levels=[38.2,50,61.8];e._labelPosition=wijmo_chart_1.LabelPosition.Top;e.rendering.addHandler(e._render,e);e.initialize(i);return e}Object.defineProperty(FibonacciArcs.prototype,"start",{get:function(){return this._start},set:function(t){if(t!==this.start){this._start=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciArcs.prototype,"end",{get:function(){return this._end},set:function(t){if(t!==this.end){this._end=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciArcs.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!==this._levels){this._levels=wijmo_1.asArray(t,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciArcs.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition))!==this.labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});FibonacciArcs.prototype._render=function(i,e){e.cancel=!0;var a=this._getX(0),s=this._getY(0),n=this._getX(1),o=this._getY(1);if(!(t.prototype._getLength.call(this)<=1)&&isValid(a)&&isValid(s)&&isValid(n)&&isValid(o)){var r,l=this._getAxisX(),_=this._getAxisY(),h=e.engine,c=this.chart.series.indexOf(this),u=this._getSymbolStroke(c),d=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),m=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["stroke"]);h.stroke=u;h.strokeWidth=2;h.textFill=u;var p,g,f,y,w,v,j,V,b,x=this.chart._plotrectId,P=o-s;r=h.startGroup(null,x);wijmo_1.addClass(r,"fibonacci-arcs");isValid(a)&&isValid(s)&&isValid(n)&&isValid(o)&&h.drawLines([l.convert(a),l.convert(n)],[_.convert(s),_.convert(o)],null,d);y=Math.sqrt(Math.pow(l.convert(n)-l.convert(a),2)+Math.pow(_.convert(o)-_.convert(s),2));v=new wijmo_1.Point(n,o);for(var B=0;B<this.levels.length;B++){j=.01*this.levels[B];w=Math.abs(y*j);if(isValid(v.x)&&isValid(v.y)&&isValid(w)){p=l.convert(v.x);g=_.convert(v.y);h.drawDonutSegment(p,g,w,w,P>0?0:Math.PI,Math.PI,null,d);if(this.labelPosition!==wijmo_chart_1.LabelPosition.None&&0!==j){b=wijmo_1.Globalize.format(j,"p1");V=h.measureString(b,null,null,m);f=P<=0?g-w:g+w;switch(this.labelPosition){case wijmo_chart_1.LabelPosition.Center:f+=.5*V.height;break;case wijmo_chart_1.LabelPosition.Bottom:f+=P<=0?V.height:0;break;default:f+=P<=0?0:V.height}h.drawString(b,new wijmo_1.Point(p-.5*V.width,f),null,m)}}}h.stroke=null;h.strokeWidth=null;h.textFill=null;h.endGroup()}};FibonacciArcs.prototype._getX=function(t){var i=null;0===t&&this.start?i=this.start.x:1===t&&this.end&&(i=this.end.x);wijmo_1.isDate(i)&&(i=wijmo_1.asDate(i).valueOf());return i};FibonacciArcs.prototype._getY=function(t){var i=null;0===t&&this.start?i=this.start.y:1===t&&this.end&&(i=this.end.y);return i};FibonacciArcs.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return FibonacciArcs}(wijmo_chart_1.SeriesBase);exports.FibonacciArcs=FibonacciArcs;var FibonacciFans=function(t){__extends(FibonacciFans,t);function FibonacciFans(i){var e=t.call(this)||this;e._levels=[0,23.6,38.2,50,61.8,100];e._labelPosition=wijmo_chart_1.LabelPosition.Top;e.rendering.addHandler(e._render,e);e.initialize(i);return e}Object.defineProperty(FibonacciFans.prototype,"start",{get:function(){return this._start},set:function(t){if(t!==this.start){this._start=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciFans.prototype,"end",{get:function(){return this._end},set:function(t){if(t!==this.end){this._end=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciFans.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!==this._levels){this._levels=wijmo_1.asArray(t,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciFans.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition))!==this.labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});FibonacciFans.prototype._updateLevels=function(){if(!this.start||!this.end){var i,e,a,s,n=this.chart._getPlotter(this),o=this._getAxisX(),r=t.prototype.getValues.call(this,0),l=t.prototype.getValues.call(this,1)||n.dataInfo.getXVals();if(r&&r.length>0){a=wijmo_chart_finance_1._minimum(r);s=wijmo_chart_finance_1._maximum(r)}if(l&&l.length>0){i=wijmo_chart_finance_1._minimum(l);e=wijmo_chart_finance_1._maximum(l)}else{i=o.actualMin;e=o.actualMax}if(isValid(i)&&isValid(a)&&isValid(e)&&isValid(s)){this.start=new wijmo_chart_1.DataPoint(i,a);this.end=new wijmo_chart_1.DataPoint(e,s)}}};FibonacciFans.prototype._render=function(i,e){e.cancel=!0;this._updateLevels();var a=this._getX(0),s=this._getY(0),n=this._getX(1),o=this._getY(1);if(!(t.prototype._getLength.call(this)<=1)&&isValid(a)&&isValid(s)&&isValid(n)&&isValid(o)){var r=this._getAxisX(),l=this._getAxisY(),_=this.chart.series.indexOf(this),h=e.engine,c=this._getSymbolStroke(_),u=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),d=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["stroke"]);h.stroke=c;h.strokeWidth=2;h.textFill=c;var m,p,g,f,y,w,v,j,V,b,x,P,B,k=o-s,M=n-a,I=this.chart._plotrectId;m=a;g=s;f=o;var L=p=n;h.startGroup(null,I);for(var X=0;X<this.levels.length;X++){p=M<0?r.actualMin:r.actualMax;f=(j=((f=g+(b=.01*this.levels[X])*k)-g)/(L-m))*p+(V=f-j*L);k>0&&f>l.actualMax?p=((f=l.actualMax)-V)/j:k<0&&f<l.actualMin&&(p=((f=l.actualMin)-V)/j);if(isValid(m)&&isValid(g)&&isValid(p)&&isValid(f)){y=new wijmo_1.Point(r.convert(m),l.convert(g));w=new wijmo_1.Point(r.convert(p),l.convert(f));h.drawLines([y.x,w.x],[y.y,w.y],null,u);if(this.labelPosition!=wijmo_chart_1.LabelPosition.None){x=wijmo_1.Globalize.format(b,"p1");P=h.measureString(x,null,null,d);B=180*Math.atan((w.y-y.y)/(w.x-y.x))/Math.PI;v=w.clone();w.x=M>0?w.x-P.width:w.x;var O,S=B*Math.PI/180,F=new wijmo_1.Point,C=new wijmo_1.Point,A=new wijmo_1.Point,T=new wijmo_1.Point,D=l.convert(l.actualMin),Y=l.convert(l.actualMax),R=r.convert(r.actualMin),W=r.convert(r.actualMax),N=v.clone();switch(this.labelPosition){case wijmo_chart_1.LabelPosition.Center:w.y+=.5*P.height;N.y+=.5*P.height;break;case wijmo_chart_1.LabelPosition.Bottom:w.y+=P.height}if(M>0){if(this.labelPosition===wijmo_chart_1.LabelPosition.Top||this.labelPosition===wijmo_chart_1.LabelPosition.Center){T=N.clone();A.x=T.x+P.height*Math.sin(S);A.y=T.y-P.height*Math.cos(S);F.x=T.x-P.width*Math.cos(S)+P.height*Math.sin(S);F.y=T.y-P.width*Math.sin(S)-P.height*Math.cos(S);C.x=T.x-P.width*Math.cos(S);C.y=T.y-P.width*Math.sin(S)}else if(this.labelPosition===wijmo_chart_1.LabelPosition.Bottom){A=N.clone();F.x=A.x-P.width*Math.cos(S);F.y=A.y-P.width*Math.sin(S);C.x=F.x-P.height*Math.sin(S);C.y=F.y+P.height*Math.cos(S);T.x=F.x+P.width*Math.cos(S)-P.height*Math.sin(S);T.y=F.y+P.width*Math.sin(S)+P.height*Math.cos(S)}if(k>0){if(A.y<Y){j=(l.convertBack(A.y)-l.convertBack(F.y))/(r.convertBack(A.x)-r.convertBack(F.x));V=l.convertBack(A.y)-j*r.convertBack(A.x);O=r.convert((l.actualMax-V)/j);w.x-=Math.abs(A.x-O)}T.x>W&&(w.x-=Math.abs(W-T.x))}else if(k<0){if(T.y>D){j=(l.convertBack(C.y)-l.convertBack(T.y))/(r.convertBack(C.x)-r.convertBack(T.x));V=l.convertBack(T.y)-j*r.convertBack(T.x);O=r.convert((l.actualMin-V)/j);w.x-=Math.max(Math.abs(O-T.x),Math.abs(D-T.y))}A.x>W&&(w.x-=Math.abs(W-A.x))}}else if(M<0){if(this.labelPosition===wijmo_chart_1.LabelPosition.Top||this.labelPosition===wijmo_chart_1.LabelPosition.Center){C=N.clone();F.x=C.x+P.height*Math.sin(S);F.y=C.y-P.height*Math.cos(S);T.x=C.x+P.width*Math.cos(S);T.y=C.y+P.width*Math.sin(S);A.x=F.x+P.width*Math.cos(S);A.y=F.y+P.width*Math.sin(S)}else if(this.labelPosition===wijmo_chart_1.LabelPosition.Bottom){F=N.clone();A.x=F.x+P.width*Math.cos(S);A.y=F.y+P.width*Math.sin(S);C.x=F.x-P.height*Math.sin(S);C.y=F.y+P.height*Math.cos(S);T.x=F.x+P.width*Math.cos(S)-P.height*Math.sin(S);T.y=F.y+P.width*Math.sin(S)+P.height*Math.cos(S)}if(k>0){if(F.y<Y){j=(l.convertBack(F.y)-l.convertBack(A.y))/(r.convertBack(F.x)-r.convertBack(A.x));V=l.convertBack(F.y)-j*r.convertBack(F.x);O=r.convert((l.actualMax-V)/j);w.x+=Math.abs(F.x-O)}C.x<R&&(w.x+=Math.abs(R-C.x))}else if(k<0){if(C.y>D){j=(l.convertBack(T.y)-l.convertBack(C.y))/(r.convertBack(T.x)-r.convertBack(C.x));V=l.convertBack(C.y)-j*r.convertBack(C.x);O=r.convert((l.actualMin-V)/j);w.x+=Math.max(Math.abs(O-C.x),Math.abs(D-C.y))}F.x<R&&(w.x+=Math.abs(R-F.x))}}isFinite(w.x)&&isFinite(w.y)&&(0===B?h.drawString(x,w,null,d):h.drawStringRotated(x,w,v,B,null,d))}}}h.stroke=null;h.strokeWidth=null;h.textFill=null;h.endGroup()}};FibonacciFans.prototype._getX=function(t){var i=null;0===t&&this.start?i=this.start.x:1===t&&this.end&&(i=this.end.x);wijmo_1.isDate(i)&&(i=wijmo_1.asDate(i).valueOf());return i};FibonacciFans.prototype._getY=function(t){var i=null;0===t&&this.start?i=this.start.y:1===t&&this.end&&(i=this.end.y);return i};FibonacciFans.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return FibonacciFans}(wijmo_chart_1.SeriesBase);exports.FibonacciFans=FibonacciFans;var FibonacciTimeZones=function(t){__extends(FibonacciTimeZones,t);function FibonacciTimeZones(i){var e=t.call(this)||this;e._levels=[0,1,2,3,5,8,13,21,34];e._labelPosition=wijmo_chart_1.LabelPosition.Right;e.rendering.addHandler(e._render,e);e.initialize(i);return e}Object.defineProperty(FibonacciTimeZones.prototype,"startX",{get:function(){return this._startX},set:function(t){if(t!==this.startX){wijmo_1.isDate(t)?this._startX=wijmo_1.asDate(t):this._startX=wijmo_1.asNumber(t);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciTimeZones.prototype,"endX",{get:function(){return this._endX},set:function(t){if(t!==this.endX){wijmo_1.isDate(t)?this._endX=wijmo_1.asDate(t):this._endX=wijmo_1.asNumber(t);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciTimeZones.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!==this._levels){this._levels=wijmo_1.asArray(t,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciTimeZones.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition))!==this.labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});FibonacciTimeZones.prototype._render=function(i,e){e.cancel=!0;this._updateLevels();var a=this._getX(0),s=this._getX(1);if(!(t.prototype._getLength.call(this)<=1)&&isValid(a)&&isValid(s)){var n,o,r,l,_=s-a,h=this._getAxisX(),c=this._getAxisY(),u=this._chart.series.indexOf(this),d=e.engine,m=this._getSymbolStroke(u),p=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),g=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["stroke"]),f=c.convert(c.actualMin),y=c.convert(c.actualMax),w=this.chart._plotrectId;d.stroke=m;d.strokeWidth=2;d.textFill=m;if(0!==_){d.startGroup(null,w);for(var v=0;v<this.levels.length;v++)if(!((o=_*(n=this.levels[v])+a)<h.actualMin||h.actualMax<o)&&isValid(o)){o=h.convert(o);d.drawLine(o,f,o,y,null,p);if(this.labelPosition!==wijmo_chart_1.LabelPosition.None){l=wijmo_1.Globalize.format(n,"n0");r=d.measureString(l,null,null,g);switch(this.labelPosition){case wijmo_chart_1.LabelPosition.Left:o-=r.width+2;break;case wijmo_chart_1.LabelPosition.Center:o-=r.width/2;break;case wijmo_chart_1.LabelPosition.Right:o+=2;break;default:o=_<0?o-r.width-2:o+2}d.drawString(l,new wijmo_1.Point(o,f),null,g)}}d.stroke=null;d.strokeWidth=null;d.textFill=null;d.endGroup()}}};FibonacciTimeZones.prototype._updateLevels=function(){var i=this.chart._getPlotter(this),e=t.prototype.getValues.call(this,1)||i.dataInfo.getXVals();if(!(t.prototype._getLength.call(this)<=1)){var a=this._getX(0),s=this._getX(1),n=wijmo_1.isNumber(a)&&wijmo_1.isNumber(s);if(n||e){if(!n&&e){this._startX=e[0];this._endX=e[1]}}else{this._startX=0;this._endX=1}}};FibonacciTimeZones.prototype._getX=function(t){var i=null;0===t?i=this.startX:1===t&&(i=this.endX);wijmo_1.isDate(i)&&(i=wijmo_1.asDate(i).valueOf());return i};FibonacciTimeZones.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return FibonacciTimeZones}(wijmo_chart_1.SeriesBase);exports.FibonacciTimeZones=FibonacciTimeZones;var OverlayIndicatorBase=function(t){__extends(OverlayIndicatorBase,t);function OverlayIndicatorBase(i){var e=t.call(this,i)||this;e._seriesCount=1;return e}Object.defineProperty(OverlayIndicatorBase.prototype,"_hitTester",{get:function(){this._plotter&&!this.__hitTester&&(this.__hitTester=this._plotter.hitTester);return this.__hitTester},enumerable:!0,configurable:!0});OverlayIndicatorBase.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};OverlayIndicatorBase.prototype._getXValues=function(){return t.prototype.getValues.call(this,1)||this._plotter.dataInfo.getXVals()};OverlayIndicatorBase.prototype._getDataPoint=function(t,i,e,a,s,n){var o=new wijmo_chart_1._DataPoint(e,a,t,i);o.y=i;o.yfmt=n._formatValue(i);o.x=t;o.xfmt=s._formatValue(t);return o};OverlayIndicatorBase.prototype._shouldCalculate=function(){return!0};OverlayIndicatorBase.prototype._init=function(){};OverlayIndicatorBase.prototype._calculate=function(){};OverlayIndicatorBase.prototype._clearValues=function(){t.prototype._clearValues.call(this);this.__hitTester=null};OverlayIndicatorBase.prototype._getName=function(t){var i=void 0;if(this.name)if(this.name.indexOf(",")){var e=this.name.split(",");e&&e.length-1>=t&&(i=e[t].trim())}else i=this.name;return i};OverlayIndicatorBase.prototype._getStyles=function(t){var i=null;if(t<0||null===this._styles)return i;var e=0;for(var a in this._styles){if(e===t&&this._styles.hasOwnProperty(a)){i=this._styles[a];break}e++}return i};OverlayIndicatorBase.prototype.legendItemLength=function(){return this._seriesCount};OverlayIndicatorBase.prototype.measureLegendItem=function(t,i){var e=this._getName(i),a=new wijmo_1.Size(0,0);e&&(a=this._measureLegendItem(t,this._getName(i)));return a};OverlayIndicatorBase.prototype.drawLegendItem=function(t,i,e){var a=this._getStyles(e)||this.style;this._getName(e)&&this._drawLegendItem(t,i,this._getChartType(),this._getName(e),a,this.symbolStyle)};return OverlayIndicatorBase}(wijmo_chart_1.SeriesBase);exports.OverlayIndicatorBase=OverlayIndicatorBase;var SingleOverlayIndicatorBase=function(t){__extends(SingleOverlayIndicatorBase,t);function SingleOverlayIndicatorBase(i){var e=t.call(this,i)||this;e._period=14;return e}Object.defineProperty(SingleOverlayIndicatorBase.prototype,"period",{get:function(){return this._period},set:function(t){if(t!==this._period){this._period=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});SingleOverlayIndicatorBase.prototype.getValues=function(i){var e=null;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}0===i?e=this._yvals:1===i&&(e=this._xvals);return e};SingleOverlayIndicatorBase.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=wijmo_chart_finance_1._minimum(this._xvals),n=wijmo_chart_finance_1._maximum(this._xvals),o=wijmo_chart_finance_1._minimum(this._yvals),r=wijmo_chart_finance_1._maximum(this._yvals);wijmo_chart_1._DataInfo.isValid(s)&&wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&(a=new wijmo_1.Rect(s,o,n-s,r-o));return a};SingleOverlayIndicatorBase.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._xvals=null;this._yvals=null};SingleOverlayIndicatorBase.prototype._shouldCalculate=function(){return!this._yvals||!this._xvals};SingleOverlayIndicatorBase.prototype._init=function(){t.prototype._init.call(this);this._yvals=[];this._xvals=[]};SingleOverlayIndicatorBase.prototype._getItem=function(i){if(t.prototype._getLength.call(this)<=0)return t.prototype._getItem.call(this,i);if(this._shouldCalculate()){this._init();this._calculate()}i=t.prototype._getLength.call(this)-wijmo_chart_finance_1._minimum(this._yvals.length,this._xvals.length)+i;return t.prototype._getItem.call(this,i)};return SingleOverlayIndicatorBase}(OverlayIndicatorBase);exports.SingleOverlayIndicatorBase=SingleOverlayIndicatorBase;var WilliamsR=function(t){__extends(WilliamsR,t);function WilliamsR(i){var e=t.call(this)||this;e.period=14;e.initialize(i);return e}WilliamsR.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype._getBindingValues.call(this,0),a=t.prototype._getBindingValues.call(this,1),s=t.prototype._getBindingValues.call(this,3),n=this._getXValues();this._yvals=_williamsR(e,a,s,this.period);this._xvals=n?n.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i-1)}};return WilliamsR}(SingleOverlayIndicatorBase);exports.WilliamsR=WilliamsR;function _williamsR(t,i,e,a){wijmo_1.asArray(t,!1);wijmo_1.asArray(i,!1);wijmo_1.asArray(e,!1);wijmo_1.asInt(a,!1,!0);var s,n=wijmo_chart_finance_1._minimum(t.length,i.length,e.length),o=[],r=[],l=[];wijmo_1.assert(n>a&&a>1,"Williams %R period must be an integer less than the length of the data and greater than one.");for(s=a;s<=t.length;s++){o.push(wijmo_chart_finance_1._maximum(t.slice(s-a,s)));r.push(wijmo_chart_finance_1._minimum(i.slice(s-a,s)))}e.splice(0,a-1);for(s=0;s<o.length;s++)l.push((o[s]-e[s])/(o[s]-r[s])*-100);return l}exports._williamsR=_williamsR;var Stochastic=function(t){__extends(Stochastic,t);function Stochastic(i){var e=t.call(this)||this;e._kPeriod=14;e._dPeriod=3;e._smoothingPeriod=1;e._seriesCount=2;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(Stochastic.prototype,"kPeriod",{get:function(){return this._kPeriod},set:function(t){if(t!==this._kPeriod){this._kPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Stochastic.prototype,"dPeriod",{get:function(){return this._dPeriod},set:function(t){if(t!==this._dPeriod){this._dPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Stochastic.prototype,"smoothingPeriod",{get:function(){return this._smoothingPeriod},set:function(t){if(t!==this._smoothingPeriod){this._smoothingPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Stochastic.prototype,"styles",{get:function(){return this._styles},set:function(t){if(t!==this._styles){this._styles=t;this._invalidate()}},enumerable:!0,configurable:!0});Stochastic.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=this._kVals.concat(this._dVals),n=this._kXVals.concat(this._dXVals),o=wijmo_chart_finance_1._minimum(n),r=wijmo_chart_finance_1._maximum(n),l=wijmo_chart_finance_1._minimum(s),_=wijmo_chart_finance_1._maximum(s);wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&wijmo_chart_1._DataInfo.isValid(l)&&wijmo_chart_1._DataInfo.isValid(_)&&(a=new wijmo_1.Rect(o,l,r-o,_-l));return a};Stochastic.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._kVals=null;this._kXVals=null;this._dVals=null;this._dXVals=null};Stochastic.prototype._shouldCalculate=function(){return!(this._kVals&&this._kXVals&&this._dVals&&this._dXVals)};Stochastic.prototype._init=function(){t.prototype._init.call(this);this._kVals=[];this._kXVals=[];this._dVals=[];this._dXVals=[]};Stochastic.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(t.prototype._getLength.call(this)<=0)){var e=t.prototype._getBindingValues.call(this,0),a=t.prototype._getBindingValues.call(this,1),s=t.prototype._getBindingValues.call(this,3),n=this._getXValues(),o=_stochastic(e,a,s,this.kPeriod,this.dPeriod,this.smoothingPeriod);this._kVals=o.ks;this._dVals=o.ds;this._kXVals=n?n.slice(this.kPeriod-1):wijmo_chart_finance_1._range(this.kPeriod-1,i-1);this.smoothingPeriod&&this.smoothingPeriod>1&&(this._kXVals=this._kXVals.slice(this._kXVals.length-this._kVals.length,this._kXVals.length));this._dXVals=this._kXVals.slice(this._kXVals.length-this._dVals.length,this._kXVals.length)}};Stochastic.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),l=this._getSymbolStroke(a),_=this.chart._plotrectId,h=null,c=l,u=2,d=null,m=l,p=2;if(this.styles&&wijmo_1.isObject(this.styles)){if(this.styles.kLine&&wijmo_1.isObject(this.styles.kLine)){c=(h=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.kLine,["fill"])).stroke?h.stroke:l;u=h.strokeWidth?h.strokeWidth:2}if(this.styles.dLine&&wijmo_1.isObject(this.styles.dLine)){m=(d=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.dLine,["fill"])).stroke?d.stroke:l;p=d.strokeWidth?d.strokeWidth:2}}var g,f,y,w,v=[],j=[],V=[],b=[],x=this._getLength();for(y=0;y<this._kVals.length;y++){w=x-this._kVals.length+y;j.push(n.convert(this._kXVals[y]));v.push(o.convert(this._kVals[y]));(g=this._getDataPoint(this._kXVals[y],this._kVals[y],a,w,n,o)).name=this._getName(0);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(j[y],v[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(j,v),a);s.stroke=c;s.strokeWidth=u;s.drawLines(j,v,null,r,_);for(y=0;y<this._dVals.length;y++){w=x-this._dVals.length+y;b.push(n.convert(this._dXVals[y]));V.push(o.convert(this._dVals[y]));(g=this._getDataPoint(this._dXVals[y],this._dVals[y],a,w,n,o)).name=this._getName(1);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(b[y],V[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(b,V),a);s.stroke=m;s.strokeWidth=p;s.drawLines(b,V,null,r,_)}};Stochastic.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"kLine":for(;a<this._kVals.length;a++)e.push({x:this._kXVals[a],y:this._kVals[a]});break;case"dLine":for(;a<this._dVals.length;a++)e.push({x:this._dXVals[a],y:this._dVals[a]})}return e};return Stochastic}(OverlayIndicatorBase);exports.Stochastic=Stochastic;function _stochastic(t,i,e,a,s,n){wijmo_1.asArray(t,!1);wijmo_1.asArray(i,!1);wijmo_1.asArray(e,!1);wijmo_1.asInt(a,!1,!0);wijmo_1.asInt(s,!1,!0);wijmo_1.asInt(n,!0,!0);var o,r=[],l=[],_=[];for(o=a;o<=t.length;o++){r.push(wijmo_chart_finance_1._maximum(t.slice(o-a,o)));l.push(wijmo_chart_finance_1._minimum(i.slice(o-a,o)))}e=e.slice(a-1);for(o=0;o<e.length;o++)_.push((e[o]-l[o])/(r[o]-l[o])*100);n&&n>1&&(_=wijmo_chart_finance_1._sma(_,n));return{ks:_,ds:wijmo_chart_finance_1._sma(_,s)}}exports._stochastic=_stochastic;var RSI=function(t){__extends(RSI,t);function RSI(i){var e=t.call(this)||this;e.period=14;e.initialize(i);return e}RSI.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype._getBindingValues.call(this,0),a=this._getXValues();this._yvals=_rsi(e,this.period);this._xvals=a?a.slice(this.period):wijmo_chart_finance_1._range(this.period,i)}};return RSI}(SingleOverlayIndicatorBase);exports.RSI=RSI;function _rsi(t,i){wijmo_1.asArray(t,!1);wijmo_1.asInt(i,!0,!1);wijmo_1.assert(t.length>i&&i>1,"RSI period must be an integer less than the length of the data and greater than one.");var e,a,s,n,o=[],r=[],l=[],_=[];for(n=1;n<t.length;n++)o.push(t[n]-t[n-1]);e=o.map((function(t){return t>0?t:0}));a=o.map((function(t){return t<0?Math.abs(t):0}));for(n=i;n<=o.length;n++){if(n===i){r.push(wijmo_chart_finance_1._sum(e.slice(n-i,n))/i);l.push(wijmo_chart_finance_1._sum(a.slice(n-i,n))/i)}else{r.push((e[n-1]+r[n-i-1]*(i-1))/i);l.push((a[n-1]+l[n-i-1]*(i-1))/i)}s=r[n-i]/l[n-i];s=isFinite(s)?s:0;_.push(100-100/(1+s))}return _}exports._rsi=_rsi;var MacdBase=function(t){__extends(MacdBase,t);function MacdBase(i){var e=t.call(this,i)||this;e._fastPeriod=12;e._slowPeriod=26;e._smoothingPeriod=9;return e}Object.defineProperty(MacdBase.prototype,"fastPeriod",{get:function(){return this._fastPeriod},set:function(t){if(t!==this._fastPeriod){this._fastPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(MacdBase.prototype,"slowPeriod",{get:function(){return this._slowPeriod},set:function(t){if(t!==this._slowPeriod){this._slowPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(MacdBase.prototype,"smoothingPeriod",{get:function(){return this._smoothingPeriod},set:function(t){if(t!==this._smoothingPeriod){this._smoothingPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});MacdBase.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._macdVals=null;this._macdXVals=null;this._signalVals=null;this._signalXVals=null;this._histogramVals=null;this._histogramXVals=null};MacdBase.prototype._shouldCalculate=function(){return!(this._macdVals&&this._macdXVals&&this._signalVals&&this._signalXVals&&this._histogramVals&&this._histogramXVals)};MacdBase.prototype._init=function(){t.prototype._init.call(this);this._macdVals=[];this._macdXVals=[];this._signalVals=[];this._signalXVals=[];this._histogramVals=[];this._histogramXVals=[]};MacdBase.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype.getValues.call(this,0),a=this._getXValues(),s=_macd(e,this.fastPeriod,this.slowPeriod,this.smoothingPeriod);this._macdVals=s.macds;this._signalVals=s.signals;this._histogramVals=s.histograms;this._macdXVals=a?a.slice(i-this._macdVals.length,i):wijmo_chart_finance_1._range(i-this._macdVals.length,i-1);this._signalXVals=a?a.slice(i-this._signalVals.length,i):wijmo_chart_finance_1._range(i-this._signalVals.length,i-1);this._histogramXVals=a?a.slice(i-this._histogramVals.length,i):wijmo_chart_finance_1._range(i-this._histogramVals.length,i-1)}};return MacdBase}(OverlayIndicatorBase);exports.MacdBase=MacdBase;var Macd=function(t){__extends(Macd,t);function Macd(i){var e=t.call(this)||this;e._seriesCount=2;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(Macd.prototype,"styles",{get:function(){return this._styles},set:function(t){if(t!==this._styles){this._styles=t;this._invalidate()}},enumerable:!0,configurable:!0});Macd.prototype.legendItemLength=function(){return this.name.indexOf(",")>-1?2:1};Macd.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=[],n=[];n.push.apply(n,this._macdXVals);n.push.apply(n,this._signalXVals);s.push.apply(s,this._macdVals);s.push.apply(s,this._signalVals);var o=wijmo_chart_finance_1._minimum(n),r=wijmo_chart_finance_1._maximum(n),l=wijmo_chart_finance_1._minimum(s),_=wijmo_chart_finance_1._maximum(s);wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&wijmo_chart_1._DataInfo.isValid(l)&&wijmo_chart_1._DataInfo.isValid(_)&&(a=new wijmo_1.Rect(o,l,r-o,_-l));return a};Macd.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),l=this._getSymbolStroke(a),_=this.chart._plotrectId,h=null,c=l,u=2,d=null,m=l,p=2;if(this.styles&&wijmo_1.isObject(this.styles)){if(this.styles.macdLine&&wijmo_1.isObject(this.styles.macdLine)){c=(h=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.macdLine,["fill"])).stroke?h.stroke:l;u=h.strokeWidth?h.strokeWidth:2}if(this.styles.signalLine&&wijmo_1.isObject(this.styles.signalLine)){m=(d=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.signalLine,["fill"])).stroke?d.stroke:l;p=d.strokeWidth?d.strokeWidth:2}}var g,f,y,w,v=[],j=[],V=[],b=[],x=this._getLength();for(y=0;y<this._macdVals.length;y++){w=x-this._macdVals.length+y;j.push(n.convert(this._macdXVals[y]));v.push(o.convert(this._macdVals[y]));(g=this._getDataPoint(this._macdXVals[y],this._macdVals[y],a,w,n,o)).name=this._getName(0);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(j[y],v[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(j,v),a);s.stroke=c;s.strokeWidth=u;s.drawLines(j,v,null,r,_);for(y=0;y<this._signalVals.length;y++){w=x-this._signalVals.length+y;b.push(n.convert(this._signalXVals[y]));V.push(o.convert(this._signalVals[y]));(g=this._getDataPoint(this._signalXVals[y],this._signalVals[y],a,w,n,o)).name=this._getName(1);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(b[y],V[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(b,V),a);s.stroke=m;s.strokeWidth=p;s.drawLines(b,V,null,r,_)}};Macd.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"macdLine":for(;a<this._macdVals.length;a++)e.push({x:this._macdXVals[a],y:this._macdVals[a]});break;case"signalLine":for(;a<this._signalVals.length;a++)e.push({x:this._signalXVals[a],y:this._signalVals[a]})}return e};return Macd}(MacdBase);exports.Macd=Macd;var MovingAverageType,MacdHistogram=function(t){__extends(MacdHistogram,t);function MacdHistogram(i){return t.call(this,i)||this}MacdHistogram.prototype.getValues=function(i){var e=null;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}0===i?e=this._histogramVals:1===i&&(e=this._histogramXVals);return e};MacdHistogram.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=wijmo_chart_finance_1._minimum(this._histogramXVals),n=wijmo_chart_finance_1._maximum(this._histogramXVals),o=wijmo_chart_finance_1._minimum(this._histogramVals),r=wijmo_chart_finance_1._maximum(this._histogramVals);wijmo_chart_1._DataInfo.isValid(s)&&wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&(a=new wijmo_1.Rect(s,o,n-s,r-o));return a};MacdHistogram.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Column};MacdHistogram.prototype._getItem=function(i){i=t.prototype._getLength.call(this)-wijmo_chart_finance_1._minimum(this._histogramVals.length,this._histogramXVals.length)+i;return t.prototype._getItem.call(this,i)};return MacdHistogram}(MacdBase);exports.MacdHistogram=MacdHistogram;function _macd(t,i,e,a){wijmo_1.asArray(t,!1);wijmo_1.asInt(i,!1,!0);wijmo_1.asInt(e,!1,!0);wijmo_1.asInt(a,!1,!0);var s,n=i>e;if(n){s=e;e=i;i=s}var o,r,l=wijmo_chart_finance_1._ema(t,i),_=wijmo_chart_finance_1._ema(t,e),h=[],c=[];l.splice(0,e-i);for(r=0;r<l.length;r++){s=l[r]-_[r];n&&(s*=-1);h.push(s)}o=wijmo_chart_finance_1._ema(h,a);var u=h.slice(h.length-o.length,h.length);for(r=0;r<u.length;r++)c.push(u[r]-o[r]);return{macds:h,signals:o,histograms:c}}exports._macd=_macd;!function(t){t[t.Simple=0]="Simple";t[t.Exponential=1]="Exponential"}(MovingAverageType=exports.MovingAverageType||(exports.MovingAverageType={}));var Envelopes=function(t){__extends(Envelopes,t);function Envelopes(i){var e=t.call(this)||this;e._period=20;e._type=MovingAverageType.Simple;e._size=.025;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(Envelopes.prototype,"period",{get:function(){return this._period},set:function(t){if(t!==this._period){this._period=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Envelopes.prototype,"type",{get:function(){return this._type},set:function(t){if((t=wijmo_1.asEnum(t,MovingAverageType,!1))!==this._type){this._type=t;this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Envelopes.prototype,"size",{get:function(){return this._size},set:function(t){if(t!==this._size){this._size=wijmo_1.asNumber(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Envelopes.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=this._upperYVals.concat(this._lowerYVals),n=wijmo_chart_finance_1._minimum(this._xVals),o=wijmo_chart_finance_1._maximum(this._xVals),r=wijmo_chart_finance_1._minimum(s),l=wijmo_chart_finance_1._maximum(s);wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&wijmo_chart_1._DataInfo.isValid(l)&&(a=new wijmo_1.Rect(n,r,o-n,l-r));return a};Envelopes.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._upperYVals=null;this._lowerYVals=null;this._xVals=null};Envelopes.prototype._init=function(){t.prototype._init.call(this);this._upperYVals=[];this._lowerYVals=[];this._xVals=[]};Envelopes.prototype._shouldCalculate=function(){return!this._upperYVals||!this._lowerYVals||!this._xVals};Envelopes.prototype._calculate=function(){var i=this;if(!(t.prototype._getLength.call(this)<=0)){var e,a=t.prototype.getValues.call(this,0),s=this._getXValues();switch(this.type){case MovingAverageType.Exponential:e=wijmo_chart_finance_1._ema(a,this.period);break;case MovingAverageType.Simple:default:e=wijmo_chart_finance_1._sma(a,this.period)}this._xVals=s?s.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,t.prototype._getLength.call(this)-1);this._upperYVals=e.map((function(t){return t+t*i.size}));this._lowerYVals=e.map((function(t){return t-t*i.size}))}};Envelopes.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_finance_1._minimum(this._upperYVals.length,this._lowerYVals.length,this._xVals.length),l=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),_=this._getSymbolStroke(a),h=this.chart._plotrectId;if(r&&!(r<=0)){s.stroke=_;s.strokeWidth=2;for(var c,u,d,m=[],p=[],g=[],f=this._getLength(),y=0;y<r;y++){d=f-r+y;m.push(n.convert(this._xVals[y]));p.push(o.convert(this._upperYVals[y]));c=this._getDataPoint(this._xVals[y],this._upperYVals[y],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[y],p[y]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a);g.push(o.convert(this._lowerYVals[y]));c=this._getDataPoint(this._xVals[y],this._lowerYVals[y],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[y],g[y]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(m,p),a);this._hitTester.add(new wijmo_chart_1._LinesArea(m,g),a);s.drawLines(m,p,null,l,h);s.drawLines(m,g,null,l,h)}}};Envelopes.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"upperEnvelope":for(;a<this._upperYVals.length;a++)e.push({x:this._xVals[a],y:this._upperYVals[a]});break;case"lowerEnvelope":for(;a<this._lowerYVals.length;a++)e.push({x:this._xVals[a],y:this._lowerYVals[a]})}return e};return Envelopes}(OverlayIndicatorBase);exports.Envelopes=Envelopes;var CCI=function(t){__extends(CCI,t);function CCI(i){var e=t.call(this)||this;e._constant=.015;e.period=20;e.initialize(i);return e}Object.defineProperty(CCI.prototype,"constant",{get:function(){return this._constant},set:function(t){if(t!==this._constant){this._constant=wijmo_1.asNumber(t,!1);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});CCI.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype._getBindingValues.call(this,0),a=t.prototype._getBindingValues.call(this,1),s=t.prototype._getBindingValues.call(this,3),n=this._getXValues();this._yvals=_cci(e,a,s,this.period,this.constant);this._xvals=n?n.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i-1)}};return CCI}(SingleOverlayIndicatorBase);exports.CCI=CCI;function _cci(t,i,e,a,s){wijmo_1.asArray(t,!1);wijmo_1.asArray(i,!1);wijmo_1.asArray(e,!1);wijmo_1.asInt(a,!1,!0);wijmo_1.asNumber(s,!1,!0);var n,o,r,l=wijmo_chart_finance_1._minimum(t.length,i.length,e.length),_=[],h=[],c=[];wijmo_1.assert(l>a&&a>1,"CCI period must be an integer less than the length of the data and greater than one.");for(o=0;o<l;o++)_.push(wijmo_chart_finance_1._average(t[o],i[o],e[o]));n=wijmo_chart_finance_1._sma(_,a);for(o=0;o<n.length;o++){r=_.slice(o,a+o).reduce((function(t,i){return t+Math.abs(n[o]-i)}),0);h.push(r/a)}_.splice(0,a-1);for(o=0;o<n.length;o++)c.push((_[o]-n[o])/(s*h[o]));return c}exports._cci=_cci;var BollingerBands=function(t){__extends(BollingerBands,t);function BollingerBands(i){var e=t.call(this)||this;e._period=20;e._multiplier=2;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(BollingerBands.prototype,"period",{get:function(){return this._period},set:function(t){if(t!==this._period){this._period=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BollingerBands.prototype,"multiplier",{get:function(){return this._multiplier},set:function(t){if(t!==this._multiplier){this._multiplier=wijmo_1.asNumber(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});BollingerBands.prototype.getDataRect=function(i,e){if(e)return e;if(t.prototype._getLength.call(this)<=0)return null;if(this._shouldCalculate()){this._init();this._calculate()}var a=this._upperYVals.concat(this._lowerYVals),s=wijmo_chart_finance_1._minimum(this._xVals),n=wijmo_chart_finance_1._maximum(this._xVals),o=wijmo_chart_finance_1._minimum(a),r=wijmo_chart_finance_1._maximum(a);return wijmo_chart_1._DataInfo.isValid(s)&&wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)?new wijmo_1.Rect(s,o,n-s,r-o):null};BollingerBands.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._upperYVals=null;this._middleYVals=null;this._lowerYVals=null;this._xVals=null};BollingerBands.prototype._shouldCalculate=function(){return!(this._upperYVals&&this._middleYVals&&this._lowerYVals&&this._xVals)};BollingerBands.prototype._init=function(){t.prototype._init.call(this);this._upperYVals=[];this._middleYVals=[];this._lowerYVals=[];this._xVals=[]};BollingerBands.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype.getValues.call(this,0),a=this._getXValues(),s=_bollingerBands(e,this.period,this.multiplier);this._upperYVals=s.uppers;this._middleYVals=s.middles;this._lowerYVals=s.lowers;this._xVals=a?a.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i-1)}};BollingerBands.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_finance_1._minimum(this._upperYVals.length,this._middleYVals.length,this._lowerYVals.length,this._xVals.length),l=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),_=this._getSymbolStroke(a),h=this.chart._plotrectId;if(r&&!(r<=0)){s.stroke=_;s.strokeWidth=2;for(var c,u,d,m=[],p=[],g=[],f=[],y=this._getLength(),w=0;w<r;w++){d=y-r+w;m.push(n.convert(this._xVals[w]));p.push(o.convert(this._upperYVals[w]));c=this._getDataPoint(this._xVals[w],this._upperYVals[w],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[w],p[w]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a);g.push(o.convert(this._middleYVals[w]));c=this._getDataPoint(this._xVals[w],this._middleYVals[w],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[w],g[w]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a);f.push(o.convert(this._lowerYVals[w]));c=this._getDataPoint(this._xVals[w],this._lowerYVals[w],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[w],f[w]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(m,p),a);this._hitTester.add(new wijmo_chart_1._LinesArea(m,g),a);this._hitTester.add(new wijmo_chart_1._LinesArea(m,f),a);s.drawLines(m,p,null,l,h);s.drawLines(m,g,null,l,h);s.drawLines(m,f,null,l,h)}}};BollingerBands.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"upperBand":for(;a<this._upperYVals.length;a++)e.push({x:this._xVals[a],y:this._upperYVals[a]});break;case"middleBand":for(;a<this._middleYVals.length;a++)e.push({x:this._xVals[a],y:this._middleYVals[a]});break;case"lowerBand":for(;a<this._lowerYVals.length;a++)e.push({x:this._xVals[a],y:this._lowerYVals[a]})}return e};return BollingerBands}(OverlayIndicatorBase);exports.BollingerBands=BollingerBands;function _bollingerBands(t,i,e){wijmo_1.asArray(t,!1);wijmo_1.asInt(i,!1,!0);wijmo_1.asNumber(e,!1,!0);wijmo_1.assert(t.length>i&&i>1,"Bollinger Bands period must be an integer less than the length of the data and greater than one.");var a,s=wijmo_chart_finance_1._sma(t,i),n=[];for(a=i;a<=t.length;a++)n.push(wijmo_chart_finance_1._stdDeviation(t.slice(a-i,a)));var o=s,r=s.map((function(t,i){return t+n[i]*e}));return{lowers:s.map((function(t,i){return t-n[i]*e})),middles:o,uppers:r}}exports._bollingerBands=_bollingerBands;var ATR=function(t){__extends(ATR,t);function ATR(i){var e=t.call(this)||this;e.period=14;e.initialize(i);return e}ATR.prototype._calculate=function(){if(!(t.prototype._getLength.call(this)<=0)){var i=t.prototype._getBindingValues.call(this,0),e=t.prototype._getBindingValues.call(this,1),a=t.prototype._getBindingValues.call(this,3),s=this._getXValues();this._yvals=wijmo_chart_finance_1._avgTrueRng(i,e,a,this.period);this._xvals=s?s.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i.length)}};return ATR}(SingleOverlayIndicatorBase);exports.ATR=ATR;wijmo_1._registerModule("wijmo.chart.finance.analytics",selfModule);
|
|
14
|
+
"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(t,i){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)};return function(t,i){extendStatics(t,i);function __(){this.constructor=t}t.prototype=null===i?Object.create(i):(__.prototype=i.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var i={};if(null!=t)for(var e in t)Object.hasOwnProperty.call(t,e)&&(i[e]=t[e]);i.default=t;return i};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),wijmo_chart_finance_1=require("wijmo/wijmo.chart.finance"),selfModule=__importStar(require("wijmo/wijmo.chart.finance.analytics"));function isValid(t){return Number.isFinite(t)&&!isNaN(t)&&wijmo_1.isNumber(t)}var Fibonacci=function(t){__extends(Fibonacci,t);function Fibonacci(i){var e=t.call(this)||this;e._levels=[0,23.6,38.2,50,61.8,100];e._uptrend=!0;e._labelPosition=wijmo_chart_1.LabelPosition.Left;e.rendering.addHandler(e._render);e.initialize(i);return e}Object.defineProperty(Fibonacci.prototype,"low",{get:function(){return this._low},set:function(t){if(t!=this._low){this._low=wijmo_1.asNumber(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"high",{get:function(){return this._high},set:function(t){if(t!=this._high){this._high=wijmo_1.asNumber(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition,!0))!=this._labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"uptrend",{get:function(){return this._uptrend},set:function(t){if(t!=this._uptrend){this._uptrend=wijmo_1.asBoolean(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!=this._levels){this._levels=wijmo_1.asArray(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"minX",{get:function(){return this._minX},set:function(t){if(t!=this._minX){this._minX=t;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"maxX",{get:function(){return this._maxX},set:function(t){if(t!=this._maxX){this._maxX=t;this._invalidate()}},enumerable:!0,configurable:!0});Fibonacci.prototype._getMinX=function(){return wijmo_1.isNumber(this._minX)?this._minX:wijmo_1.isDate(this._minX)?wijmo_1.asDate(this._minX).valueOf():this._getAxisX().actualMin};Fibonacci.prototype._getMaxX=function(){return wijmo_1.isNumber(this._maxX)?this._maxX:wijmo_1.isDate(this._maxX)?wijmo_1.asDate(this._maxX).valueOf():this._getAxisX().actualMax};Fibonacci.prototype._updateLevels=function(){var i,e;if(void 0===this._low||void 0===this._high){var a=t.prototype.getValues.call(this,0),s=t.prototype.getValues.call(this,1);if(a)for(var n=a.length,o=this._getMinX(),r=this._getMaxX(),l=0;l<n;l++){var _=a[l],h=s?s[l]:l;if(!(h<o||h>r)&&!isNaN(_)){(void 0===i||i>_)&&(i=_);(void 0===e||e<_)&&(e=_)}}}void 0===this._low&&void 0!==i?this._actualLow=i:this._actualLow=this._low;void 0===this._high&&void 0!==e?this._actualHigh=e:this._actualHigh=this._high};Fibonacci.prototype._render=function(t,i){i.cancel=!0;var e=t;e._updateLevels();var a=e._getAxisX(),s=e._getAxisY(),n=i.engine,o=e._getSymbolStroke(e._chart.series.indexOf(e)),r=wijmo_chart_1._BasePlotter.cloneStyle(e.style,["fill"]),l=wijmo_chart_1._BasePlotter.cloneStyle(e.style,["stroke"]),_=e.chart._plotrectId;n.stroke=o;n.strokeWidth=2;n.textFill=o;var h=e._getMinX(),c=e._getMaxX();h<a.actualMin&&(h=a.actualMin);c>a.actualMax&&(c=a.actualMax);n.startGroup(null,_);for(var u=e._levels?e._levels.length:0,d=0;d<u;d++){var m=e._levels[d],p=a.convert(h),g=a.convert(c),f=e.uptrend?s.convert(e._actualLow+.01*m*(e._actualHigh-e._actualLow)):s.convert(e._actualHigh-.01*m*(e._actualHigh-e._actualLow));if(wijmo_chart_1._DataInfo.isValid(p)&&wijmo_chart_1._DataInfo.isValid(g)&&wijmo_chart_1._DataInfo.isValid(f)){n.drawLine(p,f,g,f,null,r);if(e.labelPosition!=wijmo_chart_1.LabelPosition.None){var y=m.toFixed(1)+"%",w=0;(e.uptrend&&0==d||!e.uptrend&&d==u-1)&&(w=2);switch(e.labelPosition){case wijmo_chart_1.LabelPosition.Left:wijmo_chart_1.FlexChartCore._renderText(n,y,new wijmo_1.Point(p,f),0,w,null,null,l);break;case wijmo_chart_1.LabelPosition.Center:wijmo_chart_1.FlexChartCore._renderText(n,y,new wijmo_1.Point(.5*(p+g),f),1,w,null,null,l);break;case wijmo_chart_1.LabelPosition.Right:wijmo_chart_1.FlexChartCore._renderText(n,y,new wijmo_1.Point(g,f),2,w,null,null,l)}}}}n.stroke=null;n.strokeWidth=null;n.textFill=null;n.endGroup()};Fibonacci.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return Fibonacci}(wijmo_chart_1.SeriesBase);exports.Fibonacci=Fibonacci;var FibonacciArcs=function(t){__extends(FibonacciArcs,t);function FibonacciArcs(i){var e=t.call(this)||this;e._levels=[38.2,50,61.8];e._labelPosition=wijmo_chart_1.LabelPosition.Top;e.rendering.addHandler(e._render,e);e.initialize(i);return e}Object.defineProperty(FibonacciArcs.prototype,"start",{get:function(){return this._start},set:function(t){if(t!==this.start){this._start=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciArcs.prototype,"end",{get:function(){return this._end},set:function(t){if(t!==this.end){this._end=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciArcs.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!==this._levels){this._levels=wijmo_1.asArray(t,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciArcs.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition))!==this.labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});FibonacciArcs.prototype._render=function(i,e){e.cancel=!0;var a=this._getX(0),s=this._getY(0),n=this._getX(1),o=this._getY(1);if(!(t.prototype._getLength.call(this)<=1)&&isValid(a)&&isValid(s)&&isValid(n)&&isValid(o)){var r,l=this._getAxisX(),_=this._getAxisY(),h=e.engine,c=this.chart.series.indexOf(this),u=this._getSymbolStroke(c),d=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),m=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["stroke"]);h.stroke=u;h.strokeWidth=2;h.textFill=u;var p,g,f,y,w,v,j,b,V,x=this.chart._plotrectId,P=o-s;r=h.startGroup(null,x);wijmo_1.addClass(r,"fibonacci-arcs");isValid(a)&&isValid(s)&&isValid(n)&&isValid(o)&&h.drawLines([l.convert(a),l.convert(n)],[_.convert(s),_.convert(o)],null,d);y=Math.sqrt(Math.pow(l.convert(n)-l.convert(a),2)+Math.pow(_.convert(o)-_.convert(s),2));v=new wijmo_1.Point(n,o);for(var B=0;B<this.levels.length;B++){j=.01*this.levels[B];w=Math.abs(y*j);if(isValid(v.x)&&isValid(v.y)&&isValid(w)){p=l.convert(v.x);g=_.convert(v.y);h.drawDonutSegment(p,g,w,w,P>0?0:Math.PI,Math.PI,null,d);if(this.labelPosition!==wijmo_chart_1.LabelPosition.None&&0!==j){V=wijmo_1.Globalize.format(j,"p1");b=h.measureString(V,null,null,m);f=P<=0?g-w:g+w;switch(this.labelPosition){case wijmo_chart_1.LabelPosition.Center:f+=.5*b.height;break;case wijmo_chart_1.LabelPosition.Bottom:f+=P<=0?b.height:0;break;default:f+=P<=0?0:b.height}h.drawString(V,new wijmo_1.Point(p-.5*b.width,f),null,m)}}}h.stroke=null;h.strokeWidth=null;h.textFill=null;h.endGroup()}};FibonacciArcs.prototype._getX=function(t){var i=null;0===t&&this.start?i=this.start.x:1===t&&this.end&&(i=this.end.x);wijmo_1.isDate(i)&&(i=wijmo_1.asDate(i).valueOf());return i};FibonacciArcs.prototype._getY=function(t){var i=null;0===t&&this.start?i=this.start.y:1===t&&this.end&&(i=this.end.y);return i};FibonacciArcs.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return FibonacciArcs}(wijmo_chart_1.SeriesBase);exports.FibonacciArcs=FibonacciArcs;var FibonacciFans=function(t){__extends(FibonacciFans,t);function FibonacciFans(i){var e=t.call(this)||this;e._levels=[0,23.6,38.2,50,61.8,100];e._labelPosition=wijmo_chart_1.LabelPosition.Top;e.rendering.addHandler(e._render,e);e.initialize(i);return e}Object.defineProperty(FibonacciFans.prototype,"start",{get:function(){return this._start},set:function(t){if(t!==this.start){this._start=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciFans.prototype,"end",{get:function(){return this._end},set:function(t){if(t!==this.end){this._end=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciFans.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!==this._levels){this._levels=wijmo_1.asArray(t,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciFans.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition))!==this.labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});FibonacciFans.prototype._updateLevels=function(){if(!this.start||!this.end){var i=this.chart._getPlotter(this),e=this._getAxisX(),a=t.prototype.getValues.call(this,0),s=t.prototype.getValues.call(this,1)||i.dataInfo.getXVals(),n=void 0,o=void 0,r=void 0,l=void 0;if(a&&a.length>0){r=wijmo_chart_finance_1._minimum(a);l=wijmo_chart_finance_1._maximum(a)}if(s&&s.length>0){n=wijmo_chart_finance_1._minimum(s);o=wijmo_chart_finance_1._maximum(s)}else{n=e.actualMin;o=e.actualMax}if(isValid(n)&&isValid(r)&&isValid(o)&&isValid(l)){this.start=new wijmo_chart_1.DataPoint(n,r);this.end=new wijmo_chart_1.DataPoint(o,l)}}};FibonacciFans.prototype._render=function(i,e){e.cancel=!0;this._updateLevels();var a=this._getX(0),s=this._getY(0),n=this._getX(1),o=this._getY(1);if(!(t.prototype._getLength.call(this)<=1)&&isValid(a)&&isValid(s)&&isValid(n)&&isValid(o)){var r=this._getAxisX(),l=this._getAxisY(),_=this.chart.series.indexOf(this),h=e.engine,c=this._getSymbolStroke(_),u=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),d=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["stroke"]);h.stroke=c;h.strokeWidth=2;h.textFill=c;var m,p,g,f,y,w,v,j,b,V,x,P,B,k=o-s,M=n-a,I=this.chart._plotrectId;m=a;g=s;f=o;var L=p=n;h.startGroup(null,I);for(var X=0;X<this.levels.length;X++){p=M<0?r.actualMin:r.actualMax;f=(j=((f=g+(V=.01*this.levels[X])*k)-g)/(L-m))*p+(b=f-j*L);k>0&&f>l.actualMax?p=((f=l.actualMax)-b)/j:k<0&&f<l.actualMin&&(p=((f=l.actualMin)-b)/j);if(isValid(m)&&isValid(g)&&isValid(p)&&isValid(f)){y=new wijmo_1.Point(r.convert(m),l.convert(g));w=new wijmo_1.Point(r.convert(p),l.convert(f));h.drawLines([y.x,w.x],[y.y,w.y],null,u);if(this.labelPosition!=wijmo_chart_1.LabelPosition.None){x=wijmo_1.Globalize.format(V,"p1");P=h.measureString(x,null,null,d);B=180*Math.atan((w.y-y.y)/(w.x-y.x))/Math.PI;v=w.clone();w.x=M>0?w.x-P.width:w.x;var O=B*Math.PI/180,S=new wijmo_1.Point,F=new wijmo_1.Point,C=new wijmo_1.Point,A=new wijmo_1.Point,T=l.convert(l.actualMin),D=l.convert(l.actualMax),Y=r.convert(r.actualMin),R=r.convert(r.actualMax),W=void 0,N=v.clone();switch(this.labelPosition){case wijmo_chart_1.LabelPosition.Center:w.y+=.5*P.height;N.y+=.5*P.height;break;case wijmo_chart_1.LabelPosition.Bottom:w.y+=P.height}if(M>0){if(this.labelPosition===wijmo_chart_1.LabelPosition.Top||this.labelPosition===wijmo_chart_1.LabelPosition.Center){A=N.clone();C.x=A.x+P.height*Math.sin(O);C.y=A.y-P.height*Math.cos(O);S.x=A.x-P.width*Math.cos(O)+P.height*Math.sin(O);S.y=A.y-P.width*Math.sin(O)-P.height*Math.cos(O);F.x=A.x-P.width*Math.cos(O);F.y=A.y-P.width*Math.sin(O)}else if(this.labelPosition===wijmo_chart_1.LabelPosition.Bottom){C=N.clone();S.x=C.x-P.width*Math.cos(O);S.y=C.y-P.width*Math.sin(O);F.x=S.x-P.height*Math.sin(O);F.y=S.y+P.height*Math.cos(O);A.x=S.x+P.width*Math.cos(O)-P.height*Math.sin(O);A.y=S.y+P.width*Math.sin(O)+P.height*Math.cos(O)}if(k>0){if(C.y<D){j=(l.convertBack(C.y)-l.convertBack(S.y))/(r.convertBack(C.x)-r.convertBack(S.x));b=l.convertBack(C.y)-j*r.convertBack(C.x);W=r.convert((l.actualMax-b)/j);w.x-=Math.abs(C.x-W)}A.x>R&&(w.x-=Math.abs(R-A.x))}else if(k<0){if(A.y>T){j=(l.convertBack(F.y)-l.convertBack(A.y))/(r.convertBack(F.x)-r.convertBack(A.x));b=l.convertBack(A.y)-j*r.convertBack(A.x);W=r.convert((l.actualMin-b)/j);w.x-=Math.max(Math.abs(W-A.x),Math.abs(T-A.y))}C.x>R&&(w.x-=Math.abs(R-C.x))}}else if(M<0){if(this.labelPosition===wijmo_chart_1.LabelPosition.Top||this.labelPosition===wijmo_chart_1.LabelPosition.Center){F=N.clone();S.x=F.x+P.height*Math.sin(O);S.y=F.y-P.height*Math.cos(O);A.x=F.x+P.width*Math.cos(O);A.y=F.y+P.width*Math.sin(O);C.x=S.x+P.width*Math.cos(O);C.y=S.y+P.width*Math.sin(O)}else if(this.labelPosition===wijmo_chart_1.LabelPosition.Bottom){S=N.clone();C.x=S.x+P.width*Math.cos(O);C.y=S.y+P.width*Math.sin(O);F.x=S.x-P.height*Math.sin(O);F.y=S.y+P.height*Math.cos(O);A.x=S.x+P.width*Math.cos(O)-P.height*Math.sin(O);A.y=S.y+P.width*Math.sin(O)+P.height*Math.cos(O)}if(k>0){if(S.y<D){j=(l.convertBack(S.y)-l.convertBack(C.y))/(r.convertBack(S.x)-r.convertBack(C.x));b=l.convertBack(S.y)-j*r.convertBack(S.x);W=r.convert((l.actualMax-b)/j);w.x+=Math.abs(S.x-W)}F.x<Y&&(w.x+=Math.abs(Y-F.x))}else if(k<0){if(F.y>T){j=(l.convertBack(A.y)-l.convertBack(F.y))/(r.convertBack(A.x)-r.convertBack(F.x));b=l.convertBack(F.y)-j*r.convertBack(F.x);W=r.convert((l.actualMin-b)/j);w.x+=Math.max(Math.abs(W-F.x),Math.abs(T-F.y))}S.x<Y&&(w.x+=Math.abs(Y-S.x))}}Number.isFinite(w.x)&&Number.isFinite(w.y)&&(0===B?h.drawString(x,w,null,d):h.drawStringRotated(x,w,v,B,null,d))}}}h.stroke=null;h.strokeWidth=null;h.textFill=null;h.endGroup()}};FibonacciFans.prototype._getX=function(t){var i=null;0===t&&this.start?i=this.start.x:1===t&&this.end&&(i=this.end.x);wijmo_1.isDate(i)&&(i=wijmo_1.asDate(i).valueOf());return i};FibonacciFans.prototype._getY=function(t){var i=null;0===t&&this.start?i=this.start.y:1===t&&this.end&&(i=this.end.y);return i};FibonacciFans.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return FibonacciFans}(wijmo_chart_1.SeriesBase);exports.FibonacciFans=FibonacciFans;var FibonacciTimeZones=function(t){__extends(FibonacciTimeZones,t);function FibonacciTimeZones(i){var e=t.call(this)||this;e._levels=[0,1,2,3,5,8,13,21,34];e._labelPosition=wijmo_chart_1.LabelPosition.Right;e.rendering.addHandler(e._render,e);e.initialize(i);return e}Object.defineProperty(FibonacciTimeZones.prototype,"startX",{get:function(){return this._startX},set:function(t){if(t!==this.startX){wijmo_1.isDate(t)?this._startX=wijmo_1.asDate(t):this._startX=wijmo_1.asNumber(t);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciTimeZones.prototype,"endX",{get:function(){return this._endX},set:function(t){if(t!==this.endX){wijmo_1.isDate(t)?this._endX=wijmo_1.asDate(t):this._endX=wijmo_1.asNumber(t);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciTimeZones.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!==this._levels){this._levels=wijmo_1.asArray(t,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciTimeZones.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition))!==this.labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});FibonacciTimeZones.prototype._render=function(i,e){e.cancel=!0;this._updateLevels();var a=this._getX(0),s=this._getX(1);if(!(t.prototype._getLength.call(this)<=1)&&isValid(a)&&isValid(s)){var n,o,r,l,_=s-a,h=this._getAxisX(),c=this._getAxisY(),u=this._chart.series.indexOf(this),d=e.engine,m=this._getSymbolStroke(u),p=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),g=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["stroke"]),f=c.convert(c.actualMin),y=c.convert(c.actualMax),w=this.chart._plotrectId;d.stroke=m;d.strokeWidth=2;d.textFill=m;if(0!==_){d.startGroup(null,w);for(var v=0;v<this.levels.length;v++)if(!((o=_*(n=this.levels[v])+a)<h.actualMin||h.actualMax<o)&&isValid(o)){o=h.convert(o);d.drawLine(o,f,o,y,null,p);if(this.labelPosition!==wijmo_chart_1.LabelPosition.None){l=wijmo_1.Globalize.format(n,"n0");r=d.measureString(l,null,null,g);switch(this.labelPosition){case wijmo_chart_1.LabelPosition.Left:o-=r.width+2;break;case wijmo_chart_1.LabelPosition.Center:o-=r.width/2;break;case wijmo_chart_1.LabelPosition.Right:o+=2;break;default:o=_<0?o-r.width-2:o+2}d.drawString(l,new wijmo_1.Point(o,f),null,g)}}d.stroke=null;d.strokeWidth=null;d.textFill=null;d.endGroup()}}};FibonacciTimeZones.prototype._updateLevels=function(){var i=this.chart._getPlotter(this),e=t.prototype.getValues.call(this,1)||i.dataInfo.getXVals();if(!(t.prototype._getLength.call(this)<=1)){var a=this._getX(0),s=this._getX(1),n=wijmo_1.isNumber(a)&&wijmo_1.isNumber(s);if(n||e){if(!n&&e){this._startX=e[0];this._endX=e[1]}}else{this._startX=0;this._endX=1}}};FibonacciTimeZones.prototype._getX=function(t){var i=null;0===t?i=this.startX:1===t&&(i=this.endX);wijmo_1.isDate(i)&&(i=wijmo_1.asDate(i).valueOf());return i};FibonacciTimeZones.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return FibonacciTimeZones}(wijmo_chart_1.SeriesBase);exports.FibonacciTimeZones=FibonacciTimeZones;var OverlayIndicatorBase=function(t){__extends(OverlayIndicatorBase,t);function OverlayIndicatorBase(i){var e=t.call(this,i)||this;e._seriesCount=1;return e}Object.defineProperty(OverlayIndicatorBase.prototype,"_hitTester",{get:function(){this._plotter&&!this.__hitTester&&(this.__hitTester=this._plotter.hitTester);return this.__hitTester},enumerable:!0,configurable:!0});OverlayIndicatorBase.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};OverlayIndicatorBase.prototype._getXValues=function(){return t.prototype.getValues.call(this,1)||this._plotter.dataInfo.getXVals()};OverlayIndicatorBase.prototype._getDataPoint=function(t,i,e,a,s,n){var o=new wijmo_chart_1._DataPoint(e,a,t,i);o.y=i;o.yfmt=n._formatValue(i);o.x=t;o.xfmt=s._formatValue(t);return o};OverlayIndicatorBase.prototype._shouldCalculate=function(){return!0};OverlayIndicatorBase.prototype._init=function(){};OverlayIndicatorBase.prototype._calculate=function(){};OverlayIndicatorBase.prototype._clearValues=function(){t.prototype._clearValues.call(this);this.__hitTester=null};OverlayIndicatorBase.prototype._getName=function(t){var i;if(this.name)if(this.name.indexOf(",")){var e=this.name.split(",");e&&e.length-1>=t&&(i=e[t].trim())}else i=this.name;return i};OverlayIndicatorBase.prototype._getStyles=function(t){var i=null;if(t<0||null===this._styles)return i;var e=0;for(var a in this._styles){if(e===t&&this._styles.hasOwnProperty(a)){i=this._styles[a];break}e++}return i};OverlayIndicatorBase.prototype.legendItemLength=function(){return this._seriesCount};OverlayIndicatorBase.prototype.measureLegendItem=function(t,i){var e=this._getName(i),a=new wijmo_1.Size(0,0);e&&(a=this._measureLegendItem(t,this._getName(i)));return a};OverlayIndicatorBase.prototype.drawLegendItem=function(t,i,e){var a=this._getStyles(e)||this.style;this._getName(e)&&this._drawLegendItem(t,i,this._getChartType(),this._getName(e),a,this.symbolStyle)};return OverlayIndicatorBase}(wijmo_chart_1.SeriesBase);exports.OverlayIndicatorBase=OverlayIndicatorBase;var SingleOverlayIndicatorBase=function(t){__extends(SingleOverlayIndicatorBase,t);function SingleOverlayIndicatorBase(i){var e=t.call(this,i)||this;e._period=14;return e}Object.defineProperty(SingleOverlayIndicatorBase.prototype,"period",{get:function(){return this._period},set:function(t){if(t!==this._period){this._period=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});SingleOverlayIndicatorBase.prototype.getValues=function(i){var e=null;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}0===i?e=this._yvals:1===i&&(e=this._xvals);return e};SingleOverlayIndicatorBase.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=wijmo_chart_finance_1._minimum(this._xvals),n=wijmo_chart_finance_1._maximum(this._xvals),o=wijmo_chart_finance_1._minimum(this._yvals),r=wijmo_chart_finance_1._maximum(this._yvals);wijmo_chart_1._DataInfo.isValid(s)&&wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&(a=new wijmo_1.Rect(s,o,n-s,r-o));return a};SingleOverlayIndicatorBase.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._xvals=null;this._yvals=null};SingleOverlayIndicatorBase.prototype._shouldCalculate=function(){return!this._yvals||!this._xvals};SingleOverlayIndicatorBase.prototype._init=function(){t.prototype._init.call(this);this._yvals=[];this._xvals=[]};SingleOverlayIndicatorBase.prototype._getItem=function(i){if(t.prototype._getLength.call(this)<=0)return t.prototype._getItem.call(this,i);if(this._shouldCalculate()){this._init();this._calculate()}i=t.prototype._getLength.call(this)-wijmo_chart_finance_1._minimum(this._yvals.length,this._xvals.length)+i;return t.prototype._getItem.call(this,i)};return SingleOverlayIndicatorBase}(OverlayIndicatorBase);exports.SingleOverlayIndicatorBase=SingleOverlayIndicatorBase;var WilliamsR=function(t){__extends(WilliamsR,t);function WilliamsR(i){var e=t.call(this)||this;e.period=14;e.initialize(i);return e}WilliamsR.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype._getBindingValues.call(this,0),a=t.prototype._getBindingValues.call(this,1),s=t.prototype._getBindingValues.call(this,3),n=this._getXValues();this._yvals=_williamsR(e,a,s,this.period);this._xvals=n?n.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i-1)}};return WilliamsR}(SingleOverlayIndicatorBase);exports.WilliamsR=WilliamsR;function _williamsR(t,i,e,a){wijmo_1.asArray(t,!1);wijmo_1.asArray(i,!1);wijmo_1.asArray(e,!1);wijmo_1.asInt(a,!1,!0);var s,n=wijmo_chart_finance_1._minimum(t.length,i.length,e.length),o=[],r=[],l=[];wijmo_1.assert(n>a&&a>1,"Williams %R period must be an integer less than the length of the data and greater than one.");for(s=a;s<=t.length;s++){o.push(wijmo_chart_finance_1._maximum(t.slice(s-a,s)));r.push(wijmo_chart_finance_1._minimum(i.slice(s-a,s)))}e.splice(0,a-1);for(s=0;s<o.length;s++)l.push((o[s]-e[s])/(o[s]-r[s])*-100);return l}exports._williamsR=_williamsR;var Stochastic=function(t){__extends(Stochastic,t);function Stochastic(i){var e=t.call(this)||this;e._kPeriod=14;e._dPeriod=3;e._smoothingPeriod=1;e._seriesCount=2;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(Stochastic.prototype,"kPeriod",{get:function(){return this._kPeriod},set:function(t){if(t!==this._kPeriod){this._kPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Stochastic.prototype,"dPeriod",{get:function(){return this._dPeriod},set:function(t){if(t!==this._dPeriod){this._dPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Stochastic.prototype,"smoothingPeriod",{get:function(){return this._smoothingPeriod},set:function(t){if(t!==this._smoothingPeriod){this._smoothingPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Stochastic.prototype,"styles",{get:function(){return this._styles},set:function(t){if(t!==this._styles){this._styles=t;this._invalidate()}},enumerable:!0,configurable:!0});Stochastic.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=this._kVals.concat(this._dVals),n=this._kXVals.concat(this._dXVals),o=wijmo_chart_finance_1._minimum(n),r=wijmo_chart_finance_1._maximum(n),l=wijmo_chart_finance_1._minimum(s),_=wijmo_chart_finance_1._maximum(s);wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&wijmo_chart_1._DataInfo.isValid(l)&&wijmo_chart_1._DataInfo.isValid(_)&&(a=new wijmo_1.Rect(o,l,r-o,_-l));return a};Stochastic.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._kVals=null;this._kXVals=null;this._dVals=null;this._dXVals=null};Stochastic.prototype._shouldCalculate=function(){return!(this._kVals&&this._kXVals&&this._dVals&&this._dXVals)};Stochastic.prototype._init=function(){t.prototype._init.call(this);this._kVals=[];this._kXVals=[];this._dVals=[];this._dXVals=[]};Stochastic.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(t.prototype._getLength.call(this)<=0)){var e=t.prototype._getBindingValues.call(this,0),a=t.prototype._getBindingValues.call(this,1),s=t.prototype._getBindingValues.call(this,3),n=this._getXValues(),o=_stochastic(e,a,s,this.kPeriod,this.dPeriod,this.smoothingPeriod);this._kVals=o.ks;this._dVals=o.ds;this._kXVals=n?n.slice(this.kPeriod-1):wijmo_chart_finance_1._range(this.kPeriod-1,i-1);this.smoothingPeriod&&this.smoothingPeriod>1&&(this._kXVals=this._kXVals.slice(this._kXVals.length-this._kVals.length,this._kXVals.length));this._dXVals=this._kXVals.slice(this._kXVals.length-this._dVals.length,this._kXVals.length)}};Stochastic.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),l=this._getSymbolStroke(a),_=this.chart._plotrectId,h=null,c=l,u=2,d=null,m=l,p=2;if(this.styles&&wijmo_1.isObject(this.styles)){if(this.styles.kLine&&wijmo_1.isObject(this.styles.kLine)){c=(h=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.kLine,["fill"])).stroke?h.stroke:l;u=h.strokeWidth?h.strokeWidth:2}if(this.styles.dLine&&wijmo_1.isObject(this.styles.dLine)){m=(d=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.dLine,["fill"])).stroke?d.stroke:l;p=d.strokeWidth?d.strokeWidth:2}}var g,f,y,w,v=[],j=[],b=[],V=[],x=this._getLength();for(y=0;y<this._kVals.length;y++){w=x-this._kVals.length+y;j.push(n.convert(this._kXVals[y]));v.push(o.convert(this._kVals[y]));(g=this._getDataPoint(this._kXVals[y],this._kVals[y],a,w,n,o)).name=this._getName(0);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(j[y],v[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(j,v),a);s.stroke=c;s.strokeWidth=u;s.drawLines(j,v,null,r,_);for(y=0;y<this._dVals.length;y++){w=x-this._dVals.length+y;V.push(n.convert(this._dXVals[y]));b.push(o.convert(this._dVals[y]));(g=this._getDataPoint(this._dXVals[y],this._dVals[y],a,w,n,o)).name=this._getName(1);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(V[y],b[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(V,b),a);s.stroke=m;s.strokeWidth=p;s.drawLines(V,b,null,r,_)}};Stochastic.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"kLine":for(;a<this._kVals.length;a++)e.push({x:this._kXVals[a],y:this._kVals[a]});break;case"dLine":for(;a<this._dVals.length;a++)e.push({x:this._dXVals[a],y:this._dVals[a]})}return e};return Stochastic}(OverlayIndicatorBase);exports.Stochastic=Stochastic;function _stochastic(t,i,e,a,s,n){wijmo_1.asArray(t,!1);wijmo_1.asArray(i,!1);wijmo_1.asArray(e,!1);wijmo_1.asInt(a,!1,!0);wijmo_1.asInt(s,!1,!0);wijmo_1.asInt(n,!0,!0);var o,r=[],l=[],_=[];for(o=a;o<=t.length;o++){r.push(wijmo_chart_finance_1._maximum(t.slice(o-a,o)));l.push(wijmo_chart_finance_1._minimum(i.slice(o-a,o)))}e=e.slice(a-1);for(o=0;o<e.length;o++)_.push((e[o]-l[o])/(r[o]-l[o])*100);n&&n>1&&(_=wijmo_chart_finance_1._sma(_,n));return{ks:_,ds:wijmo_chart_finance_1._sma(_,s)}}exports._stochastic=_stochastic;var RSI=function(t){__extends(RSI,t);function RSI(i){var e=t.call(this)||this;e.period=14;e.initialize(i);return e}RSI.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype._getBindingValues.call(this,0),a=this._getXValues();this._yvals=_rsi(e,this.period);this._xvals=a?a.slice(this.period):wijmo_chart_finance_1._range(this.period,i)}};return RSI}(SingleOverlayIndicatorBase);exports.RSI=RSI;function _rsi(t,i){wijmo_1.asArray(t,!1);wijmo_1.asInt(i,!0,!1);wijmo_1.assert(t.length>i&&i>1,"RSI period must be an integer less than the length of the data and greater than one.");var e,a,s,n,o=[],r=[],l=[],_=[];for(n=1;n<t.length;n++)o.push(t[n]-t[n-1]);e=o.map((function(t){return t>0?t:0}));a=o.map((function(t){return t<0?Math.abs(t):0}));for(n=i;n<=o.length;n++){if(n===i){r.push(wijmo_chart_finance_1._sum(e.slice(n-i,n))/i);l.push(wijmo_chart_finance_1._sum(a.slice(n-i,n))/i)}else{r.push((e[n-1]+r[n-i-1]*(i-1))/i);l.push((a[n-1]+l[n-i-1]*(i-1))/i)}s=r[n-i]/l[n-i];s=Number.isFinite(s)?s:0;_.push(100-100/(1+s))}return _}exports._rsi=_rsi;var MacdBase=function(t){__extends(MacdBase,t);function MacdBase(i){var e=t.call(this,i)||this;e._fastPeriod=12;e._slowPeriod=26;e._smoothingPeriod=9;return e}Object.defineProperty(MacdBase.prototype,"fastPeriod",{get:function(){return this._fastPeriod},set:function(t){if(t!==this._fastPeriod){this._fastPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(MacdBase.prototype,"slowPeriod",{get:function(){return this._slowPeriod},set:function(t){if(t!==this._slowPeriod){this._slowPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(MacdBase.prototype,"smoothingPeriod",{get:function(){return this._smoothingPeriod},set:function(t){if(t!==this._smoothingPeriod){this._smoothingPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});MacdBase.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._macdVals=null;this._macdXVals=null;this._signalVals=null;this._signalXVals=null;this._histogramVals=null;this._histogramXVals=null};MacdBase.prototype._shouldCalculate=function(){return!(this._macdVals&&this._macdXVals&&this._signalVals&&this._signalXVals&&this._histogramVals&&this._histogramXVals)};MacdBase.prototype._init=function(){t.prototype._init.call(this);this._macdVals=[];this._macdXVals=[];this._signalVals=[];this._signalXVals=[];this._histogramVals=[];this._histogramXVals=[]};MacdBase.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype.getValues.call(this,0),a=this._getXValues(),s=_macd(e,this.fastPeriod,this.slowPeriod,this.smoothingPeriod);this._macdVals=s.macds;this._signalVals=s.signals;this._histogramVals=s.histograms;this._macdXVals=a?a.slice(i-this._macdVals.length,i):wijmo_chart_finance_1._range(i-this._macdVals.length,i-1);this._signalXVals=a?a.slice(i-this._signalVals.length,i):wijmo_chart_finance_1._range(i-this._signalVals.length,i-1);this._histogramXVals=a?a.slice(i-this._histogramVals.length,i):wijmo_chart_finance_1._range(i-this._histogramVals.length,i-1)}};return MacdBase}(OverlayIndicatorBase);exports.MacdBase=MacdBase;var Macd=function(t){__extends(Macd,t);function Macd(i){var e=t.call(this)||this;e._seriesCount=2;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(Macd.prototype,"styles",{get:function(){return this._styles},set:function(t){if(t!==this._styles){this._styles=t;this._invalidate()}},enumerable:!0,configurable:!0});Macd.prototype.legendItemLength=function(){return this.name.indexOf(",")>-1?2:1};Macd.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=[],n=[];n.push.apply(n,this._macdXVals);n.push.apply(n,this._signalXVals);s.push.apply(s,this._macdVals);s.push.apply(s,this._signalVals);var o=wijmo_chart_finance_1._minimum(n),r=wijmo_chart_finance_1._maximum(n),l=wijmo_chart_finance_1._minimum(s),_=wijmo_chart_finance_1._maximum(s);wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&wijmo_chart_1._DataInfo.isValid(l)&&wijmo_chart_1._DataInfo.isValid(_)&&(a=new wijmo_1.Rect(o,l,r-o,_-l));return a};Macd.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),l=this._getSymbolStroke(a),_=this.chart._plotrectId,h=null,c=l,u=2,d=null,m=l,p=2;if(this.styles&&wijmo_1.isObject(this.styles)){if(this.styles.macdLine&&wijmo_1.isObject(this.styles.macdLine)){c=(h=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.macdLine,["fill"])).stroke?h.stroke:l;u=h.strokeWidth?h.strokeWidth:2}if(this.styles.signalLine&&wijmo_1.isObject(this.styles.signalLine)){m=(d=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.signalLine,["fill"])).stroke?d.stroke:l;p=d.strokeWidth?d.strokeWidth:2}}var g,f,y,w,v=[],j=[],b=[],V=[],x=this._getLength();for(y=0;y<this._macdVals.length;y++){w=x-this._macdVals.length+y;j.push(n.convert(this._macdXVals[y]));v.push(o.convert(this._macdVals[y]));(g=this._getDataPoint(this._macdXVals[y],this._macdVals[y],a,w,n,o)).name=this._getName(0);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(j[y],v[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(j,v),a);s.stroke=c;s.strokeWidth=u;s.drawLines(j,v,null,r,_);for(y=0;y<this._signalVals.length;y++){w=x-this._signalVals.length+y;V.push(n.convert(this._signalXVals[y]));b.push(o.convert(this._signalVals[y]));(g=this._getDataPoint(this._signalXVals[y],this._signalVals[y],a,w,n,o)).name=this._getName(1);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(V[y],b[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(V,b),a);s.stroke=m;s.strokeWidth=p;s.drawLines(V,b,null,r,_)}};Macd.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"macdLine":for(;a<this._macdVals.length;a++)e.push({x:this._macdXVals[a],y:this._macdVals[a]});break;case"signalLine":for(;a<this._signalVals.length;a++)e.push({x:this._signalXVals[a],y:this._signalVals[a]})}return e};return Macd}(MacdBase);exports.Macd=Macd;var MovingAverageType,MacdHistogram=function(t){__extends(MacdHistogram,t);function MacdHistogram(i){return t.call(this,i)||this}MacdHistogram.prototype.getValues=function(i){var e=null;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}0===i?e=this._histogramVals:1===i&&(e=this._histogramXVals);return e};MacdHistogram.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=wijmo_chart_finance_1._minimum(this._histogramXVals),n=wijmo_chart_finance_1._maximum(this._histogramXVals),o=wijmo_chart_finance_1._minimum(this._histogramVals),r=wijmo_chart_finance_1._maximum(this._histogramVals);wijmo_chart_1._DataInfo.isValid(s)&&wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&(a=new wijmo_1.Rect(s,o,n-s,r-o));return a};MacdHistogram.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Column};MacdHistogram.prototype._getItem=function(i){i=t.prototype._getLength.call(this)-wijmo_chart_finance_1._minimum(this._histogramVals.length,this._histogramXVals.length)+i;return t.prototype._getItem.call(this,i)};return MacdHistogram}(MacdBase);exports.MacdHistogram=MacdHistogram;function _macd(t,i,e,a){wijmo_1.asArray(t,!1);wijmo_1.asInt(i,!1,!0);wijmo_1.asInt(e,!1,!0);wijmo_1.asInt(a,!1,!0);var s,n=i>e;if(n){s=e;e=i;i=s}var o,r,l=wijmo_chart_finance_1._ema(t,i),_=wijmo_chart_finance_1._ema(t,e),h=[],c=[];l.splice(0,e-i);for(r=0;r<l.length;r++){s=l[r]-_[r];n&&(s*=-1);h.push(s)}o=wijmo_chart_finance_1._ema(h,a);var u=h.slice(h.length-o.length,h.length);for(r=0;r<u.length;r++)c.push(u[r]-o[r]);return{macds:h,signals:o,histograms:c}}exports._macd=_macd;!function(t){t[t.Simple=0]="Simple";t[t.Exponential=1]="Exponential"}(MovingAverageType=exports.MovingAverageType||(exports.MovingAverageType={}));var Envelopes=function(t){__extends(Envelopes,t);function Envelopes(i){var e=t.call(this)||this;e._period=20;e._type=MovingAverageType.Simple;e._size=.025;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(Envelopes.prototype,"period",{get:function(){return this._period},set:function(t){if(t!==this._period){this._period=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Envelopes.prototype,"type",{get:function(){return this._type},set:function(t){if((t=wijmo_1.asEnum(t,MovingAverageType,!1))!==this._type){this._type=t;this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Envelopes.prototype,"size",{get:function(){return this._size},set:function(t){if(t!==this._size){this._size=wijmo_1.asNumber(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Envelopes.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=this._upperYVals.concat(this._lowerYVals),n=wijmo_chart_finance_1._minimum(this._xVals),o=wijmo_chart_finance_1._maximum(this._xVals),r=wijmo_chart_finance_1._minimum(s),l=wijmo_chart_finance_1._maximum(s);wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&wijmo_chart_1._DataInfo.isValid(l)&&(a=new wijmo_1.Rect(n,r,o-n,l-r));return a};Envelopes.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._upperYVals=null;this._lowerYVals=null;this._xVals=null};Envelopes.prototype._init=function(){t.prototype._init.call(this);this._upperYVals=[];this._lowerYVals=[];this._xVals=[]};Envelopes.prototype._shouldCalculate=function(){return!this._upperYVals||!this._lowerYVals||!this._xVals};Envelopes.prototype._calculate=function(){var i=this;if(!(t.prototype._getLength.call(this)<=0)){var e,a=t.prototype.getValues.call(this,0),s=this._getXValues();switch(this.type){case MovingAverageType.Exponential:e=wijmo_chart_finance_1._ema(a,this.period);break;default:e=wijmo_chart_finance_1._sma(a,this.period)}this._xVals=s?s.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,t.prototype._getLength.call(this)-1);this._upperYVals=e.map((function(t){return t+t*i.size}));this._lowerYVals=e.map((function(t){return t-t*i.size}))}};Envelopes.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_finance_1._minimum(this._upperYVals.length,this._lowerYVals.length,this._xVals.length),l=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),_=this._getSymbolStroke(a),h=this.chart._plotrectId;if(r&&!(r<=0)){s.stroke=_;s.strokeWidth=2;for(var c,u,d,m=[],p=[],g=[],f=this._getLength(),y=0;y<r;y++){d=f-r+y;m.push(n.convert(this._xVals[y]));p.push(o.convert(this._upperYVals[y]));c=this._getDataPoint(this._xVals[y],this._upperYVals[y],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[y],p[y]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a);g.push(o.convert(this._lowerYVals[y]));c=this._getDataPoint(this._xVals[y],this._lowerYVals[y],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[y],g[y]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(m,p),a);this._hitTester.add(new wijmo_chart_1._LinesArea(m,g),a);s.drawLines(m,p,null,l,h);s.drawLines(m,g,null,l,h)}}};Envelopes.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"upperEnvelope":for(;a<this._upperYVals.length;a++)e.push({x:this._xVals[a],y:this._upperYVals[a]});break;case"lowerEnvelope":for(;a<this._lowerYVals.length;a++)e.push({x:this._xVals[a],y:this._lowerYVals[a]})}return e};return Envelopes}(OverlayIndicatorBase);exports.Envelopes=Envelopes;var CCI=function(t){__extends(CCI,t);function CCI(i){var e=t.call(this)||this;e._constant=.015;e.period=20;e.initialize(i);return e}Object.defineProperty(CCI.prototype,"constant",{get:function(){return this._constant},set:function(t){if(t!==this._constant){this._constant=wijmo_1.asNumber(t,!1);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});CCI.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype._getBindingValues.call(this,0),a=t.prototype._getBindingValues.call(this,1),s=t.prototype._getBindingValues.call(this,3),n=this._getXValues();this._yvals=_cci(e,a,s,this.period,this.constant);this._xvals=n?n.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i-1)}};return CCI}(SingleOverlayIndicatorBase);exports.CCI=CCI;function _cci(t,i,e,a,s){wijmo_1.asArray(t,!1);wijmo_1.asArray(i,!1);wijmo_1.asArray(e,!1);wijmo_1.asInt(a,!1,!0);wijmo_1.asNumber(s,!1,!0);var n,o,r,l=wijmo_chart_finance_1._minimum(t.length,i.length,e.length),_=[],h=[],c=[];wijmo_1.assert(l>a&&a>1,"CCI period must be an integer less than the length of the data and greater than one.");for(o=0;o<l;o++)_.push(wijmo_chart_finance_1._average(t[o],i[o],e[o]));n=wijmo_chart_finance_1._sma(_,a);for(o=0;o<n.length;o++){r=_.slice(o,a+o).reduce((function(t,i){return t+Math.abs(n[o]-i)}),0);h.push(r/a)}_.splice(0,a-1);for(o=0;o<n.length;o++)c.push((_[o]-n[o])/(s*h[o]));return c}exports._cci=_cci;var BollingerBands=function(t){__extends(BollingerBands,t);function BollingerBands(i){var e=t.call(this)||this;e._period=20;e._multiplier=2;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(BollingerBands.prototype,"period",{get:function(){return this._period},set:function(t){if(t!==this._period){this._period=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BollingerBands.prototype,"multiplier",{get:function(){return this._multiplier},set:function(t){if(t!==this._multiplier){this._multiplier=wijmo_1.asNumber(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});BollingerBands.prototype.getDataRect=function(i,e){if(e)return e;if(t.prototype._getLength.call(this)<=0)return null;if(this._shouldCalculate()){this._init();this._calculate()}var a=this._upperYVals.concat(this._lowerYVals),s=wijmo_chart_finance_1._minimum(this._xVals),n=wijmo_chart_finance_1._maximum(this._xVals),o=wijmo_chart_finance_1._minimum(a),r=wijmo_chart_finance_1._maximum(a);return wijmo_chart_1._DataInfo.isValid(s)&&wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)?new wijmo_1.Rect(s,o,n-s,r-o):null};BollingerBands.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._upperYVals=null;this._middleYVals=null;this._lowerYVals=null;this._xVals=null};BollingerBands.prototype._shouldCalculate=function(){return!(this._upperYVals&&this._middleYVals&&this._lowerYVals&&this._xVals)};BollingerBands.prototype._init=function(){t.prototype._init.call(this);this._upperYVals=[];this._middleYVals=[];this._lowerYVals=[];this._xVals=[]};BollingerBands.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype.getValues.call(this,0),a=this._getXValues(),s=_bollingerBands(e,this.period,this.multiplier);this._upperYVals=s.uppers;this._middleYVals=s.middles;this._lowerYVals=s.lowers;this._xVals=a?a.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i-1)}};BollingerBands.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_finance_1._minimum(this._upperYVals.length,this._middleYVals.length,this._lowerYVals.length,this._xVals.length),l=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),_=this._getSymbolStroke(a),h=this.chart._plotrectId;if(r&&!(r<=0)){s.stroke=_;s.strokeWidth=2;for(var c,u,d,m=[],p=[],g=[],f=[],y=this._getLength(),w=0;w<r;w++){d=y-r+w;m.push(n.convert(this._xVals[w]));p.push(o.convert(this._upperYVals[w]));c=this._getDataPoint(this._xVals[w],this._upperYVals[w],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[w],p[w]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a);g.push(o.convert(this._middleYVals[w]));c=this._getDataPoint(this._xVals[w],this._middleYVals[w],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[w],g[w]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a);f.push(o.convert(this._lowerYVals[w]));c=this._getDataPoint(this._xVals[w],this._lowerYVals[w],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[w],f[w]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(m,p),a);this._hitTester.add(new wijmo_chart_1._LinesArea(m,g),a);this._hitTester.add(new wijmo_chart_1._LinesArea(m,f),a);s.drawLines(m,p,null,l,h);s.drawLines(m,g,null,l,h);s.drawLines(m,f,null,l,h)}}};BollingerBands.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"upperBand":for(;a<this._upperYVals.length;a++)e.push({x:this._xVals[a],y:this._upperYVals[a]});break;case"middleBand":for(;a<this._middleYVals.length;a++)e.push({x:this._xVals[a],y:this._middleYVals[a]});break;case"lowerBand":for(;a<this._lowerYVals.length;a++)e.push({x:this._xVals[a],y:this._lowerYVals[a]})}return e};return BollingerBands}(OverlayIndicatorBase);exports.BollingerBands=BollingerBands;function _bollingerBands(t,i,e){wijmo_1.asArray(t,!1);wijmo_1.asInt(i,!1,!0);wijmo_1.asNumber(e,!1,!0);wijmo_1.assert(t.length>i&&i>1,"Bollinger Bands period must be an integer less than the length of the data and greater than one.");var a,s=wijmo_chart_finance_1._sma(t,i),n=[];for(a=i;a<=t.length;a++)n.push(wijmo_chart_finance_1._stdDeviation(t.slice(a-i,a)));var o=s,r=s.map((function(t,i){return t+n[i]*e}));return{lowers:s.map((function(t,i){return t-n[i]*e})),middles:o,uppers:r}}exports._bollingerBands=_bollingerBands;var ATR=function(t){__extends(ATR,t);function ATR(i){var e=t.call(this)||this;e.period=14;e.initialize(i);return e}ATR.prototype._calculate=function(){if(!(t.prototype._getLength.call(this)<=0)){var i=t.prototype._getBindingValues.call(this,0),e=t.prototype._getBindingValues.call(this,1),a=t.prototype._getBindingValues.call(this,3),s=this._getXValues();this._yvals=wijmo_chart_finance_1._avgTrueRng(i,e,a,this.period);this._xvals=s?s.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i.length)}};return ATR}(SingleOverlayIndicatorBase);exports.ATR=ATR;wijmo_1._registerModule("wijmo.chart.finance.analytics",selfModule);
|
package/wijmo.chart.finance.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.20261.45-nightly.
|
|
3
|
+
* Wijmo Library 5.20261.45-nightly.d20260105.t014601
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -132,12 +132,12 @@ export declare class _BaseRangePlotter extends _BasePlotter {
|
|
|
132
132
|
constructor();
|
|
133
133
|
clear(): void;
|
|
134
134
|
unload(): void;
|
|
135
|
-
adjustLimits(
|
|
136
|
-
plotSeries(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, series: FinancialSeries,
|
|
137
|
-
_drawSymbol(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, si: number,
|
|
135
|
+
adjustLimits(_dataInfo: _DataInfo, _plotRect: Rect): Rect;
|
|
136
|
+
plotSeries(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, series: FinancialSeries, _palette: _IPalette, _iser: number, _nser: number): void;
|
|
137
|
+
_drawSymbol(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, si: number, _pi: number, w: number, x: number, start: number, end: number, dpt: _DataPoint): void;
|
|
138
138
|
_getDataPoint(seriesIndex: number, pointIndex: number, series: SeriesBase, dataY: number): _DataPoint;
|
|
139
139
|
_init(): void;
|
|
140
|
-
_calculate(
|
|
140
|
+
_calculate(_series: FinancialSeries): void;
|
|
141
141
|
_generateXLabels(series: FinancialSeries): void;
|
|
142
142
|
}
|
|
143
143
|
/**
|
|
@@ -203,8 +203,8 @@ export declare class _PointAndFigurePlotter extends _BasePlotter {
|
|
|
203
203
|
clear(): void;
|
|
204
204
|
unload(): void;
|
|
205
205
|
_init(): void;
|
|
206
|
-
adjustLimits(
|
|
207
|
-
plotSeries(engine: IRenderEngine,
|
|
206
|
+
adjustLimits(_dataInfo: _DataInfo, _plotRect: Rect): Rect;
|
|
207
|
+
plotSeries(engine: IRenderEngine, _ax: _IAxis, _ay: _IAxis, _series: FinancialSeries, _palette: _IPalette, _iser: number, _nser: number): void;
|
|
208
208
|
private calcBoxSize;
|
|
209
209
|
private calcPFHiLo2;
|
|
210
210
|
private roundUp;
|
|
@@ -218,7 +218,7 @@ export declare class _KagiPlotter extends _BaseRangePlotter {
|
|
|
218
218
|
private _fields;
|
|
219
219
|
constructor();
|
|
220
220
|
_calculate(series: FinancialSeries): void;
|
|
221
|
-
plotSeries(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, series: FinancialSeries,
|
|
221
|
+
plotSeries(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, series: FinancialSeries, _palette: _IPalette, _iser: number, _nser: number): void;
|
|
222
222
|
_init(): void;
|
|
223
223
|
clear(): void;
|
|
224
224
|
}
|
|
@@ -246,8 +246,8 @@ export declare class _HeikinAshiPlotter extends _FinancePlotter {
|
|
|
246
246
|
private _symFactor;
|
|
247
247
|
constructor();
|
|
248
248
|
clear(): void;
|
|
249
|
-
plotSeries(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, series: FinancialSeries,
|
|
250
|
-
_drawSymbolWithDpt(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, si: number, pi: number,
|
|
249
|
+
plotSeries(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, series: FinancialSeries, _palette: _IPalette, _iser: number, _nser: number): void;
|
|
250
|
+
_drawSymbolWithDpt(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, si: number, pi: number, _fill: any, w: number, x: number, hi: number, lo: number, open: number, close: number, dpt?: _DataPoint, dt?: DataType, pointsLength?: number): void;
|
|
251
251
|
_getDataPoint(seriesIndex: number, pointIndex: number, x: any, series: SeriesBase): _DataPoint;
|
|
252
252
|
private _calculate;
|
|
253
253
|
private _init;
|
package/wijmo.chart.finance.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.20261.45-nightly.
|
|
3
|
+
* Wijmo Library 5.20261.45-nightly.d20260105.t014601
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
*
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(t,e){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};return function(t,e){extendStatics(t,e);function __(){this.constructor=t}t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.hasOwnProperty.call(t,i)&&(e[i]=t[i]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),selfModule=__importStar(require("wijmo/wijmo.chart.finance")),FinancialSeries=function(t){__extends(FinancialSeries,t);function FinancialSeries(){return null!==t&&t.apply(this,arguments)||this}Object.defineProperty(FinancialSeries.prototype,"chartType",{get:function(){return this._finChartType},set:function(t){if((t=wijmo_1.asEnum(t,FinancialChartType,!0))!=this._finChartType){this._finChartType=t;this._invalidate()}},enumerable:!0,configurable:!0});FinancialSeries.prototype._getChartType=function(){var t=null;switch(this.chartType){case FinancialChartType.Area:t=wijmo_chart_1.ChartType.Area;break;case FinancialChartType.Line:case FinancialChartType.Kagi:case FinancialChartType.PointAndFigure:t=wijmo_chart_1.ChartType.Line;break;case FinancialChartType.Column:case FinancialChartType.ColumnVolume:t=wijmo_chart_1.ChartType.Column;break;case FinancialChartType.LineSymbols:t=wijmo_chart_1.ChartType.LineSymbols;break;case FinancialChartType.Scatter:t=wijmo_chart_1.ChartType.Scatter;break;case FinancialChartType.Candlestick:case FinancialChartType.Renko:case FinancialChartType.HeikinAshi:case FinancialChartType.LineBreak:case FinancialChartType.EquiVolume:case FinancialChartType.CandleVolume:case FinancialChartType.ArmsCandleVolume:t=wijmo_chart_1.ChartType.Candlestick;break;case FinancialChartType.HighLowOpenClose:t=wijmo_chart_1.ChartType.HighLowOpenClose}return t};FinancialSeries.prototype.getDataRect=function(t,e){if(e)return e;var i=this.getValues(0),a=this.getValues(1)||(this.chart._xvals&&this.chart._xvals.length?this.chart._xvals:null),n=this._getBinding(0),r=this._getBinding(1),s=this._getBinding(2),o=this._getBinding(3),l=(this._plotter,this._getChartType()||this.chart._getChartType());if(l!==wijmo_chart_1.ChartType.HighLowOpenClose&&l!==wijmo_chart_1.ChartType.Candlestick||n===r)return null;if(i){for(var h=NaN,_=NaN,c=NaN,u=NaN,g=i.length,p=0;p<g;p++){var m=this._getItem(p),d=i[p];if(isFinite(d)){[d,r?m[r]:null,s?m[s]:null,o?m[o]:null].forEach((function(t){if(wijmo_chart_1._DataInfo.isValid(t)&&null!==t){(isNaN(_)||t<_)&&(_=t);(isNaN(u)||t>u)&&(u=t)}}))}if(a){var f=a[p];isFinite(f)&&(isNaN(h)?h=c=f:f<h?h=f:f>c&&(c=f))}}if(!a){h=0;c=g-1}if(!isNaN(_))return new wijmo_1.Rect(h,_,c-h,u-_)}return null};return FinancialSeries}(wijmo_chart_1.SeriesBase);exports.FinancialSeries=FinancialSeries;function _trunc(t){wijmo_1.asNumber(t,!0,!1);return t>0?Math.floor(t):Math.ceil(t)}exports._trunc=_trunc;function _sum(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments));wijmo_1.asArray(t,!1);return t.reduce((function(t,e){return t+wijmo_1.asNumber(e)}),0)}exports._sum=_sum;function _average(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments));wijmo_1.asArray(t,!1);return _sum(t)/t.length}exports._average=_average;function _minimum(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments));wijmo_1.asArray(t,!1);return Math.min.apply(null,t)}exports._minimum=_minimum;function _maximum(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments));wijmo_1.asArray(t,!1);return Math.max.apply(null,t)}exports._maximum=_maximum;function _variance(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments));wijmo_1.asArray(t,!1);var e=_average(t),i=t.map((function(t){return Math.pow(t-e,2)}));return _average(i)}exports._variance=_variance;function _stdDeviation(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments));wijmo_1.asArray(t,!1);return Math.sqrt(_variance(t))}exports._stdDeviation=_stdDeviation;function _avgTrueRng(t,e,i,a){void 0===a&&(a=14);wijmo_1.asArray(t,!1);wijmo_1.asArray(e,!1);wijmo_1.asArray(i,!1);wijmo_1.asInt(a,!1,!0);var n=_trueRng(t,e,i,a),r=Math.min(t.length,e.length,i.length,n.length),s=[];wijmo_1.assert(r>a&&a>1,"Average True Range period must be an integer less than the length of the data and greater than one.");for(var o=0;o<r;o++){wijmo_1.asNumber(t[o],!1);wijmo_1.asNumber(e[o],!1);wijmo_1.asNumber(i[o],!1);wijmo_1.asNumber(n[o],!1);o+1===a?s.push(_average(n.slice(0,a))):o+1>a&&s.push(((a-1)*s[s.length-1]+n[o])/a)}return s}exports._avgTrueRng=_avgTrueRng;function _trueRng(t,e,i,a){void 0===a&&(a=14);wijmo_1.asArray(t,!1);wijmo_1.asArray(e,!1);wijmo_1.asArray(i,!1);wijmo_1.asInt(a,!1,!0);var n=Math.min(t.length,e.length,i.length),r=[];wijmo_1.assert(n>a&&a>1,"True Range period must be an integer less than the length of the data and greater than one.");for(var s=0;s<n;s++){wijmo_1.asNumber(t[s],!1);wijmo_1.asNumber(e[s],!1);wijmo_1.asNumber(i[s],!1);0===s?r.push(t[s]-e[s]):r.push(Math.max(t[s]-e[s],Math.abs(t[s]-i[s-1]),Math.abs(e[s]-i[s-1])))}return r}exports._trueRng=_trueRng;function _sma(t,e){wijmo_1.asArray(t,!1);wijmo_1.asNumber(e,!1,!0);wijmo_1.assert(t.length>e&&e>1,"Simple Moving Average period must be an integer less than the length of the data and greater than one.");for(var i=[],a=e;a<=t.length;a++)i.push(_average(t.slice(a-e,a)));return i}exports._sma=_sma;function _ema(t,e){wijmo_1.asArray(t,!1);wijmo_1.asNumber(e,!1,!0);wijmo_1.assert(t.length>e&&e>1,"Exponential Moving Average period must be an integer less than the length of the data and greater than one.");var i=[],a=2/(e+1),n=_sma(t,e);t=t.slice(e-1);for(var r=0;r<t.length;r++)0===r?i.push(n[0]):i.push((t[r]-i[r-1])*a+i[r-1]);return i}exports._ema=_ema;function _range(t,e,i){void 0===i&&(i=1);wijmo_1.asNumber(t,!1);wijmo_1.asNumber(e,!1);wijmo_1.asNumber(i,!1);wijmo_1.assert(t<e,"begin argument must be less than end argument.");for(var a=[],n=t;n<=e;n+=i)a.push(n);return a}exports._range=_range;var _BaseCalculator=function(){function _BaseCalculator(t,e,i,a){this.highs=t;this.lows=e;this.opens=i;this.closes=a}_BaseCalculator.prototype.calculate=function(){};_BaseCalculator.prototype.isValid=function(t,e,i,a){return wijmo_1.isNumber(t)&&isFinite(t)&&wijmo_1.isNumber(e)&&isFinite(e)&&wijmo_1.isNumber(i)&&isFinite(i)&&wijmo_1.isNumber(a)&&isFinite(a)};return _BaseCalculator}();exports._BaseCalculator=_BaseCalculator;var _HeikinAshiCalculator=function(t){__extends(_HeikinAshiCalculator,t);function _HeikinAshiCalculator(e,i,a,n){return t.call(this,e,i,a,n)||this}_HeikinAshiCalculator.prototype.calculate=function(){var t,e,i,a,n=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length),r=[];if(n<=0)return r;for(var s=0;s<n;s++)if(this.isValid(this.highs[s],this.lows[s],this.opens[s],this.closes[s])){a=_average(this.highs[s],this.lows[s],this.opens[s],this.closes[s]);if(0===s||isNaN(r[s-1].open)){i=_average(this.opens[s],this.closes[s]);t=this.highs[s];e=this.lows[s]}else{i=_average(r[s-1].open,r[s-1].close);t=Math.max(this.highs[s],i,a);e=Math.min(this.lows[s],i,a)}r.push({high:t,low:e,close:a,open:i,pointIndex:s,x:null})}else r.push({high:NaN,low:NaN,close:NaN,open:NaN,pointIndex:s,x:null});return r};return _HeikinAshiCalculator}(_BaseCalculator);exports._HeikinAshiCalculator=_HeikinAshiCalculator;var _BaseRangeCalculator=function(t){__extends(_BaseRangeCalculator,t);function _BaseRangeCalculator(e,i,a,n,r,s,o,l){var h=t.call(this,e,i,a,n)||this;h.xs=r;h.size=s;h.unit=o;h.fields=l;return h}_BaseRangeCalculator.prototype._getValues=function(){var t,e=[],i=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length);switch(this.fields){case DataFields.High:e=this.highs;break;case DataFields.Low:e=this.lows;break;case DataFields.Open:e=this.opens;break;case DataFields.HL2:for(t=0;t<i;t++)e.push(_average(this.highs[t],this.lows[t]));break;case DataFields.HLC3:for(t=0;t<i;t++)e.push(_average(this.highs[t],this.lows[t],this.closes[t]));break;case DataFields.HLOC4:for(t=0;t<i;t++)e.push(_average(this.highs[t],this.lows[t],this.opens[t],this.closes[t]));break;case DataFields.Close:default:e=this.closes}return e};_BaseRangeCalculator.prototype._getSize=function(){var t=this.unit===RangeMode.ATR?_avgTrueRng(this.highs,this.lows,this.closes,this.size):null;return this.unit===RangeMode.ATR?t[t.length-1]:this.size};return _BaseRangeCalculator}(_BaseCalculator);exports._BaseRangeCalculator=_BaseRangeCalculator;var _LineBreakCalculator=function(t){__extends(_LineBreakCalculator,t);function _LineBreakCalculator(e,i,a,n,r,s){return t.call(this,e,i,a,n,r,s)||this}_LineBreakCalculator.prototype.calculate=function(){var t=null!==this.xs&&this.xs.length>0,e=this.closes.length,i=[],a=[[],[]];if(e<=0)return i;for(var n,r,s,o,l,h,_=[],c=1;c<e;c++){o=i.length-1;r=t?this.xs[c]:c;s=this.closes[c];if(-1===o){if((n=this.closes[0])===s)continue}else{_=this._trendExists(a)||1===this.size?a[0].slice(-this.size).concat(a[1].slice(-this.size)):a[0].slice(1-this.size).concat(a[1].slice(1-this.size));l=Math.max.apply(null,_);h=Math.min.apply(null,_);if(s>l)n=Math.max(a[0][o],a[1][o]);else{if(!(s<h))continue;n=Math.min(a[0][o],a[1][o])}}a[0].push(n);a[1].push(s);i.push({high:Math.max(n,s),low:Math.min(n,s),open:n,close:s,x:r,pointIndex:c})}return i};_LineBreakCalculator.prototype._trendExists=function(t){if(t[1].length<this.size)return!1;var e,i=!1,a=t[1].slice(-this.size);for(e=1;e<this.size&&(i=a[e]>a[e-1]);e++);if(!i)for(e=1;e<this.size&&(i=a[e]<a[e-1]);e++);return i};return _LineBreakCalculator}(_BaseRangeCalculator);exports._LineBreakCalculator=_LineBreakCalculator;var _KagiCalculator=function(t){__extends(_KagiCalculator,t);function _KagiCalculator(e,i,a,n,r,s,o,l){return t.call(this,e,i,a,n,r,s,o,l)||this}_KagiCalculator.prototype.calculate=function(){var t,e,i,a,n,r,s,o,l,h=this._getSize(),_=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length),c=this._getValues(),u=null!==this.xs&&this.xs.length>0,g=[],p=[[],[]];if(_<=0)return g;for(var m=1;m<_;m++){a=g.length-1;e=u?this.xs[m]:m;l=m;o=!1;if(this.fields===DataFields.HighLow)if(-1===a)if(this.highs[m]>this.highs[0])i=this.highs[m];else{if(!(this.lows[m]<this.lows[0]))continue;i=this.lows[m]}else if((s=p[1][a]-p[0][a])>0)if(this.highs[m]>p[1][a])i=this.highs[m];else{if(!(this.lows[m]<p[1][a]))continue;i=this.lows[m]}else if(this.lows[m]<p[1][a])i=this.lows[m];else{if(!(this.highs[m]>p[1][a]))continue;i=this.highs[m]}else i=c[m];this.unit===RangeMode.Percentage&&(h=i*this.size);if(-1===a){e=u?this.xs[0]:0;l=0;t=this.fields===DataFields.HighLow?null==this.highs[0]?this.highs[this.highs.length-1]:this.highs[0]:null==c[0]?c[c.length-1]:c[0];if((s=Math.abs(t-i)||0)<h)continue}else{s=p[1][a]-p[0][a];r=Math.max(p[0][a],p[1][a]);n=Math.min(p[0][a],p[1][a]);if(s>0)if(i>r)o=!0;else{if(!((s=r-i)>=h))continue;t=r}else if(i<n)o=!0;else{if(!((s=i-n)>=h))continue;t=n}}if(o){p[1][a]=i;g[a].close=i;g[a].high=Math.max(g[a].open,g[a].close);g[a].low=Math.min(g[a].open,g[a].close)}else{p[0].push(t);p[1].push(i);g.push({high:Math.max(t,i),low:Math.min(t,i),open:t,close:i,x:e,pointIndex:l})}}return g};return _KagiCalculator}(_BaseRangeCalculator);exports._KagiCalculator=_KagiCalculator;var _RenkoCalculator=function(t){__extends(_RenkoCalculator,t);function _RenkoCalculator(e,i,a,n,r,s,o,l,h){void 0===h&&(h=!1);var _=t.call(this,e,i,a,n,r,s,o,l)||this;_.rounding=h;return _}_RenkoCalculator.prototype.calculate=function(){var t,e,i,a,n,r,s,o=this._getSize(),l=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length),h=null!==this.xs&&this.xs.length>0,_=this._getValues(),c=[],u=[[],[]];if(l<=0)return c;for(var g=1;g<l;g++){a=c.length-1;e=h?this.xs[g]:g;if(this.fields===DataFields.HighLow)if(-1===a)if(this.highs[g]-this.highs[0]>o){t=this.highs[0];i=this.highs[g]}else{if(!(this.lows[0]-this.lows[g]>o))continue;t=this.lows[0];i=this.lows[g]}else{n=Math.min(u[0][a],u[1][a]);r=Math.max(u[0][a],u[1][a]);if(this.highs[g]-r>o){t=r;i=this.highs[g]}else{if(!(n-this.lows[g]>o))continue;t=n;i=this.lows[g]}}else{i=_[g];if(-1===a)t=_[0];else{n=Math.min(u[0][a],u[1][a]);if(i>(r=Math.max(u[0][a],u[1][a])))t=r;else{if(!(i<n))continue;t=n}}}s=i-t;if(!(Math.abs(s)<o)){s=_trunc(s/o);for(var p=0;p<Math.abs(s);p++){var m={};this.rounding&&(t=this._round(t,o));u[0].push(t);m.open=t;t=s>0?t+o:t-o;u[1].push(t);m.close=t;m.x=e;m.pointIndex=g;m.high=Math.max(m.open,m.close);m.low=Math.min(m.open,m.close);c.push(m)}}}return c};_RenkoCalculator.prototype._round=function(t,e){return Math.round(t/e)*e};return _RenkoCalculator}(_BaseRangeCalculator);exports._RenkoCalculator=_RenkoCalculator;var DataFields,RangeMode,PointAndFigureScaling,_BaseRangePlotter=function(t){__extends(_BaseRangePlotter,t);function _BaseRangePlotter(){var e=t.call(this)||this;e._symFactor=.7;e.clear();return e}_BaseRangePlotter.prototype.clear=function(){t.prototype.clear.call(this);this._rangeValues=null;this._rangeXLabels=null;this._calculator=null};_BaseRangePlotter.prototype.unload=function(){t.prototype.unload.call(this);for(var e,i,a=0;a<this.chart.series.length;a++)(e=this.chart.series[a])&&(i=e._getAxisX())&&i.itemsSource&&(i.itemsSource=null)};_BaseRangePlotter.prototype.adjustLimits=function(t,e){var i,a,n,r=0,s=0,o=0,l=0,h=this.chart._xDataType===wijmo_1.DataType.Date?.5:0;wijmo_1.assert(this.chart.series.length<=1,"Current FinancialChartType only supports a single series");for(var _=0;_<this.chart.series.length;_++){i=this.chart.series[_];this._calculate(i);if(!(this._rangeValues.length<=0||this._rangeXLabels.length<=0)){(a=this._rangeValues.map((function(t){return t.open}))).push.apply(a,this._rangeValues.map((function(t){return t.close})));n=this._rangeXLabels.map((function(t){return t.value}));o=Math.min.apply(null,a);l=Math.max.apply(null,a);r=Math.min.apply(null,n);s=Math.max.apply(null,n);i._getAxisX().itemsSource=this._rangeXLabels}}r-=h;return new wijmo_1.Rect(r,o,s-r+h,l-o)};_BaseRangePlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){var o=this;this._calculate(a);var l=this.chart.series.indexOf(a),h=this._rangeValues.length,_=e.actualMin,c=e.actualMax,u=this._DEFAULT_WIDTH,g=this._symFactor,p=a._getSymbolFill(l),m=a._getAltSymbolFill(l)||"transparent",d=a._getSymbolStroke(l),f=a._getAltSymbolStroke(l)||d;t.strokeWidth=u;for(var w,y,v,C,P=0,x=this.getItemFormatter(a),k=0;k<h;k++){w=k;if(wijmo_chart_1._DataInfo.isValid(w)&&_<=w&&w<=c){y=this._rangeValues[k].open;v=this._rangeValues[k].close;t.fill=y>v?p:m;t.stroke=y>v?d:f;C=this._getDataPoint(l,k,a,Math.max(y,v));t.startGroup();if(x){var F=new wijmo_chart_1.HitTestInfo(this.chart,new wijmo_1.Point(e.convert(w),i.convert(v)),wijmo_chart_1.ChartElement.SeriesSymbol);F._setData(a,k);F._setDataPoint(C);x(t,F,(function(){o._drawSymbol(t,e,i,l,P,g,w,y,v,C)}))}else this._drawSymbol(t,e,i,l,P,g,w,y,v,C);t.endGroup();a._setPointIndex(k,P);P++}}};_BaseRangePlotter.prototype._drawSymbol=function(t,e,i,a,n,r,s,o,l,h){var _,c,u,g,p;if((u=e.convert(s-.5*r))>(g=e.convert(s+.5*r))){var m=u;u=g;g=m}if(wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(l)){o=i.convert(o);l=i.convert(l);c=(_=Math.min(o,l))+Math.abs(o-l);t.drawRect(u,_,g-u,c-_);(p=new wijmo_chart_1._RectArea(new wijmo_1.Rect(u,_,g-u,c-_))).tag=h;this.hitTester.add(p,a)}};_BaseRangePlotter.prototype._getDataPoint=function(t,e,i,a){var n=e,r=new wijmo_chart_1._DataPoint(t,e,n,a),s=i._getItem(this._rangeValues[e].pointIndex),o=i.bindingX||this.chart.bindingX,l=i._getBinding(0),h=i._getBinding(1),_=i._getBinding(2),c=i._getBinding(3),u=i._getAxisY();r.item=wijmo_chart_1._BasePlotter.cloneStyle(s,[]);r.item[l]=this._rangeValues[e].high;r.item[h]=this._rangeValues[e].low;r.item[_]=this._rangeValues[e].open;r.item[c]=this._rangeValues[e].close;r.y=this._rangeValues[e].close;r.yfmt=u._formatValue(this._rangeValues[e].close);r.x=r.item[o];r.xfmt=this._rangeXLabels[e]._text;return r};_BaseRangePlotter.prototype._init=function(){this._rangeValues=[];this._rangeXLabels=[]};_BaseRangePlotter.prototype._calculate=function(t){};_BaseRangePlotter.prototype._generateXLabels=function(t){var e,i=this,a=t._getAxisX(),n=t.getDataType(1)||this.chart._xDataType;this._rangeValues.forEach((function(t,r){var s=t.x;e=n===wijmo_1.DataType.Date?wijmo_1.Globalize.format(wijmo_chart_1.FlexChart._fromOADate(s),a.format||"d"):n===wijmo_1.DataType.Number?a._formatValue(s):null!==n&&n!==wijmo_1.DataType.String||!i.chart._xlabels?s.toString():i.chart._xlabels[s];i._rangeXLabels.push({value:r,text:e,_text:e})}),this)};return _BaseRangePlotter}(wijmo_chart_1._BasePlotter);exports._BaseRangePlotter=_BaseRangePlotter;!function(t){t[t.Close=0]="Close";t[t.High=1]="High";t[t.Low=2]="Low";t[t.Open=3]="Open";t[t.HighLow=4]="HighLow";t[t.HL2=5]="HL2";t[t.HLC3=6]="HLC3";t[t.HLOC4=7]="HLOC4"}(DataFields=exports.DataFields||(exports.DataFields={}));!function(t){t[t.Fixed=0]="Fixed";t[t.ATR=1]="ATR";t[t.Percentage=2]="Percentage"}(RangeMode=exports.RangeMode||(exports.RangeMode={}));!function(t){t[t.Traditional=0]="Traditional";t[t.Fixed=1]="Fixed";t[t.Dynamic=2]="Dynamic"}(PointAndFigureScaling=exports.PointAndFigureScaling||(exports.PointAndFigureScaling={}));var _PointAndFigurePlotter=function(t){__extends(_PointAndFigurePlotter,t);function _PointAndFigurePlotter(){return t.call(this)||this}_PointAndFigurePlotter.prototype.clear=function(){t.prototype.clear.call(this);this._boxSize=null;this._fields=null;this._reversal=null;this._scaling=null};_PointAndFigurePlotter.prototype.unload=function(){t.prototype.unload.call(this);this.chart.axisX.itemsSource=this._xlbls};_PointAndFigurePlotter.prototype._init=function(){this._boxSize=this.getNumOption("boxSize","pointAndFigure")||1;this._reversal=this.getNumOption("reversal","pointAndFigure")||3;this._period=this.getNumOption("period","pointAndFigure")||20;this._fields=this.getOption("fields","pointAndFigure")||DataFields.Close;this._fields=wijmo_1.asEnum(this._fields,DataFields,!0);wijmo_1.assert(this._fields==DataFields.Close||this._fields==DataFields.HighLow,"Only DataFields.Close and DataFields.HighLow are supported");this._scaling=this.getOption("scaling","pointAndFigure")||PointAndFigureScaling.Traditional;this._scaling=wijmo_1.asEnum(this._scaling,PointAndFigureScaling,!0);this._xlbls=[]};_PointAndFigurePlotter.prototype.adjustLimits=function(t,e){this._init();this.hitTester.clear();var i=new wijmo_1.Rect(0,0,0,0),a=this.chart.series.length;wijmo_1.assert(a<=1,"Current FinancialChartType only supports a single series");if(a>0){var n=this.chart.series[0],r=this._reversal,s=n.collectionView?n.collectionView:this.chart.collectionView,o=s?s.items:null;if(o&&o.length>0){var l=n._getBinding(0),h=n._getBinding(1),_=n._getBinding(2),c=n._getBinding(3);if(this._fields==DataFields.Close){c?l=c:_&&(l=_);h=l}var u=n.bindingX?n.bindingX:this.chart.bindingX,g=this._actualBoxSize=this.calcBoxSize(o,l,h);this._pfdata=this.calcPFHiLo2(o,l,h,u,g,r);if(this._pfdata&&this._pfdata.length>0){var p=this._pfdata.reduce((function(t,e){return Math.max(t,e.max)}),this._pfdata[0].max),m=this._pfdata.reduce((function(t,e){return Math.min(t,e.min)}),this._pfdata[0].min);i=new wijmo_1.Rect(-.5,m-.5*g,this._pfdata.length,p-m+g);for(var d=1;d<this._pfdata.length;d++){var f=this._pfdata[d-1],w=this._pfdata[d];wijmo_1.isDate(w.date)&&wijmo_1.isDate(f.date)&&w.date.getYear()!=f.date.getYear()&&this._xlbls.push({value:d,text:wijmo_1.Globalize.formatNumber(w.date.getFullYear()%100,"d2")})}}}}0==this._xlbls.length&&this._xlbls.push({value:0});var y=this.chart.axisY;this.axisYMajorGrid=y.majorGrid;y._chart=null;y.majorGrid=!1;y._chart=this.chart;this.chart.axisX.itemsSource=this._xlbls;return i};_PointAndFigurePlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){if(this._pfdata&&this._pfdata.length>0){var o=this._actualBoxSize;this.renderGrid(t,this._pfdata,o);this.renderData(this.chart,t,this._pfdata,o)}var l=this.chart.axisY;l._chart=null;l.majorGrid=this.axisYMajorGrid;l._chart=this.chart};_PointAndFigurePlotter.prototype.calcBoxSize=function(t,e,i){var a=t.reduce((function(t,i){return Math.max(t,i[e])}),t[0][e]),n=t.reduce((function(t,e){return Math.min(t,e[i])}),t[0][i]),r=this._boxSize,s=a-n;switch(this._scaling){case PointAndFigureScaling.Traditional:s<.25?r=.0625:s>=.25&&s<1?r=.125:s>=1&&s<5?r=.25:s>=5&&s<20?r=.5:s>=20&&s<100?r=1:s>=100&&s<200?r=2:s>=200&&s<500?r=4:s>=500&&s<1e3?r=5:s>=1e3&&s<25e3?r=50:s>-25e3&&(r=500);break;case PointAndFigureScaling.Dynamic:var o=this.chart.series[0],l=o._getBindingValues(0),h=o._getBindingValues(1),_=(o._getBindingValues(2),_avgTrueRng(l,h,o._getBindingValues(3),this._period));r=_[_.length-1];break;case PointAndFigureScaling.Fixed:}return r};_PointAndFigurePlotter.prototype.calcPFHiLo2=function(t,e,i,a,n,r){for(var s=[],o=0;o<t.length;o++){var l=t[o][e],h=t[o][i];wijmo_1.assert(l>=h,"'High' value must be larger than 'low' value.");var _=t[o][a];if(0==s.length)s.push({min:this.roundDown(h,n),max:this.roundDown(l,n),rise:!1,date:_});else{var c=s[s.length-1];if(c.rise){var u=c.max+n,g=c.max-r*n;this.roundUp(l,n)>=u?c.max=this.roundUp(l,n):h<=g&&s.push({min:this.roundDown(h,n),max:c.max-n,rise:!1,date:_})}else{u=c.min-n,g=c.min+r*n;this.roundDown(h,n)<=u?c.min=this.roundDown(h,n):l>=g&&s.push({min:c.min+n,max:this.roundUp(l,n),rise:!0,date:_})}}}if(s.length>0){var p=s[0];p.min==p.max&&s.splice(0,1)}return s};_PointAndFigurePlotter.prototype.roundUp=function(t,e){return Math.ceil(t/e-.999999)*e};_PointAndFigurePlotter.prototype.roundDown=function(t,e){return Math.floor(t/e+.999999)*e};_PointAndFigurePlotter.prototype.renderGrid=function(t,e,i){if(this._pfdata){for(var a=this._pfdata.reduce((function(t,e){return Math.max(t,e.max)}),this._pfdata[0].max),n=this._pfdata.reduce((function(t,e){return Math.min(t,e.min)}),this._pfdata[0].min),r=this.chart,s=this._pfdata.length,o=n-.5*i;o<=a+i;o+=i){var l=new wijmo_1.Point(-.5,o);l=r.dataToPoint(l);var h=new wijmo_1.Point(s,o);h=r.dataToPoint(h);t.stroke=wijmo_chart_1.FlexChartCore._FG;t.strokeWidth=1;t.drawLine(l.x,l.y,h.x,h.y,wijmo_chart_1.FlexChartCore._CSS_GRIDLINE)}for(var _=-.5;_<=s;_+=1){l=new wijmo_1.Point(_,this.chart.axisY.actualMin);l=r.dataToPoint(l);h=new wijmo_1.Point(_,this.chart.axisY.actualMax);h=r.dataToPoint(h);t.stroke=wijmo_chart_1.FlexChartCore._FG;t.strokeWidth=1;t.drawLine(l.x,l.y,h.x,h.y,wijmo_chart_1.FlexChartCore._CSS_GRIDLINE)}}};_PointAndFigurePlotter.prototype.renderData=function(t,e,i,a){for(var n=t.series[0],r=n._getSymbolStroke(0),s=n._getAltSymbolStroke(0)||r,o=0;o<i.length;o++){var l=i[o],h=(i[o].max-i[o].min)/a;if(0!=h){var _=new wijmo_1.Point(o-.5,l.min);_=t.dataToPoint(_);var c=new wijmo_1.Point(o+.5,l.max);c=t.dataToPoint(c);e.fill="transparent";for(var u=(c.y-_.y)/h,g=0;g<h+1;g++){e.strokeWidth=1.5;if(l.rise){e.stroke=r;e.drawLine(_.x,_.y+(g-.5)*u,c.x,_.y+(g+.5)*u);e.drawLine(c.x,_.y+(g-.5)*u,_.x,_.y+(g+.5)*u)}else{e.stroke=s;e.drawEllipse(.5*(_.x+c.x),_.y+g*u,.5*Math.abs(_.x-c.x),.5*Math.abs(u))}if(this.hitTester){var p=l.min+g*a,m=new wijmo_chart_1._DataPoint(0,o,l.date,p);m.y=p;m.yfmt=this.chart.axisY._formatValue(p);if(wijmo_1.isDate(l.date)){m.x=l.date;m.xfmt=wijmo_1.Globalize.formatDate(l.date,"d")}var d=new wijmo_1.Rect(Math.min(_.x,c.x),_.y+g*u-.5*u,Math.abs(c.x-_.x),u);if(d.height<0){d.top+=u;d.height=-d.height}var f=new wijmo_chart_1._RectArea(d);f.tag=m;this.hitTester.add(f,0)}}}}};return _PointAndFigurePlotter}(wijmo_chart_1._BasePlotter);exports._PointAndFigurePlotter=_PointAndFigurePlotter;var _KagiPlotter=function(t){__extends(_KagiPlotter,t);function _KagiPlotter(){return t.call(this)||this}_KagiPlotter.prototype._calculate=function(t){this._init();var e=t._getBindingValues(0),i=t._getBindingValues(1),a=t._getBindingValues(2),n=t._getBindingValues(3),r=t.getValues(1)||this.chart._xvals;this._calculator=new _KagiCalculator(e,i,a,n,r,this._reversalAmount,this._rangeMode,this._fields);this._rangeValues=this._calculator.calculate();(null===this._rangeValues||wijmo_1.isUndefined(this._rangeValues))&&(this._rangeValues=[]);this._generateXLabels(t)};_KagiPlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){this._calculate(a);var o=this.chart.series.indexOf(a),l=this._rangeValues.length,h=e.actualMin,_=e.actualMax,c=this._DEFAULT_WIDTH,u=a._getSymbolStroke(o),g=a._getAltSymbolStroke(o)||u,p=[],m=[];t.stroke=u;t.strokeWidth=c;var d,f,w,y,v,C,P,x=0;t.startGroup();for(var k=0;k<l;k++){d=k;if(wijmo_chart_1._DataInfo.isValid(d)&&h<=d&&d<=_){f=this._rangeValues[k].open;w=this._rangeValues[k].close;if(0===k){y=Math.min(f,w);v=Math.max(f,w);t.strokeWidth=f>w?c:2*c;t.stroke=f>w?u:g;t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));t.drawLine(e.convert(d-1)-t.strokeWidth/2,i.convert(f),e.convert(d)+t.strokeWidth/2,i.convert(f))}else if(t.strokeWidth===c)if(w>f){if(w>v){t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(v));t.strokeWidth=2*c;t.stroke=g;t.drawLine(e.convert(d),i.convert(v),e.convert(d),i.convert(w));y=f}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));v=w}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));else if(t.strokeWidth/2===c)if(w<f){if(w<y){t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(y));t.strokeWidth=c;t.stroke=u;t.drawLine(e.convert(d),i.convert(y),e.convert(d),i.convert(w));v=f}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));y=w}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));k<l-1&&t.drawLine(e.convert(d)-t.strokeWidth/2,i.convert(w),e.convert(d+1)+t.strokeWidth/2,i.convert(w));P=this._getDataPoint(o,k,a,w);(C=new wijmo_chart_1._CircleArea(new wijmo_1.Point(e.convert(d),i.convert(w)),.5*t.strokeWidth)).tag=P;this.hitTester.add(C,o);a._setPointIndex(k,x);x++;p.push(e.convert(d));m.push(i.convert(f));p.push(e.convert(d));m.push(i.convert(w))}}t.endGroup();this.hitTester.add(new wijmo_chart_1._LinesArea(p,m),o)};_KagiPlotter.prototype._init=function(){t.prototype._init.call(this);this._reversalAmount=this.getNumOption("reversalAmount","kagi")||14;this._rangeMode=this.getOption("rangeMode","kagi")||RangeMode.Fixed;this._rangeMode=wijmo_1.asEnum(this._rangeMode,RangeMode,!0);this._fields=this.getOption("fields","kagi")||DataFields.Close;this._fields=wijmo_1.asEnum(this._fields,DataFields,!0)};_KagiPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._reversalAmount=null;this._rangeMode=null};return _KagiPlotter}(_BaseRangePlotter);exports._KagiPlotter=_KagiPlotter;var _RenkoPlotter=function(t){__extends(_RenkoPlotter,t);function _RenkoPlotter(){return t.call(this)||this}_RenkoPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._boxSize=null;this._rangeMode=null};_RenkoPlotter.prototype._calculate=function(t){this._init();var e=t._getBindingValues(0),i=t._getBindingValues(1),a=t._getBindingValues(2),n=t._getBindingValues(3),r=t.getValues(1)||this.chart._xvals;this._calculator=new _RenkoCalculator(e,i,a,n,r,this._boxSize,this._rangeMode,this._fields,this._rounding);this._rangeValues=this._calculator.calculate();(null===this._rangeValues||wijmo_1.isUndefined(this._rangeValues))&&(this._rangeValues=[]);this._generateXLabels(t)};_RenkoPlotter.prototype._init=function(){t.prototype._init.call(this);this._boxSize=this.getNumOption("boxSize","renko")||14;this._rangeMode=this.getOption("rangeMode","renko")||RangeMode.Fixed;this._rangeMode=wijmo_1.asEnum(this._rangeMode,RangeMode,!0);wijmo_1.assert(this._rangeMode!==RangeMode.Percentage,"RangeMode.Percentage is not supported");this._fields=this.getOption("fields","renko")||DataFields.Close;this._fields=wijmo_1.asEnum(this._fields,DataFields,!0);wijmo_1.assert(this._fields!==DataFields.HighLow,"DataFields.HighLow is not supported");this._rounding=wijmo_1.asBoolean(this.getOption("rounding","renko"),!0)};_RenkoPlotter.prototype._generateXLabels=function(e){var i=this;t.prototype._generateXLabels.call(this,e);this._rangeXLabels.forEach((function(t,e){e>0&&i._rangeXLabels[e-1]._text===t.text&&(t.text="")}),this)};return _RenkoPlotter}(_BaseRangePlotter);exports._RenkoPlotter=_RenkoPlotter;var _LineBreakPlotter=function(t){__extends(_LineBreakPlotter,t);function _LineBreakPlotter(){return t.call(this)||this}_LineBreakPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._newLineBreaks=null};_LineBreakPlotter.prototype._calculate=function(t){this._init();var e=t._getBindingValues(3),i=t.getValues(1)||this.chart._xvals;this._calculator=new _LineBreakCalculator(null,null,null,e,i,this._newLineBreaks);this._rangeValues=this._calculator.calculate();(null===this._rangeValues||wijmo_1.isUndefined(this._rangeValues))&&(this._rangeValues=[]);this._generateXLabels(t)};_LineBreakPlotter.prototype._init=function(){t.prototype._init.call(this);this._newLineBreaks=wijmo_1.asInt(this.getNumOption("newLineBreaks","lineBreak"),!0,!0)||3;wijmo_1.assert(this._newLineBreaks>=1,"Value must be greater than 1")};return _LineBreakPlotter}(_BaseRangePlotter);exports._LineBreakPlotter=_LineBreakPlotter;var FinancialChartType,_HeikinAshiPlotter=function(t){__extends(_HeikinAshiPlotter,t);function _HeikinAshiPlotter(){var e=t.call(this)||this;e._symFactor=.7;e.clear();return e}_HeikinAshiPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._haValues=null;this._calculator=null};_HeikinAshiPlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){var o=this;this._calculate(a);var l=wijmo_1.asType(a,wijmo_chart_1.SeriesBase),h=this.chart.series.indexOf(a),_=a.getValues(1),c=this._symFactor,u=this._haValues.length,g=!0;if(_){var p=this.dataInfo.getDeltaX();p>0&&(c*=p)}else _=this.dataInfo.getXVals();if(_)u=Math.min(u,_.length);else{g=!1;_=new Array(u)}var m=this._DEFAULT_WIDTH,d=l._getSymbolFill(h),f=l._getAltSymbolFill(h)||"transparent",w=l._getSymbolStroke(h),y=l._getAltSymbolStroke(h)||w,v=c,C=a.getDataType(1)||a.chart._xDataType;t.strokeWidth=m;for(var P,x,k,F,j,b,A,T,B=e.actualMin,V=e.actualMax,L=0,M=this.getItemFormatter(a),S=0;S<u;S++){k=g?_[S]:S;if(wijmo_chart_1._DataInfo.isValid(k)&&B<=k&&k<=V){j=this._haValues[S].high;b=this._haValues[S].low;A=this._haValues[S].open;T=this._haValues[S].close;P=A<T?f:d;x=A<T?y:w;t.fill=P;t.stroke=x;t.startGroup();F=this._getDataPoint(h,S,k,a);if(M){var R=new wijmo_chart_1.HitTestInfo(this.chart,new wijmo_1.Point(e.convert(k),i.convert(j)),wijmo_chart_1.ChartElement.SeriesSymbol);R._setData(l,S);R._setDataPoint(F);M(t,R,(function(){o._drawSymbolWithDpt(t,e,i,h,S,P,v,k,j,b,A,T,F,C,u)}))}else this._drawSymbolWithDpt(t,e,i,h,S,P,v,k,j,b,A,T,F,C,u);t.endGroup();a._setPointIndex(S,L);L++}}};_HeikinAshiPlotter.prototype._drawSymbolWithDpt=function(t,e,i,a,n,r,s,o,l,h,_,c,u,g,p){var m,d=null,f=null,w=null,y=null,v=g===wijmo_1.DataType.Date?432e5:.5,C=e.convert(o),P=e._axrect,x=s/2,k=0===n&&C-P.left<=x,F=n===p-1&&P.right-C<=x;if(k){w=o;y=o+s}else if(F){w=o-s;y=o}else{w=o-v*s;y=o+v*s}if((w=e.convert(w))>(y=e.convert(y))){var j=w;w=y;y=j}o=C;if(wijmo_chart_1._DataInfo.isValid(_)&&wijmo_chart_1._DataInfo.isValid(c)){_=i.convert(_);c=i.convert(c);f=(d=Math.min(_,c))+Math.abs(_-c);t.drawRect(w,d,y-w,f-d);(m=new wijmo_chart_1._RectArea(new wijmo_1.Rect(w,d,y-w,f-d))).tag=u;this.hitTester.add(m,a)}if(wijmo_chart_1._DataInfo.isValid(l)){l=i.convert(l);if(null!==d){t.drawLine(o,d,o,l);m.rect.top=l;m.rect.height=m.rect.height+l}}if(wijmo_chart_1._DataInfo.isValid(h)){h=i.convert(h);if(null!==f){t.drawLine(o,f,o,h);m.rect.height=m.rect.height+h}}};_HeikinAshiPlotter.prototype._getDataPoint=function(t,e,i,a){var n=new wijmo_chart_1._DataPoint(t,e,i,this._haValues[e].high),r=a._getItem(e),s=a._getBinding(0),o=a._getBinding(1),l=a._getBinding(2),h=a._getBinding(3),_=a._getAxisY();if(null!=r){n.item=wijmo_chart_1._BasePlotter.cloneStyle(r,[]);n.item[s]=this._haValues[e].high;n.item[o]=this._haValues[e].low;n.item[l]=this._haValues[e].open;n.item[h]=this._haValues[e].close}n.y=this._haValues[e].high;n.yfmt=_._formatValue(this._haValues[e].high);return n};_HeikinAshiPlotter.prototype._calculate=function(t){var e=t._getBindingValues(0),i=t._getBindingValues(1),a=t._getBindingValues(2),n=t._getBindingValues(3);this._calculator=new _HeikinAshiCalculator(e,i,a,n);this._haValues=this._calculator.calculate();(null===this._haValues||wijmo_1.isUndefined(this._haValues))&&this._init()};_HeikinAshiPlotter.prototype._init=function(){this._haValues=[]};return _HeikinAshiPlotter}(wijmo_chart_1._FinancePlotter);exports._HeikinAshiPlotter=_HeikinAshiPlotter;!function(t){t[t.Column=0]="Column";t[t.Scatter=1]="Scatter";t[t.Line=2]="Line";t[t.LineSymbols=3]="LineSymbols";t[t.Area=4]="Area";t[t.Candlestick=5]="Candlestick";t[t.HighLowOpenClose=6]="HighLowOpenClose";t[t.HeikinAshi=7]="HeikinAshi";t[t.LineBreak=8]="LineBreak";t[t.Renko=9]="Renko";t[t.Kagi=10]="Kagi";t[t.ColumnVolume=11]="ColumnVolume";t[t.EquiVolume=12]="EquiVolume";t[t.CandleVolume=13]="CandleVolume";t[t.ArmsCandleVolume=14]="ArmsCandleVolume";t[t.PointAndFigure=15]="PointAndFigure"}(FinancialChartType=exports.FinancialChartType||(exports.FinancialChartType={}));var FinancialChart=function(t){__extends(FinancialChart,t);function FinancialChart(e,i){var a=t.call(this,e,null)||this;a._chartType=FinancialChartType.Line;a.__heikinAshiPlotter=null;a.__lineBreakPlotter=null;a.__renkoPlotter=null;a.__kagiPlotter=null;a.__pfPlotter=null;a.initialize(i);return a}FinancialChart.prototype._getProductInfo=function(){return"A78U,FinancialChart"};Object.defineProperty(FinancialChart.prototype,"chartType",{get:function(){return this._chartType},set:function(t){if((t=wijmo_1.asEnum(t,FinancialChartType))!=this._chartType){this._chartType=t;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"options",{get:function(){return this._options},set:function(t){if(t!=this._options){this._options=t;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_heikinAshiPlotter",{get:function(){if(null===this.__heikinAshiPlotter){this.__heikinAshiPlotter=new _HeikinAshiPlotter;this._initPlotter(this.__heikinAshiPlotter)}return this.__heikinAshiPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_lineBreakPlotter",{get:function(){if(null===this.__lineBreakPlotter){this.__lineBreakPlotter=new _LineBreakPlotter;this._initPlotter(this.__lineBreakPlotter)}return this.__lineBreakPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_renkoPlotter",{get:function(){if(null===this.__renkoPlotter){this.__renkoPlotter=new _RenkoPlotter;this._initPlotter(this.__renkoPlotter)}return this.__renkoPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_kagiPlotter",{get:function(){if(null===this.__kagiPlotter){this.__kagiPlotter=new _KagiPlotter;this._initPlotter(this.__kagiPlotter)}return this.__kagiPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_pfPlotter",{get:function(){if(null===this.__pfPlotter){this.__pfPlotter=new _PointAndFigurePlotter;this._initPlotter(this.__pfPlotter)}return this.__pfPlotter},enumerable:!0,configurable:!0});FinancialChart.prototype._getChartType=function(){var t=null;switch(this.chartType){case FinancialChartType.Area:t=wijmo_chart_1.ChartType.Area;break;case FinancialChartType.Line:case FinancialChartType.Kagi:case FinancialChartType.PointAndFigure:t=wijmo_chart_1.ChartType.Line;break;case FinancialChartType.Column:case FinancialChartType.ColumnVolume:t=wijmo_chart_1.ChartType.Column;break;case FinancialChartType.LineSymbols:t=wijmo_chart_1.ChartType.LineSymbols;break;case FinancialChartType.Scatter:t=wijmo_chart_1.ChartType.Scatter;break;case FinancialChartType.Candlestick:case FinancialChartType.Renko:case FinancialChartType.HeikinAshi:case FinancialChartType.LineBreak:case FinancialChartType.EquiVolume:case FinancialChartType.CandleVolume:case FinancialChartType.ArmsCandleVolume:t=wijmo_chart_1.ChartType.Candlestick;break;case FinancialChartType.HighLowOpenClose:t=wijmo_chart_1.ChartType.HighLowOpenClose}return t};FinancialChart.prototype._getPlotter=function(e){var i=this.chartType,a=null;if(e){var n=e.chartType;if(n&&!wijmo_1.isUndefined(n)&&n!=i){i=n;!0}}switch(i){case FinancialChartType.HeikinAshi:a=this._heikinAshiPlotter;break;case FinancialChartType.LineBreak:a=this._lineBreakPlotter;break;case FinancialChartType.Renko:a=this._renkoPlotter;break;case FinancialChartType.Kagi:a=this._kagiPlotter;break;case FinancialChartType.ColumnVolume:(a=t.prototype._getPlotter.call(this,e)).isVolume=!0;a.width=1;break;case FinancialChartType.EquiVolume:(a=t.prototype._getPlotter.call(this,e)).isEqui=!0;a.isCandle=!1;a.isArms=!1;a.isVolume=!0;a.symbolWidth="100%";break;case FinancialChartType.CandleVolume:(a=t.prototype._getPlotter.call(this,e)).isEqui=!1;a.isCandle=!0;a.isArms=!1;a.isVolume=!0;a.symbolWidth="100%";break;case FinancialChartType.ArmsCandleVolume:(a=t.prototype._getPlotter.call(this,e)).isEqui=!1;a.isCandle=!1;a.isArms=!0;a.isVolume=!0;a.symbolWidth="100%";break;case FinancialChartType.PointAndFigure:a=this._pfPlotter;break;default:a=t.prototype._getPlotter.call(this,e)}return a};FinancialChart.prototype._createSeries=function(){return new FinancialSeries};return FinancialChart}(wijmo_chart_1.FlexChartCore);exports.FinancialChart=FinancialChart;wijmo_1._registerModule("wijmo.chart.finance",selfModule);
|
|
14
|
+
"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(t,e){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};return function(t,e){extendStatics(t,e);function __(){this.constructor=t}t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.hasOwnProperty.call(t,i)&&(e[i]=t[i]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),selfModule=__importStar(require("wijmo/wijmo.chart.finance")),FinancialSeries=function(t){__extends(FinancialSeries,t);function FinancialSeries(){return null!==t&&t.apply(this,arguments)||this}Object.defineProperty(FinancialSeries.prototype,"chartType",{get:function(){return this._finChartType},set:function(t){if((t=wijmo_1.asEnum(t,FinancialChartType,!0))!=this._finChartType){this._finChartType=t;this._invalidate()}},enumerable:!0,configurable:!0});FinancialSeries.prototype._getChartType=function(){var t=null;switch(this.chartType){case FinancialChartType.Area:t=wijmo_chart_1.ChartType.Area;break;case FinancialChartType.Line:case FinancialChartType.Kagi:case FinancialChartType.PointAndFigure:t=wijmo_chart_1.ChartType.Line;break;case FinancialChartType.Column:case FinancialChartType.ColumnVolume:t=wijmo_chart_1.ChartType.Column;break;case FinancialChartType.LineSymbols:t=wijmo_chart_1.ChartType.LineSymbols;break;case FinancialChartType.Scatter:t=wijmo_chart_1.ChartType.Scatter;break;case FinancialChartType.Candlestick:case FinancialChartType.Renko:case FinancialChartType.HeikinAshi:case FinancialChartType.LineBreak:case FinancialChartType.EquiVolume:case FinancialChartType.CandleVolume:case FinancialChartType.ArmsCandleVolume:t=wijmo_chart_1.ChartType.Candlestick;break;case FinancialChartType.HighLowOpenClose:t=wijmo_chart_1.ChartType.HighLowOpenClose}return t};FinancialSeries.prototype.getDataRect=function(t,e){if(e)return e;var i=this.getValues(0),a=this.getValues(1)||(this.chart._xvals&&this.chart._xvals.length?this.chart._xvals:null),n=this._getBinding(0),r=this._getBinding(1),s=this._getBinding(2),o=this._getBinding(3),l=(this._plotter,this._getChartType()||this.chart._getChartType());if(l!==wijmo_chart_1.ChartType.HighLowOpenClose&&l!==wijmo_chart_1.ChartType.Candlestick||n===r)return null;if(i){for(var h=NaN,_=NaN,c=NaN,u=NaN,g=i.length,p=0;p<g;p++){var m=this._getItem(p),d=i[p];if(Number.isFinite(d)){[d,r?m[r]:null,s?m[s]:null,o?m[o]:null].forEach((function(t){if(wijmo_chart_1._DataInfo.isValid(t)&&null!==t){(isNaN(_)||t<_)&&(_=t);(isNaN(u)||t>u)&&(u=t)}}))}if(a){var f=a[p];Number.isFinite(f)&&(isNaN(h)?h=c=f:f<h?h=f:f>c&&(c=f))}}if(!a){h=0;c=g-1}if(!isNaN(_))return new wijmo_1.Rect(h,_,c-h,u-_)}return null};return FinancialSeries}(wijmo_chart_1.SeriesBase);exports.FinancialSeries=FinancialSeries;function _trunc(t){wijmo_1.asNumber(t,!0,!1);return t>0?Math.floor(t):Math.ceil(t)}exports._trunc=_trunc;function _sum(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return i.reduce((function(t,e){return t+wijmo_1.asNumber(e)}),0)}exports._sum=_sum;function _average(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return _sum(i)/i.length}exports._average=_average;function _minimum(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return Math.min.apply(null,i)}exports._minimum=_minimum;function _maximum(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return Math.max.apply(null,i)}exports._maximum=_maximum;function _variance(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);var a=_average(i),n=i.map((function(t){return Math.pow(t-a,2)}));return _average(n)}exports._variance=_variance;function _stdDeviation(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return Math.sqrt(_variance(i))}exports._stdDeviation=_stdDeviation;function _avgTrueRng(t,e,i,a){void 0===a&&(a=14);wijmo_1.asArray(t,!1);wijmo_1.asArray(e,!1);wijmo_1.asArray(i,!1);wijmo_1.asInt(a,!1,!0);var n=_trueRng(t,e,i,a),r=Math.min(t.length,e.length,i.length,n.length),s=[];wijmo_1.assert(r>a&&a>1,"Average True Range period must be an integer less than the length of the data and greater than one.");for(var o=0;o<r;o++){wijmo_1.asNumber(t[o],!1);wijmo_1.asNumber(e[o],!1);wijmo_1.asNumber(i[o],!1);wijmo_1.asNumber(n[o],!1);o+1===a?s.push(_average(n.slice(0,a))):o+1>a&&s.push(((a-1)*s[s.length-1]+n[o])/a)}return s}exports._avgTrueRng=_avgTrueRng;function _trueRng(t,e,i,a){void 0===a&&(a=14);wijmo_1.asArray(t,!1);wijmo_1.asArray(e,!1);wijmo_1.asArray(i,!1);wijmo_1.asInt(a,!1,!0);var n=Math.min(t.length,e.length,i.length),r=[];wijmo_1.assert(n>a&&a>1,"True Range period must be an integer less than the length of the data and greater than one.");for(var s=0;s<n;s++){wijmo_1.asNumber(t[s],!1);wijmo_1.asNumber(e[s],!1);wijmo_1.asNumber(i[s],!1);0===s?r.push(t[s]-e[s]):r.push(Math.max(t[s]-e[s],Math.abs(t[s]-i[s-1]),Math.abs(e[s]-i[s-1])))}return r}exports._trueRng=_trueRng;function _sma(t,e){wijmo_1.asArray(t,!1);wijmo_1.asNumber(e,!1,!0);wijmo_1.assert(t.length>e&&e>1,"Simple Moving Average period must be an integer less than the length of the data and greater than one.");for(var i=[],a=e;a<=t.length;a++)i.push(_average(t.slice(a-e,a)));return i}exports._sma=_sma;function _ema(t,e){wijmo_1.asArray(t,!1);wijmo_1.asNumber(e,!1,!0);wijmo_1.assert(t.length>e&&e>1,"Exponential Moving Average period must be an integer less than the length of the data and greater than one.");var i=[],a=2/(e+1),n=_sma(t,e);t=t.slice(e-1);for(var r=0;r<t.length;r++)0===r?i.push(n[0]):i.push((t[r]-i[r-1])*a+i[r-1]);return i}exports._ema=_ema;function _range(t,e,i){void 0===i&&(i=1);wijmo_1.asNumber(t,!1);wijmo_1.asNumber(e,!1);wijmo_1.asNumber(i,!1);wijmo_1.assert(t<e,"begin argument must be less than end argument.");for(var a=[],n=t;n<=e;n+=i)a.push(n);return a}exports._range=_range;var _BaseCalculator=function(){function _BaseCalculator(t,e,i,a){this.highs=t;this.lows=e;this.opens=i;this.closes=a}_BaseCalculator.prototype.calculate=function(){};_BaseCalculator.prototype.isValid=function(t,e,i,a){return wijmo_1.isNumber(t)&&Number.isFinite(t)&&wijmo_1.isNumber(e)&&Number.isFinite(e)&&wijmo_1.isNumber(i)&&Number.isFinite(i)&&wijmo_1.isNumber(a)&&Number.isFinite(a)};return _BaseCalculator}();exports._BaseCalculator=_BaseCalculator;var _HeikinAshiCalculator=function(t){__extends(_HeikinAshiCalculator,t);function _HeikinAshiCalculator(e,i,a,n){return t.call(this,e,i,a,n)||this}_HeikinAshiCalculator.prototype.calculate=function(){var t,e,i,a,n=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length),r=[];if(n<=0)return r;for(var s=0;s<n;s++)if(this.isValid(this.highs[s],this.lows[s],this.opens[s],this.closes[s])){a=_average(this.highs[s],this.lows[s],this.opens[s],this.closes[s]);if(0===s||isNaN(r[s-1].open)){i=_average(this.opens[s],this.closes[s]);t=this.highs[s];e=this.lows[s]}else{i=_average(r[s-1].open,r[s-1].close);t=Math.max(this.highs[s],i,a);e=Math.min(this.lows[s],i,a)}r.push({high:t,low:e,close:a,open:i,pointIndex:s,x:null})}else r.push({high:NaN,low:NaN,close:NaN,open:NaN,pointIndex:s,x:null});return r};return _HeikinAshiCalculator}(_BaseCalculator);exports._HeikinAshiCalculator=_HeikinAshiCalculator;var _BaseRangeCalculator=function(t){__extends(_BaseRangeCalculator,t);function _BaseRangeCalculator(e,i,a,n,r,s,o,l){var h=t.call(this,e,i,a,n)||this;h.xs=r;h.size=s;h.unit=o;h.fields=l;return h}_BaseRangeCalculator.prototype._getValues=function(){var t,e=[],i=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length);switch(this.fields){case DataFields.High:e=this.highs;break;case DataFields.Low:e=this.lows;break;case DataFields.Open:e=this.opens;break;case DataFields.HL2:for(t=0;t<i;t++)e.push(_average(this.highs[t],this.lows[t]));break;case DataFields.HLC3:for(t=0;t<i;t++)e.push(_average(this.highs[t],this.lows[t],this.closes[t]));break;case DataFields.HLOC4:for(t=0;t<i;t++)e.push(_average(this.highs[t],this.lows[t],this.opens[t],this.closes[t]));break;default:e=this.closes}return e};_BaseRangeCalculator.prototype._getSize=function(){var t=this.unit===RangeMode.ATR?_avgTrueRng(this.highs,this.lows,this.closes,this.size):null;return this.unit===RangeMode.ATR?t[t.length-1]:this.size};return _BaseRangeCalculator}(_BaseCalculator);exports._BaseRangeCalculator=_BaseRangeCalculator;var _LineBreakCalculator=function(t){__extends(_LineBreakCalculator,t);function _LineBreakCalculator(e,i,a,n,r,s){return t.call(this,e,i,a,n,r,s)||this}_LineBreakCalculator.prototype.calculate=function(){var t=null!==this.xs&&this.xs.length>0,e=this.closes.length,i=[],a=[[],[]];if(e<=0)return i;for(var n,r,s,o,l,h,_=[],c=1;c<e;c++){o=i.length-1;r=t?this.xs[c]:c;s=this.closes[c];if(-1===o){if((n=this.closes[0])===s)continue}else{_=this._trendExists(a)||1===this.size?a[0].slice(-this.size).concat(a[1].slice(-this.size)):a[0].slice(1-this.size).concat(a[1].slice(1-this.size));l=Math.max.apply(null,_);h=Math.min.apply(null,_);if(s>l)n=Math.max(a[0][o],a[1][o]);else{if(!(s<h))continue;n=Math.min(a[0][o],a[1][o])}}a[0].push(n);a[1].push(s);i.push({high:Math.max(n,s),low:Math.min(n,s),open:n,close:s,x:r,pointIndex:c})}return i};_LineBreakCalculator.prototype._trendExists=function(t){if(t[1].length<this.size)return!1;var e,i=!1,a=t[1].slice(-this.size);for(e=1;e<this.size&&(i=a[e]>a[e-1]);e++);if(!i)for(e=1;e<this.size&&(i=a[e]<a[e-1]);e++);return i};return _LineBreakCalculator}(_BaseRangeCalculator);exports._LineBreakCalculator=_LineBreakCalculator;var _KagiCalculator=function(t){__extends(_KagiCalculator,t);function _KagiCalculator(e,i,a,n,r,s,o,l){return t.call(this,e,i,a,n,r,s,o,l)||this}_KagiCalculator.prototype.calculate=function(){var t,e,i,a,n,r,s,o,l,h=this._getSize(),_=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length),c=this._getValues(),u=null!==this.xs&&this.xs.length>0,g=[],p=[[],[]];if(_<=0)return g;for(var m=1;m<_;m++){a=g.length-1;e=u?this.xs[m]:m;l=m;o=!1;if(this.fields===DataFields.HighLow)if(-1===a)if(this.highs[m]>this.highs[0])i=this.highs[m];else{if(!(this.lows[m]<this.lows[0]))continue;i=this.lows[m]}else if((s=p[1][a]-p[0][a])>0)if(this.highs[m]>p[1][a])i=this.highs[m];else{if(!(this.lows[m]<p[1][a]))continue;i=this.lows[m]}else if(this.lows[m]<p[1][a])i=this.lows[m];else{if(!(this.highs[m]>p[1][a]))continue;i=this.highs[m]}else i=c[m];this.unit===RangeMode.Percentage&&(h=i*this.size);if(-1===a){e=u?this.xs[0]:0;l=0;t=this.fields===DataFields.HighLow?null==this.highs[0]?this.highs[this.highs.length-1]:this.highs[0]:null==c[0]?c[c.length-1]:c[0];if((s=Math.abs(t-i)||0)<h)continue}else{s=p[1][a]-p[0][a];r=Math.max(p[0][a],p[1][a]);n=Math.min(p[0][a],p[1][a]);if(s>0)if(i>r)o=!0;else{if(!((s=r-i)>=h))continue;t=r}else if(i<n)o=!0;else{if(!((s=i-n)>=h))continue;t=n}}if(o){p[1][a]=i;g[a].close=i;g[a].high=Math.max(g[a].open,g[a].close);g[a].low=Math.min(g[a].open,g[a].close)}else{p[0].push(t);p[1].push(i);g.push({high:Math.max(t,i),low:Math.min(t,i),open:t,close:i,x:e,pointIndex:l})}}return g};return _KagiCalculator}(_BaseRangeCalculator);exports._KagiCalculator=_KagiCalculator;var _RenkoCalculator=function(t){__extends(_RenkoCalculator,t);function _RenkoCalculator(e,i,a,n,r,s,o,l,h){void 0===h&&(h=!1);var _=t.call(this,e,i,a,n,r,s,o,l)||this;_.rounding=h;return _}_RenkoCalculator.prototype.calculate=function(){var t,e,i,a,n,r,s,o=this._getSize(),l=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length),h=null!==this.xs&&this.xs.length>0,_=this._getValues(),c=[],u=[[],[]];if(l<=0)return c;for(var g=1;g<l;g++){a=c.length-1;e=h?this.xs[g]:g;if(this.fields===DataFields.HighLow)if(-1===a)if(this.highs[g]-this.highs[0]>o){t=this.highs[0];i=this.highs[g]}else{if(!(this.lows[0]-this.lows[g]>o))continue;t=this.lows[0];i=this.lows[g]}else{n=Math.min(u[0][a],u[1][a]);r=Math.max(u[0][a],u[1][a]);if(this.highs[g]-r>o){t=r;i=this.highs[g]}else{if(!(n-this.lows[g]>o))continue;t=n;i=this.lows[g]}}else{i=_[g];if(-1===a)t=_[0];else{n=Math.min(u[0][a],u[1][a]);if(i>(r=Math.max(u[0][a],u[1][a])))t=r;else{if(!(i<n))continue;t=n}}}s=i-t;if(!(Math.abs(s)<o)){s=_trunc(s/o);for(var p=0;p<Math.abs(s);p++){var m={};this.rounding&&(t=this._round(t,o));u[0].push(t);m.open=t;t=s>0?t+o:t-o;u[1].push(t);m.close=t;m.x=e;m.pointIndex=g;m.high=Math.max(m.open,m.close);m.low=Math.min(m.open,m.close);c.push(m)}}}return c};_RenkoCalculator.prototype._round=function(t,e){return Math.round(t/e)*e};return _RenkoCalculator}(_BaseRangeCalculator);exports._RenkoCalculator=_RenkoCalculator;var DataFields,RangeMode,PointAndFigureScaling,_BaseRangePlotter=function(t){__extends(_BaseRangePlotter,t);function _BaseRangePlotter(){var e=t.call(this)||this;e._symFactor=.7;e.clear();return e}_BaseRangePlotter.prototype.clear=function(){t.prototype.clear.call(this);this._rangeValues=null;this._rangeXLabels=null;this._calculator=null};_BaseRangePlotter.prototype.unload=function(){t.prototype.unload.call(this);for(var e,i,a=0;a<this.chart.series.length;a++)(e=this.chart.series[a])&&(i=e._getAxisX())&&i.itemsSource&&(i.itemsSource=null)};_BaseRangePlotter.prototype.adjustLimits=function(t,e){var i,a,n,r=0,s=0,o=0,l=0,h=this.chart._xDataType===wijmo_1.DataType.Date?.5:0;wijmo_1.assert(this.chart.series.length<=1,"Current FinancialChartType only supports a single series");for(var _=0;_<this.chart.series.length;_++){i=this.chart.series[_];this._calculate(i);if(!(this._rangeValues.length<=0||this._rangeXLabels.length<=0)){(a=this._rangeValues.map((function(t){return t.open}))).push.apply(a,this._rangeValues.map((function(t){return t.close})));n=this._rangeXLabels.map((function(t){return t.value}));o=Math.min.apply(null,a);l=Math.max.apply(null,a);r=Math.min.apply(null,n);s=Math.max.apply(null,n);i._getAxisX().itemsSource=this._rangeXLabels}}r-=h;return new wijmo_1.Rect(r,o,s-r+h,l-o)};_BaseRangePlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){var o=this;this._calculate(a);var l=this.chart.series.indexOf(a),h=this._rangeValues.length,_=e.actualMin,c=e.actualMax,u=this._DEFAULT_WIDTH,g=this._symFactor,p=a._getSymbolFill(l),m=a._getAltSymbolFill(l)||"transparent",d=a._getSymbolStroke(l),f=a._getAltSymbolStroke(l)||d;t.strokeWidth=u;for(var w,y,v,C,P=0,x=this.getItemFormatter(a),k=0;k<h;k++){w=k;if(wijmo_chart_1._DataInfo.isValid(w)&&_<=w&&w<=c){y=this._rangeValues[k].open;v=this._rangeValues[k].close;t.fill=y>v?p:m;t.stroke=y>v?d:f;C=this._getDataPoint(l,k,a,Math.max(y,v));t.startGroup();if(x){var F=new wijmo_chart_1.HitTestInfo(this.chart,new wijmo_1.Point(e.convert(w),i.convert(v)),wijmo_chart_1.ChartElement.SeriesSymbol);F._setData(a,k);F._setDataPoint(C);x(t,F,(function(){o._drawSymbol(t,e,i,l,P,g,w,y,v,C)}))}else this._drawSymbol(t,e,i,l,P,g,w,y,v,C);t.endGroup();a._setPointIndex(k,P);P++}}};_BaseRangePlotter.prototype._drawSymbol=function(t,e,i,a,n,r,s,o,l,h){var _,c,u,g,p;if((u=e.convert(s-.5*r))>(g=e.convert(s+.5*r))){var m=u;u=g;g=m}if(wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(l)){o=i.convert(o);l=i.convert(l);c=(_=Math.min(o,l))+Math.abs(o-l);t.drawRect(u,_,g-u,c-_);(p=new wijmo_chart_1._RectArea(new wijmo_1.Rect(u,_,g-u,c-_))).tag=h;this.hitTester.add(p,a)}};_BaseRangePlotter.prototype._getDataPoint=function(t,e,i,a){var n=e,r=new wijmo_chart_1._DataPoint(t,e,n,a),s=i._getItem(this._rangeValues[e].pointIndex),o=i.bindingX||this.chart.bindingX,l=i._getBinding(0),h=i._getBinding(1),_=i._getBinding(2),c=i._getBinding(3),u=i._getAxisY();r.item=wijmo_chart_1._BasePlotter.cloneStyle(s,[]);r.item[l]=this._rangeValues[e].high;r.item[h]=this._rangeValues[e].low;r.item[_]=this._rangeValues[e].open;r.item[c]=this._rangeValues[e].close;r.y=this._rangeValues[e].close;r.yfmt=u._formatValue(this._rangeValues[e].close);r.x=r.item[o];r.xfmt=this._rangeXLabels[e]._text;return r};_BaseRangePlotter.prototype._init=function(){this._rangeValues=[];this._rangeXLabels=[]};_BaseRangePlotter.prototype._calculate=function(t){};_BaseRangePlotter.prototype._generateXLabels=function(t){var e,i=this,a=t._getAxisX(),n=t.getDataType(1)||this.chart._xDataType;this._rangeValues.forEach((function(t,r){var s=t.x;e=n===wijmo_1.DataType.Date?wijmo_1.Globalize.format(wijmo_chart_1.FlexChart._fromOADate(s),a.format||"d"):n===wijmo_1.DataType.Number?a._formatValue(s):null!==n&&n!==wijmo_1.DataType.String||!i.chart._xlabels?s.toString():i.chart._xlabels[s];i._rangeXLabels.push({value:r,text:e,_text:e})}),this)};return _BaseRangePlotter}(wijmo_chart_1._BasePlotter);exports._BaseRangePlotter=_BaseRangePlotter;!function(t){t[t.Close=0]="Close";t[t.High=1]="High";t[t.Low=2]="Low";t[t.Open=3]="Open";t[t.HighLow=4]="HighLow";t[t.HL2=5]="HL2";t[t.HLC3=6]="HLC3";t[t.HLOC4=7]="HLOC4"}(DataFields=exports.DataFields||(exports.DataFields={}));!function(t){t[t.Fixed=0]="Fixed";t[t.ATR=1]="ATR";t[t.Percentage=2]="Percentage"}(RangeMode=exports.RangeMode||(exports.RangeMode={}));!function(t){t[t.Traditional=0]="Traditional";t[t.Fixed=1]="Fixed";t[t.Dynamic=2]="Dynamic"}(PointAndFigureScaling=exports.PointAndFigureScaling||(exports.PointAndFigureScaling={}));var _PointAndFigurePlotter=function(t){__extends(_PointAndFigurePlotter,t);function _PointAndFigurePlotter(){return t.call(this)||this}_PointAndFigurePlotter.prototype.clear=function(){t.prototype.clear.call(this);this._boxSize=null;this._fields=null;this._reversal=null;this._scaling=null};_PointAndFigurePlotter.prototype.unload=function(){t.prototype.unload.call(this);this.chart.axisX.itemsSource=this._xlbls};_PointAndFigurePlotter.prototype._init=function(){this._boxSize=this.getNumOption("boxSize","pointAndFigure")||1;this._reversal=this.getNumOption("reversal","pointAndFigure")||3;this._period=this.getNumOption("period","pointAndFigure")||20;this._fields=this.getOption("fields","pointAndFigure")||DataFields.Close;this._fields=wijmo_1.asEnum(this._fields,DataFields,!0);wijmo_1.assert(this._fields==DataFields.Close||this._fields==DataFields.HighLow,"Only DataFields.Close and DataFields.HighLow are supported");this._scaling=this.getOption("scaling","pointAndFigure")||PointAndFigureScaling.Traditional;this._scaling=wijmo_1.asEnum(this._scaling,PointAndFigureScaling,!0);this._xlbls=[]};_PointAndFigurePlotter.prototype.adjustLimits=function(t,e){this._init();this.hitTester.clear();var i=new wijmo_1.Rect(0,0,0,0),a=this.chart.series.length;wijmo_1.assert(a<=1,"Current FinancialChartType only supports a single series");if(a>0){var n=this.chart.series[0],r=this._reversal,s=n.collectionView?n.collectionView:this.chart.collectionView,o=s?s.items:null;if(o&&o.length>0){var l=n._getBinding(0),h=n._getBinding(1),_=n._getBinding(2),c=n._getBinding(3);if(this._fields==DataFields.Close){c?l=c:_&&(l=_);h=l}var u=n.bindingX?n.bindingX:this.chart.bindingX;this._actualBoxSize=this.calcBoxSize(o,l,h);var g=this._actualBoxSize;this._pfdata=this.calcPFHiLo2(o,l,h,u,g,r);if(this._pfdata&&this._pfdata.length>0){var p=this._pfdata.reduce((function(t,e){return Math.max(t,e.max)}),this._pfdata[0].max),m=this._pfdata.reduce((function(t,e){return Math.min(t,e.min)}),this._pfdata[0].min);i=new wijmo_1.Rect(-.5,m-.5*g,this._pfdata.length,p-m+g);for(var d=1;d<this._pfdata.length;d++){var f=this._pfdata[d-1],w=this._pfdata[d];wijmo_1.isDate(w.date)&&wijmo_1.isDate(f.date)&&w.date.getYear()!=f.date.getYear()&&this._xlbls.push({value:d,text:wijmo_1.Globalize.formatNumber(w.date.getFullYear()%100,"d2")})}}}}0==this._xlbls.length&&this._xlbls.push({value:0});var y=this.chart.axisY;this.axisYMajorGrid=y.majorGrid;y._chart=null;y.majorGrid=!1;y._chart=this.chart;this.chart.axisX.itemsSource=this._xlbls;return i};_PointAndFigurePlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){if(this._pfdata&&this._pfdata.length>0){var o=this._actualBoxSize;this.renderGrid(t,this._pfdata,o);this.renderData(this.chart,t,this._pfdata,o)}var l=this.chart.axisY;l._chart=null;l.majorGrid=this.axisYMajorGrid;l._chart=this.chart};_PointAndFigurePlotter.prototype.calcBoxSize=function(t,e,i){var a=t.reduce((function(t,i){return Math.max(t,i[e])}),t[0][e]),n=t.reduce((function(t,e){return Math.min(t,e[i])}),t[0][i]),r=this._boxSize,s=a-n;switch(this._scaling){case PointAndFigureScaling.Traditional:s<.25?r=.0625:s>=.25&&s<1?r=.125:s>=1&&s<5?r=.25:s>=5&&s<20?r=.5:s>=20&&s<100?r=1:s>=100&&s<200?r=2:s>=200&&s<500?r=4:s>=500&&s<1e3?r=5:s>=1e3&&s<25e3?r=50:s>-25e3&&(r=500);break;case PointAndFigureScaling.Dynamic:var o=this.chart.series[0],l=o._getBindingValues(0),h=o._getBindingValues(1),_=(o._getBindingValues(2),_avgTrueRng(l,h,o._getBindingValues(3),this._period));r=_[_.length-1];break;case PointAndFigureScaling.Fixed:}return r};_PointAndFigurePlotter.prototype.calcPFHiLo2=function(t,e,i,a,n,r){for(var s=[],o=0;o<t.length;o++){var l=t[o][e],h=t[o][i];wijmo_1.assert(l>=h,"'High' value must be larger than 'low' value.");var _=t[o][a];if(0==s.length)s.push({min:this.roundDown(h,n),max:this.roundDown(l,n),rise:!1,date:_});else{var c=s[s.length-1];if(c.rise){var u=c.max+n,g=c.max-r*n;this.roundUp(l,n)>=u?c.max=this.roundUp(l,n):h<=g&&s.push({min:this.roundDown(h,n),max:c.max-n,rise:!1,date:_})}else{u=c.min-n,g=c.min+r*n;this.roundDown(h,n)<=u?c.min=this.roundDown(h,n):l>=g&&s.push({min:c.min+n,max:this.roundUp(l,n),rise:!0,date:_})}}}if(s.length>0){var p=s[0];p.min==p.max&&s.splice(0,1)}return s};_PointAndFigurePlotter.prototype.roundUp=function(t,e){return Math.ceil(t/e-.999999)*e};_PointAndFigurePlotter.prototype.roundDown=function(t,e){return Math.floor(t/e+.999999)*e};_PointAndFigurePlotter.prototype.renderGrid=function(t,e,i){if(this._pfdata){for(var a=this._pfdata.reduce((function(t,e){return Math.max(t,e.max)}),this._pfdata[0].max),n=this._pfdata.reduce((function(t,e){return Math.min(t,e.min)}),this._pfdata[0].min),r=this.chart,s=this._pfdata.length,o=n-.5*i;o<=a+i;o+=i){var l=new wijmo_1.Point(-.5,o);l=r.dataToPoint(l);var h=new wijmo_1.Point(s,o);h=r.dataToPoint(h);t.stroke=wijmo_chart_1.FlexChartCore._FG;t.strokeWidth=1;t.drawLine(l.x,l.y,h.x,h.y,wijmo_chart_1.FlexChartCore._CSS_GRIDLINE)}for(var _=-.5;_<=s;_+=1){l=new wijmo_1.Point(_,this.chart.axisY.actualMin);l=r.dataToPoint(l);h=new wijmo_1.Point(_,this.chart.axisY.actualMax);h=r.dataToPoint(h);t.stroke=wijmo_chart_1.FlexChartCore._FG;t.strokeWidth=1;t.drawLine(l.x,l.y,h.x,h.y,wijmo_chart_1.FlexChartCore._CSS_GRIDLINE)}}};_PointAndFigurePlotter.prototype.renderData=function(t,e,i,a){for(var n=t.series[0],r=n._getSymbolStroke(0),s=n._getAltSymbolStroke(0)||r,o=0;o<i.length;o++){var l=i[o],h=(i[o].max-i[o].min)/a;if(0!=h){var _=new wijmo_1.Point(o-.5,l.min);_=t.dataToPoint(_);var c=new wijmo_1.Point(o+.5,l.max);c=t.dataToPoint(c);e.fill="transparent";for(var u=(c.y-_.y)/h,g=0;g<h+1;g++){e.strokeWidth=1.5;if(l.rise){e.stroke=r;e.drawLine(_.x,_.y+(g-.5)*u,c.x,_.y+(g+.5)*u);e.drawLine(c.x,_.y+(g-.5)*u,_.x,_.y+(g+.5)*u)}else{e.stroke=s;e.drawEllipse(.5*(_.x+c.x),_.y+g*u,.5*Math.abs(_.x-c.x),.5*Math.abs(u))}if(this.hitTester){var p=l.min+g*a,m=new wijmo_chart_1._DataPoint(0,o,l.date,p);m.y=p;m.yfmt=this.chart.axisY._formatValue(p);if(wijmo_1.isDate(l.date)){m.x=l.date;m.xfmt=wijmo_1.Globalize.formatDate(l.date,"d")}var d=new wijmo_1.Rect(Math.min(_.x,c.x),_.y+g*u-.5*u,Math.abs(c.x-_.x),u);if(d.height<0){d.top+=u;d.height=-d.height}var f=new wijmo_chart_1._RectArea(d);f.tag=m;this.hitTester.add(f,0)}}}}};return _PointAndFigurePlotter}(wijmo_chart_1._BasePlotter);exports._PointAndFigurePlotter=_PointAndFigurePlotter;var _KagiPlotter=function(t){__extends(_KagiPlotter,t);function _KagiPlotter(){return t.call(this)||this}_KagiPlotter.prototype._calculate=function(t){this._init();var e=t._getBindingValues(0),i=t._getBindingValues(1),a=t._getBindingValues(2),n=t._getBindingValues(3),r=t.getValues(1)||this.chart._xvals;this._calculator=new _KagiCalculator(e,i,a,n,r,this._reversalAmount,this._rangeMode,this._fields);this._rangeValues=this._calculator.calculate();(null===this._rangeValues||wijmo_1.isUndefined(this._rangeValues))&&(this._rangeValues=[]);this._generateXLabels(t)};_KagiPlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){this._calculate(a);var o=this.chart.series.indexOf(a),l=this._rangeValues.length,h=e.actualMin,_=e.actualMax,c=this._DEFAULT_WIDTH,u=a._getSymbolStroke(o),g=a._getAltSymbolStroke(o)||u,p=[],m=[];t.stroke=u;t.strokeWidth=c;var d,f,w,y,v,C,P,x=0;t.startGroup();for(var k=0;k<l;k++){d=k;if(wijmo_chart_1._DataInfo.isValid(d)&&h<=d&&d<=_){f=this._rangeValues[k].open;w=this._rangeValues[k].close;if(0===k){y=Math.min(f,w);v=Math.max(f,w);t.strokeWidth=f>w?c:2*c;t.stroke=f>w?u:g;t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));t.drawLine(e.convert(d-1)-t.strokeWidth/2,i.convert(f),e.convert(d)+t.strokeWidth/2,i.convert(f))}else if(t.strokeWidth===c)if(w>f){if(w>v){t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(v));t.strokeWidth=2*c;t.stroke=g;t.drawLine(e.convert(d),i.convert(v),e.convert(d),i.convert(w));y=f}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));v=w}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));else if(t.strokeWidth/2===c)if(w<f){if(w<y){t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(y));t.strokeWidth=c;t.stroke=u;t.drawLine(e.convert(d),i.convert(y),e.convert(d),i.convert(w));v=f}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));y=w}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));k<l-1&&t.drawLine(e.convert(d)-t.strokeWidth/2,i.convert(w),e.convert(d+1)+t.strokeWidth/2,i.convert(w));P=this._getDataPoint(o,k,a,w);(C=new wijmo_chart_1._CircleArea(new wijmo_1.Point(e.convert(d),i.convert(w)),.5*t.strokeWidth)).tag=P;this.hitTester.add(C,o);a._setPointIndex(k,x);x++;p.push(e.convert(d));m.push(i.convert(f));p.push(e.convert(d));m.push(i.convert(w))}}t.endGroup();this.hitTester.add(new wijmo_chart_1._LinesArea(p,m),o)};_KagiPlotter.prototype._init=function(){t.prototype._init.call(this);this._reversalAmount=this.getNumOption("reversalAmount","kagi")||14;this._rangeMode=this.getOption("rangeMode","kagi")||RangeMode.Fixed;this._rangeMode=wijmo_1.asEnum(this._rangeMode,RangeMode,!0);this._fields=this.getOption("fields","kagi")||DataFields.Close;this._fields=wijmo_1.asEnum(this._fields,DataFields,!0)};_KagiPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._reversalAmount=null;this._rangeMode=null};return _KagiPlotter}(_BaseRangePlotter);exports._KagiPlotter=_KagiPlotter;var _RenkoPlotter=function(t){__extends(_RenkoPlotter,t);function _RenkoPlotter(){return t.call(this)||this}_RenkoPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._boxSize=null;this._rangeMode=null};_RenkoPlotter.prototype._calculate=function(t){this._init();var e=t._getBindingValues(0),i=t._getBindingValues(1),a=t._getBindingValues(2),n=t._getBindingValues(3),r=t.getValues(1)||this.chart._xvals;this._calculator=new _RenkoCalculator(e,i,a,n,r,this._boxSize,this._rangeMode,this._fields,this._rounding);this._rangeValues=this._calculator.calculate();(null===this._rangeValues||wijmo_1.isUndefined(this._rangeValues))&&(this._rangeValues=[]);this._generateXLabels(t)};_RenkoPlotter.prototype._init=function(){t.prototype._init.call(this);this._boxSize=this.getNumOption("boxSize","renko")||14;this._rangeMode=this.getOption("rangeMode","renko")||RangeMode.Fixed;this._rangeMode=wijmo_1.asEnum(this._rangeMode,RangeMode,!0);wijmo_1.assert(this._rangeMode!==RangeMode.Percentage,"RangeMode.Percentage is not supported");this._fields=this.getOption("fields","renko")||DataFields.Close;this._fields=wijmo_1.asEnum(this._fields,DataFields,!0);wijmo_1.assert(this._fields!==DataFields.HighLow,"DataFields.HighLow is not supported");this._rounding=wijmo_1.asBoolean(this.getOption("rounding","renko"),!0)};_RenkoPlotter.prototype._generateXLabels=function(e){var i=this;t.prototype._generateXLabels.call(this,e);this._rangeXLabels.forEach((function(t,e){e>0&&i._rangeXLabels[e-1]._text===t.text&&(t.text="")}),this)};return _RenkoPlotter}(_BaseRangePlotter);exports._RenkoPlotter=_RenkoPlotter;var _LineBreakPlotter=function(t){__extends(_LineBreakPlotter,t);function _LineBreakPlotter(){return t.call(this)||this}_LineBreakPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._newLineBreaks=null};_LineBreakPlotter.prototype._calculate=function(t){this._init();var e=t._getBindingValues(3),i=t.getValues(1)||this.chart._xvals;this._calculator=new _LineBreakCalculator(null,null,null,e,i,this._newLineBreaks);this._rangeValues=this._calculator.calculate();(null===this._rangeValues||wijmo_1.isUndefined(this._rangeValues))&&(this._rangeValues=[]);this._generateXLabels(t)};_LineBreakPlotter.prototype._init=function(){t.prototype._init.call(this);this._newLineBreaks=wijmo_1.asInt(this.getNumOption("newLineBreaks","lineBreak"),!0,!0)||3;wijmo_1.assert(this._newLineBreaks>=1,"Value must be greater than 1")};return _LineBreakPlotter}(_BaseRangePlotter);exports._LineBreakPlotter=_LineBreakPlotter;var FinancialChartType,_HeikinAshiPlotter=function(t){__extends(_HeikinAshiPlotter,t);function _HeikinAshiPlotter(){var e=t.call(this)||this;e._symFactor=.7;e.clear();return e}_HeikinAshiPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._haValues=null;this._calculator=null};_HeikinAshiPlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){var o=this;this._calculate(a);var l=wijmo_1.asType(a,wijmo_chart_1.SeriesBase),h=this.chart.series.indexOf(a),_=a.getValues(1),c=this._symFactor,u=this._haValues.length,g=!0;if(_){var p=this.dataInfo.getDeltaX();p>0&&(c*=p)}else _=this.dataInfo.getXVals();if(_)u=Math.min(u,_.length);else{g=!1;_=new Array(u)}var m=this._DEFAULT_WIDTH,d=l._getSymbolFill(h),f=l._getAltSymbolFill(h)||"transparent",w=l._getSymbolStroke(h),y=l._getAltSymbolStroke(h)||w,v=c,C=a.getDataType(1)||a.chart._xDataType;t.strokeWidth=m;for(var P,x,k,F,b,j,A,T,B=e.actualMin,V=e.actualMax,L=0,M=this.getItemFormatter(a),_loop_1=function(n){k=g?_[n]:n;if(wijmo_chart_1._DataInfo.isValid(k)&&B<=k&&k<=V){b=S._haValues[n].high;j=S._haValues[n].low;A=S._haValues[n].open;T=S._haValues[n].close;P=A<T?f:d;x=A<T?y:w;t.fill=P;t.stroke=x;t.startGroup();F=S._getDataPoint(h,n,k,a);if(M){var r=new wijmo_chart_1.HitTestInfo(S.chart,new wijmo_1.Point(e.convert(k),i.convert(b)),wijmo_chart_1.ChartElement.SeriesSymbol);r._setData(l,n);r._setDataPoint(F);M(t,r,(function(){o._drawSymbolWithDpt(t,e,i,h,n,P,v,k,b,j,A,T,F,C,u)}))}else S._drawSymbolWithDpt(t,e,i,h,n,P,v,k,b,j,A,T,F,C,u);t.endGroup();a._setPointIndex(n,L);L++}},S=this,R=0;R<u;R++)_loop_1(R)};_HeikinAshiPlotter.prototype._drawSymbolWithDpt=function(t,e,i,a,n,r,s,o,l,h,_,c,u,g,p){var m,d=null,f=null,w=null,y=null,v=g===wijmo_1.DataType.Date?432e5:.5,C=e.convert(o),P=e._axrect,x=s/2,k=0===n&&C-P.left<=x,F=n===p-1&&P.right-C<=x;if(k){w=o;y=o+s}else if(F){w=o-s;y=o}else{w=o-v*s;y=o+v*s}if((w=e.convert(w))>(y=e.convert(y))){var b=w;w=y;y=b}o=C;if(wijmo_chart_1._DataInfo.isValid(_)&&wijmo_chart_1._DataInfo.isValid(c)){_=i.convert(_);c=i.convert(c);f=(d=Math.min(_,c))+Math.abs(_-c);t.drawRect(w,d,y-w,f-d);(m=new wijmo_chart_1._RectArea(new wijmo_1.Rect(w,d,y-w,f-d))).tag=u;this.hitTester.add(m,a)}if(wijmo_chart_1._DataInfo.isValid(l)){l=i.convert(l);if(null!==d){t.drawLine(o,d,o,l);m.rect.top=l;m.rect.height=m.rect.height+l}}if(wijmo_chart_1._DataInfo.isValid(h)){h=i.convert(h);if(null!==f){t.drawLine(o,f,o,h);m.rect.height=m.rect.height+h}}};_HeikinAshiPlotter.prototype._getDataPoint=function(t,e,i,a){var n=new wijmo_chart_1._DataPoint(t,e,i,this._haValues[e].high),r=a._getItem(e),s=a._getBinding(0),o=a._getBinding(1),l=a._getBinding(2),h=a._getBinding(3),_=a._getAxisY();if(null!=r){n.item=wijmo_chart_1._BasePlotter.cloneStyle(r,[]);n.item[s]=this._haValues[e].high;n.item[o]=this._haValues[e].low;n.item[l]=this._haValues[e].open;n.item[h]=this._haValues[e].close}n.y=this._haValues[e].high;n.yfmt=_._formatValue(this._haValues[e].high);return n};_HeikinAshiPlotter.prototype._calculate=function(t){var e=t._getBindingValues(0),i=t._getBindingValues(1),a=t._getBindingValues(2),n=t._getBindingValues(3);this._calculator=new _HeikinAshiCalculator(e,i,a,n);this._haValues=this._calculator.calculate();(null===this._haValues||wijmo_1.isUndefined(this._haValues))&&this._init()};_HeikinAshiPlotter.prototype._init=function(){this._haValues=[]};return _HeikinAshiPlotter}(wijmo_chart_1._FinancePlotter);exports._HeikinAshiPlotter=_HeikinAshiPlotter;!function(t){t[t.Column=0]="Column";t[t.Scatter=1]="Scatter";t[t.Line=2]="Line";t[t.LineSymbols=3]="LineSymbols";t[t.Area=4]="Area";t[t.Candlestick=5]="Candlestick";t[t.HighLowOpenClose=6]="HighLowOpenClose";t[t.HeikinAshi=7]="HeikinAshi";t[t.LineBreak=8]="LineBreak";t[t.Renko=9]="Renko";t[t.Kagi=10]="Kagi";t[t.ColumnVolume=11]="ColumnVolume";t[t.EquiVolume=12]="EquiVolume";t[t.CandleVolume=13]="CandleVolume";t[t.ArmsCandleVolume=14]="ArmsCandleVolume";t[t.PointAndFigure=15]="PointAndFigure"}(FinancialChartType=exports.FinancialChartType||(exports.FinancialChartType={}));var FinancialChart=function(t){__extends(FinancialChart,t);function FinancialChart(e,i){var a=t.call(this,e,null)||this;a._chartType=FinancialChartType.Line;a.__heikinAshiPlotter=null;a.__lineBreakPlotter=null;a.__renkoPlotter=null;a.__kagiPlotter=null;a.__pfPlotter=null;a.initialize(i);return a}FinancialChart.prototype._getProductInfo=function(){return"A78U,FinancialChart"};Object.defineProperty(FinancialChart.prototype,"chartType",{get:function(){return this._chartType},set:function(t){if((t=wijmo_1.asEnum(t,FinancialChartType))!=this._chartType){this._chartType=t;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"options",{get:function(){return this._options},set:function(t){if(t!=this._options){this._options=t;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_heikinAshiPlotter",{get:function(){if(null===this.__heikinAshiPlotter){this.__heikinAshiPlotter=new _HeikinAshiPlotter;this._initPlotter(this.__heikinAshiPlotter)}return this.__heikinAshiPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_lineBreakPlotter",{get:function(){if(null===this.__lineBreakPlotter){this.__lineBreakPlotter=new _LineBreakPlotter;this._initPlotter(this.__lineBreakPlotter)}return this.__lineBreakPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_renkoPlotter",{get:function(){if(null===this.__renkoPlotter){this.__renkoPlotter=new _RenkoPlotter;this._initPlotter(this.__renkoPlotter)}return this.__renkoPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_kagiPlotter",{get:function(){if(null===this.__kagiPlotter){this.__kagiPlotter=new _KagiPlotter;this._initPlotter(this.__kagiPlotter)}return this.__kagiPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_pfPlotter",{get:function(){if(null===this.__pfPlotter){this.__pfPlotter=new _PointAndFigurePlotter;this._initPlotter(this.__pfPlotter)}return this.__pfPlotter},enumerable:!0,configurable:!0});FinancialChart.prototype._getChartType=function(){var t=null;switch(this.chartType){case FinancialChartType.Area:t=wijmo_chart_1.ChartType.Area;break;case FinancialChartType.Line:case FinancialChartType.Kagi:case FinancialChartType.PointAndFigure:t=wijmo_chart_1.ChartType.Line;break;case FinancialChartType.Column:case FinancialChartType.ColumnVolume:t=wijmo_chart_1.ChartType.Column;break;case FinancialChartType.LineSymbols:t=wijmo_chart_1.ChartType.LineSymbols;break;case FinancialChartType.Scatter:t=wijmo_chart_1.ChartType.Scatter;break;case FinancialChartType.Candlestick:case FinancialChartType.Renko:case FinancialChartType.HeikinAshi:case FinancialChartType.LineBreak:case FinancialChartType.EquiVolume:case FinancialChartType.CandleVolume:case FinancialChartType.ArmsCandleVolume:t=wijmo_chart_1.ChartType.Candlestick;break;case FinancialChartType.HighLowOpenClose:t=wijmo_chart_1.ChartType.HighLowOpenClose}return t};FinancialChart.prototype._getPlotter=function(e){var i=this.chartType,a=null;if(e){var n=e.chartType;if(n&&!wijmo_1.isUndefined(n)&&n!=i){i=n;!0}}switch(i){case FinancialChartType.HeikinAshi:a=this._heikinAshiPlotter;break;case FinancialChartType.LineBreak:a=this._lineBreakPlotter;break;case FinancialChartType.Renko:a=this._renkoPlotter;break;case FinancialChartType.Kagi:a=this._kagiPlotter;break;case FinancialChartType.ColumnVolume:(a=t.prototype._getPlotter.call(this,e)).isVolume=!0;a.width=1;break;case FinancialChartType.EquiVolume:(a=t.prototype._getPlotter.call(this,e)).isEqui=!0;a.isCandle=!1;a.isArms=!1;a.isVolume=!0;a.symbolWidth="100%";break;case FinancialChartType.CandleVolume:(a=t.prototype._getPlotter.call(this,e)).isEqui=!1;a.isCandle=!0;a.isArms=!1;a.isVolume=!0;a.symbolWidth="100%";break;case FinancialChartType.ArmsCandleVolume:(a=t.prototype._getPlotter.call(this,e)).isEqui=!1;a.isCandle=!1;a.isArms=!0;a.isVolume=!0;a.symbolWidth="100%";break;case FinancialChartType.PointAndFigure:a=this._pfPlotter;break;default:a=t.prototype._getPlotter.call(this,e)}return a};FinancialChart.prototype._createSeries=function(){return new FinancialSeries};return FinancialChart}(wijmo_chart_1.FlexChartCore);exports.FinancialChart=FinancialChart;wijmo_1._registerModule("wijmo.chart.finance",selfModule);
|