Enhancements
- Improved pane API with several new methods and options:
- Added
addDefaultPaneoption to chart options, allowing creation of charts with no initial panes - Added
addPanemethod toIChartApifor programmatically adding panes - Added
setPreserveEmptyPaneandpreserveEmptyPanemethods to control empty pane behavior - Added
getStretchFactorandsetStretchFactormethods to control relative pane sizes - Added
addCustomSeriesandaddSeriesmethods toIPaneApifor creating series directly on a specific pane - Updated
getHTMLElementto returnnullwhen a pane hasn't been created yet - These improvements provide greater flexibility when working with multi-pane charts
(PR #1894, fixes #1898, #1896, #1872, #1907)
- Added
- Added additional price scale tick mark formatting capabilities:
- Added
formatTickmarksmethod toIPriceFormatterinterface - Added
tickmarksPriceFormatterandtickmarksPercentageFormatteroptions toLocalizationOptionsBase - Added
tickmarksFormatteroption toPriceFormatCustom - These new formatters provide all tick mark values at once, allowing for context-aware formatting decisions such as determining the optimal precision level needed
(PR #1903)
- Added