|
From: Ker A. N. <ker...@gm...> - 2011-01-11 21:31:19
|
Hi, I use gnuplot to draw candlestick chart images. When they are being plot, the space between each candlestick is either 2 or 3 pixels. How can I change that so the pixel width between candlesticks is always the same? I need it that way because I am writing a web page that will recognize on which candlestick the user made a click. So if the image is , say 500 pixels and the user clicked at the image with coordinate X=100 , provided that the width of the candlestick is 5 pixels (which is always the same from what I have been testing), that was a click at the candle number 20 (100/5=20) Will appreciate any ideas on how to do this. Regards Ker |