How to change order of split field on chart

  • 1
  • Question
  • Updated 4 months ago
  • Answered

I have this chart on a page to show Leads by Status. I just want to reverse the order of Status so it follows the logical path. I want 'New' furthest to the left (not right), then 'Called' etc. How can I do this? Totally stumped here. Thanks!
Photo of Matthew Ritter

Matthew Ritter

  • 132 Points 100 badge 2x thumb

Posted 4 months ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Add a snippet to the chart and include the following.


var chartObj = arguments[0],
    $ = skuid.$;

$.extend(true,chartObj.yAxis[0],{
    reversedStacks: false
});    
Photo of Matthew Ritter

Matthew Ritter

  • 132 Points 100 badge 2x thumb
Where do I add the snippet exactly?
Photo of Matthew Ritter

Matthew Ritter

  • 132 Points 100 badge 2x thumb
Ah figured it out and got it to work, thank you!