<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>17 Jul 2015 17:57:00 Z</lastBuildDate><pubDate>17 Jul 2015 17:57:00 Z</pubDate><description>I have some charts that get refreshed every time I choose an item from a combobox.&#13;
&#13;
When I load up Item1 the chart has a Max Y Axis of 1200 which fits the chart nicely.&#13;
When I switch to Item2 the Max Y Axis goes to 3000 and fits the chart nicely.&#13;
But when I go back to Item1 the Max Y Axis stays at 3000.&#13;
&#13;
Is this a bug? Is there an easy way to fix this? A description setting I'm not seeing? It looks like ..YAxisMax is read only.&#13;
&#13;
Relevant Code:&#13;
grMask(CHART_NoName1,grMaskPercent, "99.99%") grLabel(CHART_NoName1,grShowLabel,True) grLabel(CHART_NoName1,grShowPercent,True) grTooltip(CHART_NoName1, grTooltipFormatPie, "[%VALUE%] items in " + "[%CATEGORY%]") CHART_NoName1[1]..SeriesColor = RGB(255,191,105) IF HExecuteQuery(QRY_Items,hQueryDefault,gnCurrentItemID) THEN FOR EACH QRY_Items grAddData(CHART_NoName1, 1, HRecNum(), QRY_Items.Count) grCategoryLabel(CHART_NoName1, HRecNum(), QRY_Items.Name) bChartHasData = True END IF bChartHasData = False THEN CHART_NoName1..Visible = False STC_ErrorMessage..Visible = True ELSE CHART_NoName1..Visible = True STC_ErrorMessage..Visible = False END grDraw(CHART_NoName1) ELSE</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53119-wd20-charts-getting-right-max-axis/read.awp</link><title>[WD20] Charts - Getting the right Max Y Axis</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
