<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>12 Sep 2015 16:54:00 Z</lastBuildDate><pubDate>12 Sep 2015 03:24:00 Z</pubDate><description>Hi,&#13;
&#13;
In WD20 I am trying to create a chart report. Everything is working fine except for the life of me I can not figure out how to get the category labels to display at bottom of report.&#13;
&#13;
Here is my code.&#13;
&#13;
nSeries is int&#13;
nValue is currency&#13;
HExecuteQuery(Query_DestinationByType,hQueryDefault,1)&#13;
HReadFirst(Query_DestinationByType)&#13;
&#13;
WHILE NOT HOut(Query_DestinationByType)&#13;
&#13;
nSeries=nSeries+1&#13;
&#13;
HExecuteQuery(Query_Booking_History_byDestination,hQueryDefault,Query_DestinationByType.DestinationID)&#13;
HReadFirst(Query_Booking_History_byDestination)&#13;
WHILE NOT HOut(Query_Booking_History_byDestination)&#13;
&#13;
nValue=nValue+Query_Booking_History_byDestination.Total_Price&#13;
&#13;
HReadNext(Query_Booking_History_byDestination)&#13;
&#13;
END&#13;
&#13;
&#13;
grCategoryLabel(CHART_SalesByRegion,nSeries,Query_DestinationByType.Name)&#13;
&#13;
grAddData(CHART_SalesByRegion,nSeries,1,nValue)&#13;
&#13;
HReadNext(Query_DestinationByType)&#13;
nValue=0&#13;
END&#13;
&#13;
&#13;
grDraw(CHART_SalesByRegion)&#13;
&#13;
Any idea what I'm doing wrong?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53970-category-labels-chart-reports/read.awp</link><title>Category Labels on Chart Reports</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53970-category-labels-chart-reports-53972/read.awp</comments><pubDate>12 Sep 2015 16:54:00 Z</pubDate><description>I was confusing "series" with "categories". Series are are subsets of categories. Once I changed&#13;
&#13;
grAddData(CHART_SalesByRegio…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53970-category-labels-chart-reports-53972/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53970-category-labels-chart-reports-53972/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53970-category-labels-chart-reports/read.awp">Category Labels on Chart Reports</source><title>Re: Category Labels on Chart Reports</title></item></channel></rss>
