Forum Discussion

OskariNi's avatar
OskariNi
Icon for Helper I rankHelper I
8 years ago
Solved

Categorical x-axis order

Hi all, 

 

I have a bar chart with categories as x-axis. The categories go from 0 to 94 but all the categories don't have values, which is why I want to use the categorical type. When I choose categorical the x-axis order changes. (left 94 and right 0) Can I change this order?

 

 

  • Hi OskariNi,

     

    It seems in the descend order. Did you try the function that is showed the snapshot?

    Categorical_x_axis_order

     

    Best Regards,

    Dale

1 Reply

  • v-jiascu-msft's avatar
    v-jiascu-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi OskariNi,

     

    It seems in the descend order. Did you try the function that is showed the snapshot?

    Categorical_x_axis_order

     

    Best Regards,

    Dale