Forum Discussion

Martin_Machovec's avatar
Martin_Machovec
Regular Visitor
1 year ago
Solved

Graf Y axis data sorting

Got this graf but I want to switch the order of years on y axis from oldest beeing on the top to the lates on the bottom, so far i tried variaty of different aproches including adding new culumn and ...
  • dm-p's avatar
    dm-p
    1 year ago

    It can already be done in the core product. If you're using a numeric field, ensure that your axis field is set to Categorical rather than Continuous (which is the default for numeric columns), e.g.:

     

     

    This will ensure that the visual has a discrete entry on the scale for each unique value. Then, you can sort your field as usual, e.g.:

     

     

    The chart is now sorted in ascending order of year as required, e.g.:

     

     

    Regards,

     

    Daniel