nomori Report post Posted May 27, 2010 "valueOnRight" does not work on MSCombiDY2D.swf Why doesn't work? Where should be searched for? xmlcode: Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted May 27, 2010 Hi Nomori, Welcome to FusionCharts forum. The attribute 'valueOnRight' determines whether to show the trend line value on left side or right side of chart. This is particularly useful when the trend line display values on the chart are colliding with divisional lines values on the chart. In case you wish to display the display value of the Trendline on the Rught side of the canvas, please try setting the attribute 'valueOnRight' in the <trendline> element to '1'. Ref.- <trendLines> <...valueOnRight='1'/> </trendLines> For further details please refer to the link below:- Ref.- http://www.fusioncharts.com/docs?/ChartSS/Combi2DDY.html Hope this helps. Share this post Link to post Share on other sites
nomori Report post Posted May 27, 2010 (edited) Hi!Basundhara Ghosal thank you for your reply. but It doesn't work well though the attribute was set as follows as say by you. Besides, is there a setting that should be done? Is the order that it is necessary to describe the attribute is provided? Or, when it is an evaluation version, has the function been limited? my XmlCode is: <chart showValues='0'> <categories> <category label='Sales'/> <category label='FoodCost'/> <category label='LaborCost'/> <category label='MiscCost'/> <category label='Profit'/> </categories> <dataset seriesName='lastyear'> <set value='12237674' /> <set value='3069476' /> <set value='3472187' /> <set value='0' /> <set value='5696011' /> </dataset> <dataset seriesName='thisyear'> <set value='9941934' /> <set value='2498975' /> <set value='2883477' /> <set value='0' /> <set value='4559482' /> </dataset> <dataset seriesName='vs' renderAs='column' parentYAxis='S'> <set value='81.2403893092756' /> <set value='100.21337151454' /> <set value='102.221297453575' /> <set value='' /> <set value='80.0469310891429' /> </dataset> <trendLines> <line valueOnRight='1' startValue='100' color='FF0000' displayValue='100' dashed='1'/> </trendLines> </chart> Edited May 27, 2010 by Guest Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted May 28, 2010 Hi, In case you are using Dual Y-axis Charts, please try setting the value of the 'parentYAxis' attribute of the <trendlines> element to 's' to display the trendvalue for the secondary Y axis. Ref.- <trendLines> <line startValue='100' color='FF0000' displayValue='100' dashed='1' parentYAxis='S'/> </trendLines> The trendvalue for the primary axis gets displayed by default. Please refer to the sample that we are sending you as an attachment. Hope this helps. valueonright_MSCombi2DDY.zip Share this post Link to post Share on other sites
nomori Report post Posted May 28, 2010 It have been done! Thank you so much for your help. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted May 28, 2010 Hi, You are most welcome. Glad that your issue is resolved. Keep smiling and keep FusionCharting. Share this post Link to post Share on other sites