@fintatech/fintachart 3.1.0
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/CHANGELOG.md +14 -0
- package/LICENSE.md +63 -0
- package/README.md +151 -0
- package/THIRD_PARTY_NOTICES.md +38 -0
- package/basic-objects.html +165 -0
- package/css/FintaChart.min.css +1 -0
- package/css/external/jqNumericField.min.css +1 -0
- package/css/external/spectrum.min.css +7 -0
- package/css/external/toastr.min.css +1 -0
- package/custom-indicator.html +209 -0
- package/d.ts/FintaChart.d.ts +24313 -0
- package/d.ts/frameworks/Intl.d.ts +115 -0
- package/d.ts/frameworks/bootstrap.d.ts +128 -0
- package/d.ts/frameworks/bootstrap.v3.datetimepicker.d.ts +10 -0
- package/d.ts/frameworks/detectizr.d.ts +27 -0
- package/d.ts/frameworks/dom-to-image-more.d.ts +17 -0
- package/d.ts/frameworks/html2canvas.d.ts +101 -0
- package/d.ts/frameworks/i18nextXHRBackend.d.ts +42 -0
- package/d.ts/frameworks/jquery-i18next.d.ts +14 -0
- package/d.ts/frameworks/jquery-ui.d.ts +1914 -0
- package/d.ts/frameworks/jquery.d.ts +3779 -0
- package/d.ts/frameworks/jquery.ui.touch-punch.d.ts +12 -0
- package/d.ts/frameworks/moment-node.d.ts +485 -0
- package/d.ts/frameworks/moment.d.ts +10 -0
- package/d.ts/frameworks/tinycolor.d.ts +377 -0
- package/d.ts/frameworks-modified/bootstrap-select.d.ts +18 -0
- package/d.ts/frameworks-modified/i18next.d.ts +148 -0
- package/d.ts/frameworks-modified/jquery.autocolumnlist.d.ts +17 -0
- package/d.ts/frameworks-modified/jquery.resizable.d.ts +20 -0
- package/d.ts/frameworks-modified/spectrum.d.ts +294 -0
- package/d.ts/frameworks-modified/switchery.d.ts +69 -0
- package/d.ts/frameworks-modified/toastr.d.ts +224 -0
- package/data/offline-market-history/EUR_CAD/Day/1.csv +2001 -0
- package/data/offline-market-history/EUR_CAD/Hour/1.csv +1702 -0
- package/data/offline-market-history/EUR_CAD/Hour/4.csv +442 -0
- package/data/offline-market-history/EUR_CAD/Minute/1.csv +2001 -0
- package/data/offline-market-history/EUR_CAD/Minute/15.csv +2001 -0
- package/data/offline-market-history/EUR_CAD/Minute/5.csv +2001 -0
- package/data/offline-market-history/EUR_CAD/Monthly/1.csv +175 -0
- package/data/offline-market-history/EUR_CAD/Weekly/1.csv +752 -0
- package/data/offline-market-history/EUR_CAD/Yearly/1.csv +16 -0
- package/data/offline-market-history/EUR_GBP/Day/1.csv +2001 -0
- package/data/offline-market-history/EUR_GBP/Hour/1.csv +1702 -0
- package/data/offline-market-history/EUR_GBP/Hour/4.csv +442 -0
- package/data/offline-market-history/EUR_GBP/Minute/1.csv +2001 -0
- package/data/offline-market-history/EUR_GBP/Minute/15.csv +2001 -0
- package/data/offline-market-history/EUR_GBP/Minute/5.csv +2001 -0
- package/data/offline-market-history/EUR_GBP/Monthly/1.csv +199 -0
- package/data/offline-market-history/EUR_GBP/Weekly/1.csv +860 -0
- package/data/offline-market-history/EUR_GBP/Yearly/1.csv +18 -0
- package/data/predefined-templates/EMAAndMACDTemplate.json +100 -0
- package/data/predefined-templates/bigTreeTemplate.json +137 -0
- package/data/predefined-templates/multiIndicator.json +136 -0
- package/data/predefined-templates/renkoTemplate.json +50 -0
- package/data/predefined-templates/standartCandleTemplate.json +73 -0
- package/fonts/calibri/calibri.svg +3707 -0
- package/fonts/calibri/calibri.ttf +0 -0
- package/fonts/calibri/calibri.woff +0 -0
- package/fonts/courier-new/courier-new.svg +633 -0
- package/fonts/courier-new/courier-new.ttf +0 -0
- package/fonts/courier-new/courier-new.woff +0 -0
- package/fonts/open-sans-cyrillic/open-sans-cyrillic.svg +475 -0
- package/fonts/open-sans-cyrillic/open-sans-cyrillic.ttf +0 -0
- package/fonts/open-sans-cyrillic/open-sans-cyrillic.woff +0 -0
- package/fonts/open-sans-cyrillic-ext/open-sans-cyrillic-ext.svg +567 -0
- package/fonts/open-sans-cyrillic-ext/open-sans-cyrillic-ext.ttf +0 -0
- package/fonts/open-sans-cyrillic-ext/open-sans-cyrillic-ext.woff +0 -0
- package/fonts/open-sans-greek/open-sans-greek.svg +603 -0
- package/fonts/open-sans-greek/open-sans-greek.ttf +0 -0
- package/fonts/open-sans-greek/open-sans-greek.woff +0 -0
- package/fonts/open-sans-greek-ext/open-sans-greek-ext.svg +42 -0
- package/fonts/open-sans-greek-ext/open-sans-greek-ext.ttf +0 -0
- package/fonts/open-sans-greek-ext/open-sans-greek-ext.woff +0 -0
- package/fonts/open-sans-latin/open-sans-latin.svg +1863 -0
- package/fonts/open-sans-latin/open-sans-latin.ttf +0 -0
- package/fonts/open-sans-latin/open-sans-latin.woff +0 -0
- package/fonts/open-sans-latin-ext/open-sans-latin-ext.svg +1686 -0
- package/fonts/open-sans-latin-ext/open-sans-latin-ext.ttf +0 -0
- package/fonts/open-sans-latin-ext/open-sans-latin-ext.woff +0 -0
- package/fonts/open-sans-vietnamese/open-sans-vietnamese.svg +375 -0
- package/fonts/open-sans-vietnamese/open-sans-vietnamese.ttf +0 -0
- package/fonts/open-sans-vietnamese/open-sans-vietnamese.woff +0 -0
- package/fonts/rubik-medium/Rubik-Medium.svg +8831 -0
- package/fonts/rubik-medium/Rubik-Medium.ttf +0 -0
- package/fonts/rubik-medium/Rubik-Medium.woff +0 -0
- package/fonts/rubik-regular/Rubik-Regular.svg +8885 -0
- package/fonts/rubik-regular/Rubik-Regular.ttf +0 -0
- package/fonts/rubik-regular/Rubik-Regular.woff +0 -0
- package/fonts/source-sans-pro-latin/source-sans-pro-latin.svg +2642 -0
- package/fonts/source-sans-pro-latin/source-sans-pro-latin.ttf +0 -0
- package/fonts/source-sans-pro-latin/source-sans-pro-latin.woff +0 -0
- package/fonts/source-sans-pro-latin-ext/source-sans-pro-latin-ext.svg +1572 -0
- package/fonts/source-sans-pro-latin-ext/source-sans-pro-latin-ext.ttf +0 -0
- package/fonts/source-sans-pro-latin-ext/source-sans-pro-latin-ext.woff +0 -0
- package/fonts/source-sans-pro-vietnamese/source-sans-pro-vietnamese.svg +428 -0
- package/fonts/source-sans-pro-vietnamese/source-sans-pro-vietnamese.ttf +0 -0
- package/fonts/source-sans-pro-vietnamese/source-sans-pro-vietnamese.woff +0 -0
- package/htmldialogs/ChartContextMenu.html +3 -0
- package/htmldialogs/ChartTypeSettingsDialog.html +231 -0
- package/htmldialogs/CheckboxIndicatorParameterControl.html +9 -0
- package/htmldialogs/CompareInstrumentSettings.html +61 -0
- package/htmldialogs/ComparingContextMenu.html +8 -0
- package/htmldialogs/ConfirmDialog.html +28 -0
- package/htmldialogs/DemoModePopup.html +24 -0
- package/htmldialogs/FillPlotStyleControl.html +28 -0
- package/htmldialogs/HotkeysSettings.html +28 -0
- package/htmldialogs/IndicatorContextMenu.html +18 -0
- package/htmldialogs/IndicatorSettingsDialog.html +38 -0
- package/htmldialogs/IndicatorsDialog.html +39 -0
- package/htmldialogs/IndicatorsOverview_en.html +1694 -0
- package/htmldialogs/IndicatorsOverview_ua.html +9 -0
- package/htmldialogs/InstrumentSearchDialog.html +22 -0
- package/htmldialogs/LinePlotStyleControl.html +33 -0
- package/htmldialogs/MainSettings.html +292 -0
- package/htmldialogs/MarketEventPopup.html +27 -0
- package/htmldialogs/MarketEventsSettingsDialog.html +22 -0
- package/htmldialogs/NumericIndicatorParameter.html +8 -0
- package/htmldialogs/OpenChart.html +6 -0
- package/htmldialogs/PatternSettingsControl.html +26 -0
- package/htmldialogs/PatternsIndicatorSettingsDialog.html +30 -0
- package/htmldialogs/PatternsSettingsParameterControl.html +12 -0
- package/htmldialogs/PositionShapeContextMenu.html +9 -0
- package/htmldialogs/QuantityPopup.html +7 -0
- package/htmldialogs/Scrollbar.html +6 -0
- package/htmldialogs/SelectableIndicatorParameter.html +9 -0
- package/htmldialogs/ShapeContextMenu.html +7 -0
- package/htmldialogs/ShapeFibonacciSettingsDialog.html +261 -0
- package/htmldialogs/ShapePositionSettingsDialog.html +351 -0
- package/htmldialogs/ShapeSettingsDialog.html +521 -0
- package/htmldialogs/TimeFrameChangePopup.html +11 -0
- package/htmldialogs/TimeIndicatorParameterControl.html +89 -0
- package/htmldialogs/Toolbar.html +1710 -0
- package/htmldialogs/TooltipView.html +151 -0
- package/htmldialogs/TradingContextMenu.html +2 -0
- package/img/ContextMenuCheckbox.png +0 -0
- package/img/cross-hairs.cur +0 -0
- package/img/eu.png +0 -0
- package/img/favicon/favicon.ico +0 -0
- package/img/fist.cur +0 -0
- package/img/point.cur +0 -0
- package/img/svg-icons/Illustration-License-b.svg +1 -0
- package/img/svg-icons/Illustration-License-w.svg +1 -0
- package/img/svg-icons/abcd-label-pattern.svg +1 -0
- package/img/svg-icons/abcd-pattern.svg +1 -0
- package/img/svg-icons/add.svg +1 -0
- package/img/svg-icons/adjust-OHLC.svg +1 -0
- package/img/svg-icons/adjust-all.svg +1 -0
- package/img/svg-icons/andrews-pitchfork.svg +1 -0
- package/img/svg-icons/arrow-down.svg +1 -0
- package/img/svg-icons/arrow-left.svg +3 -0
- package/img/svg-icons/arrow-right.svg +3 -0
- package/img/svg-icons/arrow-type-type.svg +3 -0
- package/img/svg-icons/arrow-up.svg +1 -0
- package/img/svg-icons/arrow.svg +1 -0
- package/img/svg-icons/balloon.svg +1 -0
- package/img/svg-icons/brand-x.svg +1 -0
- package/img/svg-icons/calculator.svg +15 -0
- package/img/svg-icons/chartType-area.svg +1 -0
- package/img/svg-icons/chartType-bars.svg +1 -0
- package/img/svg-icons/chartType-candles-volume.svg +1 -0
- package/img/svg-icons/chartType-candles.svg +1 -0
- package/img/svg-icons/chartType-colored-bars.svg +1 -0
- package/img/svg-icons/chartType-equi-volume-shadow.svg +1 -0
- package/img/svg-icons/chartType-equi-volume.svg +1 -0
- package/img/svg-icons/chartType-heikin-ashi.svg +1 -0
- package/img/svg-icons/chartType-hollow-candles.svg +1 -0
- package/img/svg-icons/chartType-kagi.svg +1 -0
- package/img/svg-icons/chartType-line-break.svg +1 -0
- package/img/svg-icons/chartType-line.svg +1 -0
- package/img/svg-icons/chartType-point-figure.svg +1 -0
- package/img/svg-icons/chartType-range-bars.svg +1 -0
- package/img/svg-icons/chartType-renko.svg +1 -0
- package/img/svg-icons/chevron-right-double.svg +3 -0
- package/img/svg-icons/chevron.svg +3 -0
- package/img/svg-icons/circle.svg +1 -0
- package/img/svg-icons/close-floating-toolbar.svg +1 -0
- package/img/svg-icons/close-pane.svg +1 -0
- package/img/svg-icons/close-rect.svg +4 -0
- package/img/svg-icons/close-windows.svg +1 -0
- package/img/svg-icons/close.svg +4 -0
- package/img/svg-icons/compare.svg +1 -0
- package/img/svg-icons/copy.svg +1 -0
- package/img/svg-icons/cursorType-arrow-with-labels.svg +1 -0
- package/img/svg-icons/cursorType-arrow.svg +3 -0
- package/img/svg-icons/cursorType-crosshairs.svg +1 -0
- package/img/svg-icons/cursorType-point.svg +1 -0
- package/img/svg-icons/cyclic-lines.svg +1 -0
- package/img/svg-icons/default-screen.svg +11 -0
- package/img/svg-icons/demo-popup-bg.svg +1 -0
- package/img/svg-icons/diamond.svg +1 -0
- package/img/svg-icons/dot.svg +1 -0
- package/img/svg-icons/drag.svg +1 -0
- package/img/svg-icons/elliott-wave-pattern.svg +1 -0
- package/img/svg-icons/ellipse.svg +1 -0
- package/img/svg-icons/error-channel.svg +1 -0
- package/img/svg-icons/export.svg +1 -0
- package/img/svg-icons/extended-line.svg +3 -0
- package/img/svg-icons/fibonacci-arcs.svg +1 -0
- package/img/svg-icons/fibonacci-ellipses.svg +1 -0
- package/img/svg-icons/fibonacci-extensions.svg +1 -0
- package/img/svg-icons/fibonacci-fan.svg +1 -0
- package/img/svg-icons/fibonacci-retracements.svg +1 -0
- package/img/svg-icons/fibonacci-time-zones.svg +1 -0
- package/img/svg-icons/fintatech.svg +1 -0
- package/img/svg-icons/free-hand.svg +1 -0
- package/img/svg-icons/full-screen.svg +11 -0
- package/img/svg-icons/full-windows.svg +12 -0
- package/img/svg-icons/gann-fan.svg +1 -0
- package/img/svg-icons/general-delete.svg +3 -0
- package/img/svg-icons/head-shoulders-pattern.svg +1 -0
- package/img/svg-icons/horizontal-line.svg +1 -0
- package/img/svg-icons/horizontal-ray.svg +3 -0
- package/img/svg-icons/html-code.svg +1 -0
- package/img/svg-icons/image.svg +5 -0
- package/img/svg-icons/images.svg +1 -0
- package/img/svg-icons/in-shape-mode.svg +1 -0
- package/img/svg-icons/insert-indicator.svg +1 -0
- package/img/svg-icons/kings-crown-pattern.svg +1 -0
- package/img/svg-icons/latest-position.svg +1 -0
- package/img/svg-icons/line-segment.svg +1 -0
- package/img/svg-icons/link.svg +5 -0
- package/img/svg-icons/lock.svg +3 -0
- package/img/svg-icons/magnet-mode.svg +1 -0
- package/img/svg-icons/measure.svg +1 -0
- package/img/svg-icons/multiply-link.svg +5 -0
- package/img/svg-icons/note.svg +1 -0
- package/img/svg-icons/number-label-pattern.svg +1 -0
- package/img/svg-icons/open-OHLC-pane.svg +1 -0
- package/img/svg-icons/options.svg +1 -0
- package/img/svg-icons/period.svg +1 -0
- package/img/svg-icons/polygon.svg +1 -0
- package/img/svg-icons/polyline.svg +1 -0
- package/img/svg-icons/position-long.svg +90 -0
- package/img/svg-icons/position-long_og.svg +81 -0
- package/img/svg-icons/position-short.svg +90 -0
- package/img/svg-icons/position-short_og.svg +89 -0
- package/img/svg-icons/quadrant-lines.svg +1 -0
- package/img/svg-icons/raff-regression.svg +1 -0
- package/img/svg-icons/ray.svg +3 -0
- package/img/svg-icons/rectangle.svg +1 -0
- package/img/svg-icons/redo-new.svg +3 -0
- package/img/svg-icons/redo.svg +1 -0
- package/img/svg-icons/remove-all-indicators.svg +1 -0
- package/img/svg-icons/remove-all-shapes.svg +1 -0
- package/img/svg-icons/replay-jump.svg +1 -0
- package/img/svg-icons/replay-pause.svg +1 -0
- package/img/svg-icons/replay-play.svg +1 -0
- package/img/svg-icons/replay-skip-end.svg +1 -0
- package/img/svg-icons/replay-skip-one.svg +1 -0
- package/img/svg-icons/save-as-image.svg +1 -0
- package/img/svg-icons/screenshot.svg +5 -0
- package/img/svg-icons/scroll-bottom.svg +1 -0
- package/img/svg-icons/scroll-left.svg +1 -0
- package/img/svg-icons/scroll-right.svg +1 -0
- package/img/svg-icons/scroll-top.svg +1 -0
- package/img/svg-icons/search.svg +1 -0
- package/img/svg-icons/speed-lines.svg +1 -0
- package/img/svg-icons/square.svg +1 -0
- package/img/svg-icons/star.svg +4 -0
- package/img/svg-icons/stash.svg +4 -0
- package/img/svg-icons/stick-to-bar.svg +1 -0
- package/img/svg-icons/stick-to-close.svg +1 -0
- package/img/svg-icons/stick-to-high.svg +1 -0
- package/img/svg-icons/stick-to-low.svg +1 -0
- package/img/svg-icons/stick-to-open.svg +1 -0
- package/img/svg-icons/sticky-mode-off.svg +1 -0
- package/img/svg-icons/tcdPane-alert-indicator.svg +1 -0
- package/img/svg-icons/tcdPane-close.svg +1 -0
- package/img/svg-icons/tcdPane-down.svg +1 -0
- package/img/svg-icons/tcdPane-expand-closed.svg +1 -0
- package/img/svg-icons/tcdPane-expand.svg +1 -0
- package/img/svg-icons/tcdPane-maximize.svg +1 -0
- package/img/svg-icons/tcdPane-options.svg +1 -0
- package/img/svg-icons/tcdPane-remove-indicator.svg +1 -0
- package/img/svg-icons/tcdPane-restore.svg +1 -0
- package/img/svg-icons/tcdPane-toggle.svg +1 -0
- package/img/svg-icons/tcdPane-up.svg +1 -0
- package/img/svg-icons/template-delete.svg +1 -0
- package/img/svg-icons/template-edit.svg +1 -0
- package/img/svg-icons/template-ok.svg +1 -0
- package/img/svg-icons/template.svg +1 -0
- package/img/svg-icons/text-editor-b.svg +1 -0
- package/img/svg-icons/text-editor-i.svg +1 -0
- package/img/svg-icons/text-editor-u.svg +1 -0
- package/img/svg-icons/text.svg +1 -0
- package/img/svg-icons/tirone-levels.svg +1 -0
- package/img/svg-icons/toggle-shapes.svg +1 -0
- package/img/svg-icons/trade-manager.svg +1 -0
- package/img/svg-icons/trend-angle.svg +1 -0
- package/img/svg-icons/trend-channel.svg +1 -0
- package/img/svg-icons/triangle-pattern.svg +1 -0
- package/img/svg-icons/triangle.svg +1 -0
- package/img/svg-icons/undo-new.svg +3 -0
- package/img/svg-icons/undo.svg +1 -0
- package/img/svg-icons/unlock.svg +3 -0
- package/img/svg-icons/vertical-line.svg +1 -0
- package/img/svg-icons/visibleProfile.svg +1 -0
- package/img/svg-icons/web-link.svg +1 -0
- package/img/svg-icons/x.svg +3 -0
- package/img/svg-icons/xabcd-pattern.svg +1 -0
- package/img/svg-icons/zoom-by-area.svg +1 -0
- package/img/svg-icons/zoom.svg +1 -0
- package/img/usa.png +0 -0
- package/index-dark.html +132 -0
- package/index.html +229 -0
- package/localization/en.json +1646 -0
- package/localization/uk.json +1597 -0
- package/multiple-charts.html +162 -0
- package/package.json +62 -0
- package/scripts/FintaChart.min.js +70 -0
- package/scripts/frameworks/Intl.min.js +4 -0
- package/scripts/frameworks/bootstrap.v3.datetimepicker.min.js +2605 -0
- package/scripts/frameworks/detectizr.min.js +1 -0
- package/scripts/frameworks/dom-to-image-more.min.js +3 -0
- package/scripts/frameworks/i18nextXHRBackend.min.js +1 -0
- package/scripts/frameworks/jquery-i18next.min.js +1 -0
- package/scripts/frameworks/jquery-ui.min.js +8 -0
- package/scripts/frameworks/jquery.min.js +3 -0
- package/scripts/frameworks/jquery.ui.touch-punch.min.js +1 -0
- package/scripts/frameworks/moment.min.js +1216 -0
- package/scripts/frameworks-modified/bootstrap-select.js +1024 -0
- package/scripts/frameworks-modified/i18next.js +2075 -0
- package/scripts/frameworks-modified/jquery.autocolumnlist.js +48 -0
- package/scripts/frameworks-modified/jquery.resizable.js +229 -0
- package/scripts/frameworks-modified/spectrum.js +2279 -0
- package/scripts/frameworks-modified/switchery.js +1957 -0
- package/scripts/frameworks-modified/toastr.js +414 -0
- package/scripts/jsdataadapters/fileDataAdapter.js +129 -0
- package/scripts/jsdataadapters/restDataAdapter.js +149 -0
- package/scripts/jsdataadapters/webSocketDataAdapter.js +114 -0
- package/scripts/miscs/templateFileDataAdapter.js +17 -0
- package/scripts/themes/beetTheme.js +2999 -0
- package/scripts/themes/darkTheme.js +3004 -0
- package/scripts/themes/defaultTheme.js +3095 -0
- package/scripts/themes/fintatechDarkTheme.js +3005 -0
- package/scripts/themes/grayTheme.js +3004 -0
- package/scripts/themes/oliveTheme.js +3004 -0
- package/scripts/themes/orangeTheme.js +3004 -0
- package/scripts/themes/purpleTheme.js +3004 -0
- package/scripts/themes/skyTheme.js +3009 -0
- package/scripts/themes/tealTheme.js +3004 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><title>zoom-by-area</title><path d="M22.374,21.66l-4.89-4.89a7.644,7.644,0,0,0,1.19-1.79,6.765,6.765,0,0,0,.41-1,8.012,8.012,0,0,0,0-5,6.765,6.765,0,0,0-.41-1,7.953,7.953,0,0,0-3.69-3.69,6.765,6.765,0,0,0-1-.41,8.012,8.012,0,0,0-5,0,7.241,7.241,0,0,0-1,.41,7.953,7.953,0,0,0-3.69,3.69,6.765,6.765,0,0,0-.41,1,8.012,8.012,0,0,0,0,5,6.765,6.765,0,0,0,.41,1,7.953,7.953,0,0,0,3.69,3.69,6.765,6.765,0,0,0,1,.41,8.012,8.012,0,0,0,5,0,6.765,6.765,0,0,0,1-.41,7.644,7.644,0,0,0,1.79-1.19l4.89,4.89a.508.508,0,0,0,.36.15.5.5,0,0,0,.35-.15A.513.513,0,0,0,22.374,21.66ZM15,5.44A6.985,6.985,0,0,1,17.56,8H15ZM18.03,9a6.884,6.884,0,0,1,0,5H15V9ZM9,4.97a6.884,6.884,0,0,1,5,0V8H9ZM14,9v5H9V9ZM8,5.44V8H5.44A6.985,6.985,0,0,1,8,5.44ZM4.5,11.5A6.7,6.7,0,0,1,4.97,9H8v5H4.97A6.7,6.7,0,0,1,4.5,11.5ZM5.44,15H8v2.56A6.985,6.985,0,0,1,5.44,15Zm6.06,3.5A6.7,6.7,0,0,1,9,18.03V15h5v3.03A6.7,6.7,0,0,1,11.5,18.5Zm3.5-.94V15h2.56A6.985,6.985,0,0,1,15,17.56Z" fill="#323232"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><title>zoom</title><path d="M22.37,21.66l-4.89-4.89a8,8,0,1,0-.71.71l4.89,4.89a.508.508,0,0,0,.36.15.485.485,0,0,0,.35-.15A.5.5,0,0,0,22.37,21.66ZM11.48,18.48a7,7,0,1,1,7-7A7.008,7.008,0,0,1,11.48,18.48ZM16,11.5a.5.5,0,0,1-.5.5H12v3.5a.5.5,0,0,1-.5.5.5.5,0,0,1-.5-.5V12H7.5a.5.5,0,0,1-.5-.5.508.508,0,0,1,.5-.5H11V7.5a.508.508,0,0,1,.5-.5.5.5,0,0,1,.5.5V11h3.5A.5.5,0,0,1,16,11.5Z" fill="#323232"/></svg>
|
package/img/usa.png
ADDED
|
Binary file
|
package/index-dark.html
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
<!DOCTYPE HTML>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<title>FintaChart Web & Mobile - Demo</title>
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
8
|
+
|
|
9
|
+
<link rel="apple-touch-icon-precomposed" href="img/favicon/favicon.ico">
|
|
10
|
+
<link rel="shortcut icon" href="img/favicon/favicon.ico">
|
|
11
|
+
|
|
12
|
+
<link rel="stylesheet" href="css/external/spectrum.min.css">
|
|
13
|
+
<link rel="stylesheet" href="css/external/toastr.min.css">
|
|
14
|
+
<link rel="stylesheet" href="css/external/jqNumericField.min.css">
|
|
15
|
+
<link rel="stylesheet" href="css/FintaChart.min.css">
|
|
16
|
+
|
|
17
|
+
<script src="scripts/frameworks/jquery.min.js"></script>
|
|
18
|
+
<script src="scripts/frameworks/jquery-ui.min.js"></script>
|
|
19
|
+
<script src="scripts/frameworks/Intl.min.js"></script>
|
|
20
|
+
<script src="scripts/frameworks/moment.min.js"></script>
|
|
21
|
+
<script src="scripts/frameworks/detectizr.min.js"></script>
|
|
22
|
+
<script src="scripts/frameworks/dom-to-image-more.min.js"></script>
|
|
23
|
+
<script src="scripts/frameworks/i18nextXHRBackend.min.js"></script>
|
|
24
|
+
<script src="scripts/frameworks/jquery-i18next.min.js"></script>
|
|
25
|
+
<script src="scripts/frameworks/jquery.ui.touch-punch.min.js"></script>
|
|
26
|
+
<script src="scripts/FintaChart.min.js"></script>
|
|
27
|
+
<script src="scripts/jsdataadapters/fileDataAdapter.js"></script>
|
|
28
|
+
<script src="scripts/jsdataadapters/restDataAdapter.js"></script>
|
|
29
|
+
<script src="scripts/jsdataadapters/webSocketDataAdapter.js"></script>
|
|
30
|
+
<script src="scripts/themes/darkTheme.js"></script>
|
|
31
|
+
<script src="scripts/themes/beetTheme.js"></script>
|
|
32
|
+
<script src="scripts/themes/defaultTheme.js"></script>
|
|
33
|
+
<script src="scripts/themes/grayTheme.js"></script>
|
|
34
|
+
<script src="scripts/themes/oliveTheme.js"></script>
|
|
35
|
+
<script src="scripts/themes/orangeTheme.js"></script>
|
|
36
|
+
<script src="scripts/themes/purpleTheme.js"></script>
|
|
37
|
+
<script src="scripts/themes/skyTheme.js"></script>
|
|
38
|
+
<script src="scripts/themes/tealTheme.js"></script>
|
|
39
|
+
<script src="scripts/themes/fintatechDarkTheme.js"></script>
|
|
40
|
+
<script src="scripts/miscs/templateFileDataAdapter.js"></script>
|
|
41
|
+
|
|
42
|
+
<style>
|
|
43
|
+
html,
|
|
44
|
+
body {
|
|
45
|
+
height: 100%;
|
|
46
|
+
margin: 0;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
#chartContainer {
|
|
51
|
+
width: 100%;
|
|
52
|
+
height: 100%;
|
|
53
|
+
}
|
|
54
|
+
</style>
|
|
55
|
+
</head>
|
|
56
|
+
|
|
57
|
+
<body id="tcdBody">
|
|
58
|
+
<div id="chartContainer"></div>
|
|
59
|
+
<script>
|
|
60
|
+
FintaChart.ResourcePath.localization = 'localization/';
|
|
61
|
+
const datafeed = fileDatafeed;
|
|
62
|
+
|
|
63
|
+
$(function () {
|
|
64
|
+
datafeed.init().then(df => {
|
|
65
|
+
let config = {
|
|
66
|
+
chartContainer: '#chartContainer',
|
|
67
|
+
width: '100%',
|
|
68
|
+
height: '100%',
|
|
69
|
+
theme: fintatechDarkTheme,
|
|
70
|
+
datafeed: df,
|
|
71
|
+
contextMenuPlacingOrdersEnabled: true,
|
|
72
|
+
tradeHandler: () => {},
|
|
73
|
+
contextMenuItems: [
|
|
74
|
+
{id: "new-order", label: "New Order"},
|
|
75
|
+
{id: "add-alert", label: "Alert"},
|
|
76
|
+
{id: "add-to-watchlist", label: "",
|
|
77
|
+
subMenu: [
|
|
78
|
+
{id: 'list1', label: "list1"},
|
|
79
|
+
{id: 'list2', label: "list2"},
|
|
80
|
+
{id: 'createList', label: "Create list", subMenu: [
|
|
81
|
+
{id: 'l1', label: 'l1'},
|
|
82
|
+
{id: 'l2', label: 'l2'},
|
|
83
|
+
]},
|
|
84
|
+
]}
|
|
85
|
+
],
|
|
86
|
+
templateDataProvider: templatesDummyDataProvider,
|
|
87
|
+
instrument: {
|
|
88
|
+
symbol: "EUR/GBP",
|
|
89
|
+
exchange: "FOREX",
|
|
90
|
+
company: "",
|
|
91
|
+
tickSize: 0.00001
|
|
92
|
+
},
|
|
93
|
+
supportedTimeFrames: ['1 Minute', '5 Minutes', '15 Minutes', '1 Hour',
|
|
94
|
+
'4 Hours', '1 Day', '1 Month', '1 Year'
|
|
95
|
+
],
|
|
96
|
+
timeFrame: { interval: 1, periodicity: FintaChart.Periodicity.DAY },
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
window.globalChart = $(config.chartContainer).FintaChart(config);
|
|
100
|
+
window.globalChart.exchanges = () => (['FOREX', 'CRYPTO'])
|
|
101
|
+
|
|
102
|
+
const position = new FintaChart.PositionBar({
|
|
103
|
+
position: {
|
|
104
|
+
plText: '12 USD',
|
|
105
|
+
kind: 'long',
|
|
106
|
+
price: 0.91,
|
|
107
|
+
quantity: 33,
|
|
108
|
+
id: 1111222555,
|
|
109
|
+
stopLoss: 0.92,
|
|
110
|
+
takeProfit: 0.89,
|
|
111
|
+
uplText: '+33 USD',
|
|
112
|
+
},
|
|
113
|
+
})
|
|
114
|
+
|
|
115
|
+
const alert = new FintaChart.AlertBar({
|
|
116
|
+
Alert: {
|
|
117
|
+
id: 'mock-alert-1',
|
|
118
|
+
name: 'Mock Alert',
|
|
119
|
+
message: 'Price reached',
|
|
120
|
+
value: 0.90,
|
|
121
|
+
}
|
|
122
|
+
})
|
|
123
|
+
|
|
124
|
+
window.globalChart.addAlert(alert);
|
|
125
|
+
|
|
126
|
+
// window.globalChart.addPosition(position);
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
</script>
|
|
130
|
+
</body>
|
|
131
|
+
|
|
132
|
+
</html>
|
package/index.html
ADDED
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
<!DOCTYPE HTML>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<title>FintaChart Web & Mobile - Demo</title>
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
8
|
+
|
|
9
|
+
<link rel="apple-touch-icon-precomposed" href="img/favicon/favicon.ico">
|
|
10
|
+
<link rel="shortcut icon" href="img/favicon/favicon.ico">
|
|
11
|
+
|
|
12
|
+
<link rel="stylesheet" href="css/external/spectrum.min.css">
|
|
13
|
+
<link rel="stylesheet" href="css/external/toastr.min.css">
|
|
14
|
+
<link rel="stylesheet" href="css/external/jqNumericField.min.css">
|
|
15
|
+
<link rel="stylesheet" href="css/FintaChart.min.css">
|
|
16
|
+
|
|
17
|
+
<script src="scripts/frameworks/jquery.min.js"></script>
|
|
18
|
+
<script src="scripts/frameworks/jquery-ui.min.js"></script>
|
|
19
|
+
<script src="scripts/frameworks/Intl.min.js"></script>
|
|
20
|
+
<script src="scripts/frameworks/moment.min.js"></script>
|
|
21
|
+
<script src="scripts/frameworks/detectizr.min.js"></script>
|
|
22
|
+
<script src="scripts/frameworks/dom-to-image-more.min.js"></script>
|
|
23
|
+
<script src="scripts/frameworks/i18nextXHRBackend.min.js"></script>
|
|
24
|
+
<script src="scripts/frameworks/jquery-i18next.min.js"></script>
|
|
25
|
+
<script src="scripts/frameworks/jquery.ui.touch-punch.min.js"></script>
|
|
26
|
+
<script src="scripts/FintaChart.min.js"></script>
|
|
27
|
+
<script src="scripts/jsdataadapters/fileDataAdapter.js"></script>
|
|
28
|
+
<script src="scripts/jsdataadapters/restDataAdapter.js"></script>
|
|
29
|
+
<script src="scripts/jsdataadapters/webSocketDataAdapter.js"></script>
|
|
30
|
+
<script src="scripts/themes/darkTheme.js"></script>
|
|
31
|
+
<script src="scripts/themes/beetTheme.js"></script>
|
|
32
|
+
<script src="scripts/themes/defaultTheme.js"></script>
|
|
33
|
+
<script src="scripts/themes/grayTheme.js"></script>
|
|
34
|
+
<script src="scripts/themes/oliveTheme.js"></script>
|
|
35
|
+
<script src="scripts/themes/orangeTheme.js"></script>
|
|
36
|
+
<script src="scripts/themes/purpleTheme.js"></script>
|
|
37
|
+
<script src="scripts/themes/skyTheme.js"></script>
|
|
38
|
+
<script src="scripts/themes/tealTheme.js"></script>
|
|
39
|
+
<script src="scripts/themes/fintatechDarkTheme.js"></script>
|
|
40
|
+
<script src="scripts/miscs/templateFileDataAdapter.js"></script>
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
<style>
|
|
44
|
+
html,
|
|
45
|
+
body {
|
|
46
|
+
height: 100%;
|
|
47
|
+
margin: 0;
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
#chartContainer {
|
|
52
|
+
width: 100%;
|
|
53
|
+
height: 100%;
|
|
54
|
+
}
|
|
55
|
+
</style>
|
|
56
|
+
</head>
|
|
57
|
+
|
|
58
|
+
<body id="tcdBody">
|
|
59
|
+
<div id="chartContainer"></div>
|
|
60
|
+
|
|
61
|
+
<script>
|
|
62
|
+
FintaChart.ResourcePath.localization = './localization/';
|
|
63
|
+
FintaChart.ResourcePath.htmlDialogs = './htmldialogs/';
|
|
64
|
+
FintaChart.SvgLoader.path = './img/svg-icons/';
|
|
65
|
+
|
|
66
|
+
class MarketEventsDatafeed extends FintaChart.MarketEventsDatafeed {
|
|
67
|
+
load(params) {
|
|
68
|
+
const events = [
|
|
69
|
+
{
|
|
70
|
+
id: '18',
|
|
71
|
+
title: 'Unit Labor Costs',
|
|
72
|
+
time: new Date('Mon Oct 14 2018 06:00:00 GMT+0300').getTime(),
|
|
73
|
+
type: FintaChart.MarketEventType.ECONOMICAL,
|
|
74
|
+
groupingId: 0,
|
|
75
|
+
volatility: FintaChart.CalendarEventVolatility.HIGH,
|
|
76
|
+
iconUrl: './img/usa.png',
|
|
77
|
+
priority: 0,
|
|
78
|
+
//consensus: 1.4,
|
|
79
|
+
//previous: 0.4,
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
id: '19',
|
|
83
|
+
title: 'Event 2.3.1',
|
|
84
|
+
time: new Date('Mon Sep 24 2018 06:00:00 GMT+0300 (Eastern European Summer Time)').getTime(),
|
|
85
|
+
type: FintaChart.MarketEventType.SIMPLE,
|
|
86
|
+
groupingId: 1,
|
|
87
|
+
volatility: FintaChart.CalendarEventVolatility.VERY_LOW,
|
|
88
|
+
iconUrl: './img/eu.png',
|
|
89
|
+
priority: 1,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
id: '20',
|
|
93
|
+
title: 'Event 2.3.1',
|
|
94
|
+
time: new Date('Mon Oct 14 2018 06:00:00 GMT+0300').getTime(),
|
|
95
|
+
type: FintaChart.MarketEventType.SIMPLE,
|
|
96
|
+
groupingId: 2,
|
|
97
|
+
volatility: FintaChart.CalendarEventVolatility.VERY_HIGH,
|
|
98
|
+
iconUrl: './img/eu.png',
|
|
99
|
+
priority: 3,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
id: '21',
|
|
103
|
+
title: 'Event 2.3.1',
|
|
104
|
+
time: new Date('Mon Oct 14 2018 06:00:00 GMT+0300').getTime(),
|
|
105
|
+
type: FintaChart.MarketEventType.SIMPLE,
|
|
106
|
+
groupingId: 2,
|
|
107
|
+
volatility: FintaChart.CalendarEventVolatility.VERY_HIGH,
|
|
108
|
+
iconUrl: './img/eu.png',
|
|
109
|
+
priority: 3,
|
|
110
|
+
},
|
|
111
|
+
];
|
|
112
|
+
|
|
113
|
+
return Promise.resolve(events);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
const datafeed = fileDatafeed;
|
|
118
|
+
let chart;
|
|
119
|
+
|
|
120
|
+
$(function () {
|
|
121
|
+
datafeed.init().then(df => {
|
|
122
|
+
const config = {
|
|
123
|
+
chartContainer: '#chartContainer',
|
|
124
|
+
width: '100%',
|
|
125
|
+
height: '100%',
|
|
126
|
+
theme: getTheme(),
|
|
127
|
+
datafeed: df,
|
|
128
|
+
templateDataProvider: templatesDummyDataProvider,
|
|
129
|
+
marketEventsDatafeed: new MarketEventsDatafeed(),
|
|
130
|
+
instrument: {
|
|
131
|
+
symbol: "EUR/GBP",
|
|
132
|
+
exchange: "FOREX",
|
|
133
|
+
company: "",
|
|
134
|
+
tickSize: 0.00001
|
|
135
|
+
},
|
|
136
|
+
supportedTimeFrames: ['1 Minute', '5 Minutes', '15 Minutes', '1 Hour',
|
|
137
|
+
'4 Hours', '1 Day', '1 Month', '1 Year'
|
|
138
|
+
],
|
|
139
|
+
timeFrame: { interval: 1, periodicity: FintaChart.Periodicity.DAY },
|
|
140
|
+
tradeHandler: (values) => { // place order handler
|
|
141
|
+
alert('Place order: ' + JSON.stringify(values));
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
chart = window.globalChart = $(config.chartContainer).FintaChart(config);
|
|
146
|
+
window.globalChart.exchanges = () => (['FOREX', 'CRYPTO'])
|
|
147
|
+
|
|
148
|
+
const arrowShape = new FintaChart.MultiArrowUpShape({id: '33654', })
|
|
149
|
+
arrowShape.points[0] = new FintaChart.DataPoint({
|
|
150
|
+
date: new Date(2018, 9, 4, 5, 59),
|
|
151
|
+
value: 0.87,
|
|
152
|
+
});
|
|
153
|
+
|
|
154
|
+
arrowShape.locked = true;
|
|
155
|
+
arrowShape.selectable = false;
|
|
156
|
+
arrowShape.count = 30;
|
|
157
|
+
arrowShape.labelText = '55 @ 0.044';
|
|
158
|
+
|
|
159
|
+
window.globalChart.primaryPane.addShapes(arrowShape);
|
|
160
|
+
|
|
161
|
+
const arrowShapeDown = new FintaChart.MultiArrowDownShape({id: '33654', })
|
|
162
|
+
arrowShapeDown.points[0] = new FintaChart.DataPoint({
|
|
163
|
+
date: new Date(2018, 9, 4, 5, 59),
|
|
164
|
+
value: 0.889,
|
|
165
|
+
});
|
|
166
|
+
|
|
167
|
+
arrowShapeDown.locked = true;
|
|
168
|
+
arrowShapeDown.selectable = false;
|
|
169
|
+
arrowShapeDown.count = 30;
|
|
170
|
+
arrowShapeDown.labelText = '987 @ 0.002';
|
|
171
|
+
|
|
172
|
+
window.globalChart.primaryPane.addShapes(arrowShapeDown);
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
function getTheme() {
|
|
177
|
+
const urlParams = new URLSearchParams(window.location.search);
|
|
178
|
+
const themeName = urlParams.get('theme') || '';
|
|
179
|
+
|
|
180
|
+
switch (themeName.toLowerCase()) {
|
|
181
|
+
case 'fintatech':
|
|
182
|
+
return fintatechDarkTheme;
|
|
183
|
+
case 'dark':
|
|
184
|
+
return darkTheme;
|
|
185
|
+
case 'beet':
|
|
186
|
+
return beetTheme;
|
|
187
|
+
case 'gray':
|
|
188
|
+
return grayTheme;
|
|
189
|
+
case 'olive':
|
|
190
|
+
return oliveTheme;
|
|
191
|
+
case 'orange':
|
|
192
|
+
return orangeTheme;
|
|
193
|
+
case 'purple':
|
|
194
|
+
return purpleTheme;
|
|
195
|
+
case 'sky':
|
|
196
|
+
return skyTheme;
|
|
197
|
+
case 'teal':
|
|
198
|
+
return tealTheme;
|
|
199
|
+
default:
|
|
200
|
+
return defaultTheme;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
function addEvents(events) {
|
|
205
|
+
chart.calendarEventsManager.addEvents(events);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
function removeEvents(ids) {
|
|
209
|
+
chart.calendarEventsManager.removeEvents(ids);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
function updateEvents(events) {
|
|
213
|
+
chart.calendarEventsManager.updateEvents(events);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
function addPatterns() {
|
|
217
|
+
chart.addIndicators(new FintaChart.PatternsIndicator());
|
|
218
|
+
chart.refresh();
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
function addZigZag() {
|
|
222
|
+
chart.addIndicators(new FintaChart.ZigZagIndicator());
|
|
223
|
+
chart.refresh();
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
</script>
|
|
227
|
+
</body>
|
|
228
|
+
|
|
229
|
+
</html>
|