Quantcast
Viewing all articles
Browse latest Browse all 16689

Simple Bar Chart...

Hi,
I'm using CDE to design a dashboard following these steps:
1) Create a new dashboard and save it2) Add a new row (R1) to the dashboard
3) Create a datasource (QRY):


Code:

SELECT
PRODUCTS.PRODUCTLINE,
ORDERFACT.YEAR_ID,
SUM(ORDERFACT.TOTALPRICE)
FROM PRODUCTS INNER JOIN ORDERFACT ON PRODUCTS.PRODUCTCODE = ORDERFACT.PRODUCTCODE
WHERE ORDERFACT.YEAR_ID > 2003
GROUP BY
ORDERFACT.YEAR_ID,
PRODUCTS.PRODUCTLINE
ORDER BY
ORDERFACT.YEAR_ID ASC,
PRODUCTS.PRODUCTLINE ASC

4) Add CCC Bar Chart
5) Set the Bar Chart Datasource to QRY
6) Set the HTML object to R1

When I run the preview this is the result:

bar.jpg:

I expected to see year 2004, 2005 on the rows according this query output:

qry.JPG

Is there some additional attribute/property to be set?
Thanks!
Attached Images
  • Image may be NSFW.
    Clik here to view.
    File Type: jpg
    bar.jpg (13.1 KB)
  • Image may be NSFW.
    Clik here to view.
    File Type: jpg
    qry.JPG (30.4 KB)

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>