|
Allowing for blank space on FinanceChart |
Posted by Peter W on Jul-26-2019 18:34 |
|
Peter,
Currently the FinanceChart plots data right up to the right side y-axis. I would like to be able to leave some space between the final data point and the y-axis for some additional information.
What is the best way to do this?
Thanks
Peter |
Re: Allowing for blank space on FinanceChart |
Posted by Peter Kwan on Jul-29-2019 19:48 |
|
Hi Peter,
One of the methods is to simply extend the timestamps array by adding more elements. For example, you can add 3 more elements to the timestamps with the same value as the last timestamp. In this case, the x-axis will be extended for 3 more positions, but nothing will be plotted there as the other arrays (high, low, open, close, vol) are not extended.
See:
https://www.chartdir.com/forum/download_thread.php?bn=chartdir_support&thread=1169111664
Regards
Peter Kwan |
|