Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
sort BarGraph on each set of data
somnix
<p>Hi</p>
<p> </p>
<p>i m trying to make a bar char graph and to have a different order used on each bar.</p>
<p> </p>
<p>the only way to define the sorting was to create a group on brand name , so i have a group by brand because each brand has a different name. And then it's possible to make a sort based on a ranking column that i have in my dataSet.</p>
<p> </p>
<p>Everything work well except the fact that it sorting the group for all chart. Which means that it sort the series</p>
<p>and all bars of the graph have the same sort.</p>
<p> </p>
<div> </div>
<div>[sharedmedia=core:attachments:11473]</div>
<p> </p>
<p> </p>
<p>here is my graph configuration :</p>
<p> </p>
<p>
Find more posts tagged with
Comments
mwilliams
I don't know that you'll easily be able to do this, but I could be wrong.<br><br>Your best bet might be to create separate charts on the same scale with custom colors for each group so you can hide the legend in one chart. You'd also hide the scale on the right chart and try to make them appear to be in the same chart.
somnix
<p>Hi Michael,</p>
<p> </p>
<p>thanks for your answer,</p>
<p> </p>
<p>do you know a way to access to the data of the chart ?</p>
<p> </p>
<p>something to loop over the series and values ?</p>
mwilliams
You can access the series data set values in afterDataSetFilled in the chart script.
somnix
<p>thanks a lot for your help</p>