SergeyT Report post Posted February 16, 2012 (edited) Hi. Please, tell me if it is possible to manage the distances between vertical lines on a scatter chart? In most cases scatter looks good, but in several cases (jpeg and xml attached) I would like to refine the view. I want to spread these lines on whole chart area (see good_scatter.jpg) Thank you. chart_scatter.txt Edited February 16, 2012 by SergeyT Share this post Link to post Share on other sites
Guest Sumedh Report post Posted February 16, 2012 Greetings. Try to set 'x' attribute under the category element. Please refer the following code: Ref. Code: <chart .....> <categories> <category label='5180' x='5040' showVerticalLine='1' /> <category label='5195' x='5080' showVerticalLine='1' /> </categories> <dataset>... </dataset> </chart> Please note, you can show the same labels for the category elements, you would only need to change the value of 'x' attribute. Please find attached screenshot for your reference with this reply. Hope this helps. Share this post Link to post Share on other sites
SergeyT Report post Posted February 16, 2012 Thank you very much for an answer. Could you attach the xml-data for your sample, please. (I try to get suitable x-valus, but unsuccessfully for now) Share this post Link to post Share on other sites
Guest Sumedh Report post Posted February 16, 2012 Hi. Please find attached modified XML file of your requirement with this reply. Hope you have a great day. Happy FusionCharting ! chart_scatter.txt Share this post Link to post Share on other sites
SergeyT Report post Posted February 17, 2012 Hello. It seems, maually setting of x-values is not suitable solution for me. My algorytm of vertical lines is simple and following: I bring minimal x-value (minimal from all points on chart), maximal x-value and make 10 lines between them with corresponding step. In good case, lines begins from the left side of chart (pic 2 in base post) In bad case lines begins somewhere in middle and ends also in the middle area (pic 1). I can not see any reason why these lines couldn't be started from the left side (like in pic2). Why they are concentrated in the middle? So, to clarify the question. What should I do to have vertical lines spreaded among whole chart area but have my x-values not changed. Share this post Link to post Share on other sites
Guest Sumedh Report post Posted February 17, 2012 Hi, Please try to set xAxisMinValue and xAxisMaxValue attributes under the chart element. Ref code: <chart ... xAxisMinValue='5180' xAxisMaxValue='5330'> This would solve your purpose. Hope this helps. Share this post Link to post Share on other sites
SergeyT Report post Posted February 20, 2012 Yes. That's what I need. Thank you very much. FusionCharts support is the best! Share this post Link to post Share on other sites
Guest Sumedh Report post Posted February 20, 2012 Yes. That's what I need. Thank you very much. FusionCharts support is the best! Hi, I am glad that, solution worked. And thanks a lot for the compliments. Happy FusionCharting ! Share this post Link to post Share on other sites