How to force legend to stay in a Specific order

I have two questions:

1. Is there a way to sort the legend in a specific order and have it stay that way? 

I would like it to be as follows:

A

B

C

D

F

 

But I am having trouble finding the option in chart properties.

 

2. There is also an extra option in the key that is showing up that doesn't apply to anything. Is there a way to get rid of that?

 

I have attatched a screen shot for better understanding

Best Answer

Answers

  • Normally I will use 2 sorts to achieve this. 


    If your X axis is your date range, first add your date value to your sort (to keep that from getting messed up). Then add a 2nd sort for your Series value. That will allow you to set it Ascending or Descending alphabetical order.

     

    Hope that helps,

    Valiant

  • Hello,

     

    Yes, drag your series into the "sorting" section and to get rid of the unwanted value, drag your series in the "filters" section and choose "Not In" and then select the blank value.

     

    Hope this helps

     

    Brian

     

    **Please mark "Accept as Solution" if this post solves your problem
    **Say "Thanks" by clicking the "heart" in the post that helped you.

  • When I add my series to the sort section it is only altering the table setup and the order it is stacked in. But it is not changing the legend order. Any advice on that?