Need help with Pivot graph data ordering on x axis

In above image, the highlighted values needs to be ordered based on year but it always orders the data based on month. We tried multiple suggestions available on forum but nothing is working. We did not find option to pass the value to use for ordering. Please help.

Below is the configuration we are using for graph creation:
“{"cols": ["CloseExamMonth","CloseExamYear"],"rows": ["FindingType"],"aggregatorName": "Count","rendererName": "Bar Chart"}”

Hi @SwapnilS welcome to the forums.

I don’t know about JS, but it seems that the values on the x-axis are interpreted as strings, not date strings.

Maybe this helps: