Sign in to follow this  
tolgagu@garanti.com.tr

COMBI3D LEGEND

Recommended Posts

Hi I'd like to chnage the legend order in a COMBI3D chart. I have 2 lines and 1 bar on the chart. When I put reverseLegend='1' it doesn't change the legend order.

Also, is it possible to changethe order of the legends at the bottom of the chart modifying the .xml?

Thanks,

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

 

 

 

Could you try shifting the order of the datasets in your XML code?

 

That should result in the exchange of the legend values.

 

 

 

Also, could you send us your XML so that we might take a closer look?

 

 

 

I hope this helps. :)

Share this post


Link to post
Share on other sites

I did it was no use unfortunately. It puts the lines first then the bar in the legend, so I can change the order of the legends for the lines but the bar always comes as the last in the legend.. I want the bar as the first in the legend..

I am attaching the xml. In the chart I want in musteri, bolge, banka order.

<chart palette="3" caption="KARAR - Karsilastirmali Net Gelir ve

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello again,

 

 

 

The <chart... reverseLegend="1" ...> should work fine in switching the legend values.

 

In case your version is not updated, could you please check the following link for updates and try again?

 

 

 

http://fusioncharts.com/PUC

 

 

 

Also, a workaround to this is: Change the dataset order. Could you please refer to the attached XML and check whether this is the solution you are looking for?

 

 

 

I hope this helps.

data.xml

Share this post


Link to post
Share on other sites

Hi Rajroop,

The attached xml didn't solve the problem. I think the problem is this: In this case where I have 2 lines and 1 bar on the COMBO3D chart, FusionCharts puts the lines first then the bar in the legend. If I have

<dataset seriesName="A"  >

<dataset seriesName="B" renderAs = "Line" >

<dataset seriesName="C" renderAs = "Line" >

The order is C, B, A in the legend. First the lines (last one is shown first) then the bar.

reverseLegend="1" did not make any change in the legend order in my case.. At least when I have 2 lines and a bar on a COMBI3D chart.

Share this post


Link to post
Share on other sites

Hello,

 

 

 

Are you using the updated version of FusionCharts?

 

 

 

In case you are not, can you please go to the following link and update it?

 

 

 

http://fusioncharts.com/PUC

 

 

 

After you have updated please try setting:

 

 

 

<chart reverseLegend='1'...></chart>

 

 

 

Hope this works.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this