Open MariiieP opened 3 months ago
Panning can be achieved with xAxis.min and xAxis.max - Demo
this issue is not a Bug or a Feature, but a "how-to" question 🚩 Please follow Official posting guidelines (below). This is not a good place to ask questions about usage, "how to" or extensive debugging assistance.
The issue list is reserved exclusively for bug reports and feature requests. For usage questions, please use the following resources:
Another good resource is website makeapie.cn with many code examples.
I already wrote above, min / max does not work, as start, rangeMode. The data needs to be requested AFTER scrolling the axis, pls look at the ER carefully.
more detailed example:
ctrl
(or using another hotkey) and scroll the axis to the left (backward along the time axis) or to the right (forward along the time axis) for two (or 30min/1day/2 week etc) hours. Now the time is: -h2,-h1,h0 // h2,h3,h4 also, you do not know what data you will receive, what min/max you will have.
@helgasoft
Version
5.5.1
Steps to Reproduce
I want to shift the data on the axis beyond the date. After the shift, get new data and redraw the data on the graph. See ER.
I tried to do this using the current capabilities and attaching the configuration below. If you set a large percentage, it starts to work in a similar way. But it is unrealistic to select a percentage for the gap between the data every time Also, this solution allows you to shift the axis only in one direction, and not in two at once.
Example:
Current Behavior
I can't achieve this behavior at the moment. rangeMode allows you to change the axis only inside the current segment 0-100. Behavior with the configuration above:
Expected Behavior
ER:
The highcharts library allows you to do this:
simplified example: https://jsfiddle.net/BlackLabel/uab5mw0d/
Environment
Any additional comments?
Is it possible to achieve ER with current capabilities?