Indicator config dialogue
Fixed
- Export chart snapshot - main pane position, divider line colour
Added
- Export chart snapshot with watermark
Fixed
- Divider width on global_resize
- Menu y positioning on global_resize
Fixed
- Menu x positioning on global_resize
Fixed
- Divider styling
Fixed
- Spurious import causing failure
Added
- Chart Pane - collapse, expand
Updated
- Indicator - Legend - controls
Updated
- Chart Pane - Legend - controls - icons hover highlight
Updated
- Chart Pane - Legend - controls - icons display
Fixed
- Indicator AROON - legends - nicePrice()
- Chart Pane Pairs - resize (divider)
Added
- Indicator - AROON
Updated
- Documentation
Fixed
- Menu positioning on chart resize
Added
- Tools - node
- idSanitize()
0.137.4 - 2023-08-10
Fixed
- Chart-Events - variables
- Chart-Events & Chart-Trades - using wrong hit layer
0.137.3 - 2023-08-10
Fixed
- Chart Trades - pixel perfect hit detection
- Documentation
0.137.2 - 2023-08-08
Fixed
- Chart Image Export - yAxis positioning
Added
- Chart to image URL
toImageURL()
- Image download and data URL, image type options
0.137.0 - 2023.08-08
Added
- Chart Image Snapshot Download
- CEL - layer composition
0.136.0 - 2023-08-05
Added
- High Low Marker
0.135.0 - 2023-08-02
Added
- Overlay - News Events
Changed
- Config - trades, events - moved into primary drawings moved into primary and secondary
Added
- svgToImage()
- isSVG()
0.134.1 - 2023-07-31
Fixed
- Dialogue window (not implemented message) opening when it shouldn't
[0.134.0]/(https://github.com/tradex-app/TradeX-chart/commit/91c9b3b649f6b5972ec8d51caddbcf41a9eddc39) - 2023-07-31
Added
- Trades - Overlay
0.133.0 - 2023-07-30
Added
- Legends - show / hide all
0.132.3 - 2023-07-29
Fixed
- Widgets - window
- Streaming candle range auto increment
- FireFox render SVG to canvas
0.132.2 - 2023-07-25
Fixed
- addChartIndicator()
0.132.1 - 2023-07-22
Fixed
- Config - range - center option
0.131.1 - 2023-07-21
Added
- Merge Indicator data
Fixed
- rangeStart
Changed
- Timeline - navigation - hidden by default
- State - mergeData - object requires "ohlcv" instead of "data"
- Automatic indicator calculation on merge = true to enable
Added
- Indicator - invokeConfig()
- Indicator - settings()
Added
- Indicator - visibility
Changed
- Use shorter API path - chart.chartPanes instead of chart.MainPane.chartPanes
Added
- Indicators - add via api
- Indicators - remove via api or chart GUI
- Indicators - re-order via api or chart GUI
Fixed
- Price Y Axis scale smooth scaling with mouse pointer
Changed
- Divider - drag - refactored from MainPane to chart pane resize()
- Cursor - set, get refactored
FIXED
- Divider - drag - display
Added
- Indicators - remove via API and GUI
Changed
- ChartPane - guard - no remove primary, no user destroy()
Fixed
- Legend - properly remove icon events
- Indicators - remove legend on destroy()
Changed
- Chart View - remove via API and legend icon
Fixed
- Cleaned up event unsubscribing
- StateMachine - unsubscribe incorrect function reference
- StateMachine configs now provide id
- further id sanitation throughout TradeX
Added
- Legend Controls - re-order chart panes
- xMap()
Changed
- Chart.js - now provides both onChart offChart
- Reorganize canvas helper functions
- IDs - standardized throughout TradeX component
- console output moved to internal methods
Fixed
- Property Naming clean up - ID -> id for standardization
- Legends - refactored which() into onMouseClick()
- Legend - title
- Pane / View sizing issue
- Divider - pointer over / enter
Added
- chart padding, the space above and below the candle range can now be set via the config.
Added
- Theme - setProperty, getProperty using path "candle.Type"
- isTouch - touch device flag
- Legends - set deselect on chart drag
Fixed
- Pointer drag , and move events that start within the chart and cross outside of it.
- Chart Cursor - crosshair, X and Y scale cursor positioning
Added
- Mjolnir integration - touch device support
- Keys - cursor up / down set chart zoom
- Config Options - disable: time navigation, legend controls
Fixed
- Mouse Left Zoom Lock - prevent unintended zoom on touch pads
- timeline tick rendering
- Chart Cursor - crosshair, X and Y scale cursor positioning
Fixed
- Theme - list, hot swapping, modify values, delete
- Divider - uses theme definition
- Off Chart - separator (top border) uses theme definition
- Candles - use current theme definition
Added
- chart state export - chart.state.exportState()
Fixed
- incorrect Rows size on chart starting with fixed size
Fixed
- customElements.define() - define once
Fixed
- replaced constructor.name comparisons with instanceof, to eliminate issue with minify changing class names
Added
- Custom Indicators
Fixed
- TALib - indicator history calculation on chart.start() now queued until talib is ready
Added
- Indicator API
- Indicators - calculate indicators on mergeData()
Fixed
- edge case empty scaleGrads
- min chart heightt - accounts for Utils bar
- mergeData()
Added
- Legends - optional labels
Fixed
- Indicator - Bollinger Bands - legend
Added
- Indicator - calculate back history on start if not provided in the config state
- TALib - async ready status now implemented
- TALib - function input output definitions to ensure correct data in / out
- Indicators - can use TALib input output definitions
Fixed
- Indicators - fixed range pointers for back history and live price stream
- Indicators - BB, DMI, EMA, RSI, SMA - data length check on draw()
Added
- User Defined Chart Alerts - invoked via API or config
Changed
- Refactored onChart and offChart code out to chart parent class
Fixed
- Y Scale grads sync to current range
- Y Scale price line default width
Added
- Event - STREAM_FIRSTVALUE
Fixed
- X grid sync timeline on streaming
Changed
- Timeline - now uses Graph to manage overlays
Changed
- Scale - now uses Graph to manage overlays
Changed
- Obsolete input Controller removed and replaced with Input class
Fixed
- Update (draw() render()) on/offCharts on setDimensions() (resize)
Fixed
- Time scale drag to zoom candle history range
Fixed
- Centering on first stream candle of empty chart
Fixed
- Stream - ensure tick values are numbers
Added
- Watermark
Fixed
- Stream - current candle / time frame count down calculation
Added
- Stream - current candle / time frame count down option on Axis
Added
- Utils Bar - enable / disable
Added
- Tool Bar - enable / disable
Changed
- Chart now expects Kline data for price stream
- Chart exports class Overlay for external Overlays
- Chart exports class Indicator for external Indicators
- All Overlays now extend from class Overlay
Fixed
- Components - views (web components) - resizing
Fixed
- Stream - live candle positioning
Added
- Scale - yAxis - dynamic gradation placement option added to the fixed option
Fixed
- FIXED: Chart X Grid on zoom - now updates
Fixed
- Stream - new candle creation time - now matches chart time frame
Added
- Live Stream - stream candle
Added
- Live Stream - Scale - Price Line indicator
Added
- CHANGELOG.md
Changed
Fixed
- Time Line cursor layer width
Added
- Reactive Resize - chart can be hooked up to an event that watches for an element size change and force a chart resize, making it reactive.
Changed
Fixed
Added
Changed
Fixed
- Divider / Splitter - prevent drag select while moving
Added
- State Machine - Actions
Changed
Fixed
- Divider / Splitter - minimum row height limit on resize
Added
- Chart Rows - Chart and Off Chart - now resize on divider / splitter drag
Changed
Fixed