on 05-26-2008 1:34 PM
Hi,
I have a Custom chart with the Pen Type as Line.
If I plot a numerical values as the X-axis, the X-axis ranges do not come as expected.
e.g. If my data comes as shown below and I am plotting column A on the X-axis, then the
X-axis labels would read as 6,8,5,4,3.
Column A
8
6
5
4
3
When I plot a Line Chart with the same data, the X-axis labels come properly in order(3,4,5,6,8).
If I do an explicit sort on the X-axis column, then the Custom Chart gets plotted correctly, but the requirement is such that I cannot do an explicit sort on the dataset.
Can anybody help me out on this?
Thanks,
Amrita
The chart will plot them in data set order, so that is what you need to address. If your dataset is coming from an SQLQuery then do your sorting in the query or procedure. For non-sql results consider using the GenericSortFilter.xsl as an InlineTransform in your query template, or the sort filter action block in BLS if your chart is being fed by an XacuteQuery.
Regards,
Jeremy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
H Amrita,
Are you sure that the query is returning data in sorted order? Please check that.
Regards,
Musarrat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.