Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Sorting the X-axis on month name with optional Y-series grouping
Migrateduser
<p><span style="font-size:14px;">I have 2 columns in my data set: charmonth (Jan, Feb,...) and intmonth (1, 2, ...). I expected that it would sort correctly when using charmonth on the X-axis but sorting the X-axis on intmonth.</span></p>
<p><span style="font-size:14px;">I found some information telling me that the X-axis will always be sorted on whatever is displayed on the X-axis when optional Y-series grouping is used, so the intmonth should go on the X-axis and the label can be changed using the <span style="color:rgb(0,0,0);">beforeDrawAxisLabel function.</span></span></p>
<p><span style="font-size:14px;"><span style="color:rgb(0,0,0);">My problem is that I don't know the correct syntax of </span></span><span style="color:rgb(0,0,0);">beforeDrawAxisLabel to substitute the corresponding value of charmonth. Could anyone provide the correct script that will substitute the intmonth value for the charmonth value on the X-axis?</span></p>
Find more posts tagged with
Comments
There are no comments yet