<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Clomosy | Forum : CHART</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : CHART]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 14:38:25 +0000</pubDate>
  <lastBuildDate>Wed, 21 Aug 2024 14:32:27 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=899</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Clomosy | Forum]]></title>
   <url>https://forum.clomosy.com.tr/forum_images/logo.png</url>
   <link>https://forum.clomosy.com.tr/</link>
  </image>
  <item>
   <title><![CDATA[CHART : Merhaba &#304;smail,B&#252;t&#252;n kodunu payla&#351;&#305;r...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=899&amp;PID=1721#1721</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=106">Developer</a><br /><strong>Konu:</strong> 899<br /><strong>Gönderim Zamanı:</strong> 21&nbsp;Ağustos&nbsp;2024 Saat 14:32<br /><br />Merhaba İsmail,<div>Bütün kodunu paylaşır mısın?&nbsp;</div>]]>
   </description>
   <pubDate>Wed, 21 Aug 2024 14:32:27 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=899&amp;PID=1721#1721</guid>
  </item> 
  <item>
   <title><![CDATA[CHART : void sumgiriscikis;var  Qry,Qry2:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=899&amp;PID=1711#1711</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=216">ismail</a><br /><strong>Konu:</strong> 899<br /><strong>Gönderim Zamanı:</strong> 21&nbsp;Ağustos&nbsp;2024 Saat 11:23<br /><br /><div>void sumgiriscikis;&nbsp;</div><div>var&nbsp;</div><div>&nbsp; &nbsp; Qry,Qry2: TClSQLiteQuery;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; values2:String;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>{</div><div>&nbsp; &nbsp; try&nbsp;</div><div>&nbsp; &nbsp; &nbsp;FRow = myform.ClSenderRow;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;values2=FloatToStr(StrToFloat(clProGrid.GetCellValue(2,FRow))*StrToFloat(clProGrid.GetCellValue(3,FRow))*StrToFloat(clProGrid.GetCellValue(6,FRow)));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Qry = Clomosy.DBSQLiteQueryWith('SELECT SUM(CAST(REPLACE(StokGirisMiktarı, ",", ".") AS FLOAT)) AS Total FROM girislogdatabase18 WHERE ID=' + QuotedStr(values2));</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; Qry.OpenOrExecute;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (Qry.Found)&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Toplamı al</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; totalSumgiris = Qry.FieldByName('Total').AsString;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage(totalSumgiris);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Sonuçları bir mesaj penceresinde göster</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Bu ID ye ait veri bulunamadı ');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('&#091;01&#093; Exception Class: ' + LastExceptionClassName + ' Exception Message: ' + LastExceptionMessage);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; Qry2 = Clomosy.DBSQLiteQueryWith('SELECT SUM(CAST(REPLACE(StokÇıkışMiktarı, ",", ".") AS FLOAT)) AS Total FROM cıkısslogdatabase3 WHERE ID=' + QuotedStr(values2));</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; Qry2.OpenOrExecute;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (Qry2.Found)&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Toplamı al</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; totalSumcikis = Qry2.FieldByName('Total').AsString;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Sonuçları bir mesaj penceresinde göster</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Bu ID ye ait veri bulunamadı ');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('&#091;01&#093; Exception Class: ' + LastExceptionClassName + ' Exception Message: ' + LastExceptionMessage);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>void ChartFormOpen;</div><div>var&nbsp;</div><div>chart:TCLChart;</div><div>simpleJSONStr:String;</div><div><br></div><div>{</div><div>&nbsp; ChartForm=TclGuideForm.Create(self);</div><div>&nbsp;&nbsp;</div><div>&nbsp;</div><div>&nbsp; &nbsp;chart = ChartForm.AddNewChart(ChartForm,'testChart','Stock Chart');</div><div>&nbsp; &nbsp;chart.Align=alMostTop;</div><div>&nbsp; &nbsp;//chart.margins.Top=100;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;/* chartkalanlabel=ChartForm.AddNewProLabel(ChartForm, 'chartkalanlabel', 'Kalan');</div><div>&nbsp; clComponent.SetupComponent(chartkalanlabel,'{"Align":"Bottom","TextBold":"yes","TextSize":20,"MarginBottom":220,"MarginLeft":40}');</div><div>&nbsp; &nbsp;chart.SetInteractionPanning(True);*/</div><div>&nbsp;sumgiriscikis;</div><div>&nbsp;simpleJSONStr = '&#091;{ "StockType": "Giriş","Total": ' + totalSumgiris + ',"color":"clOrange"},' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'{ "StockType": "Çıkış","Total": ' + totalSumcikis + ',"color":"clPink"}&#093;';</div><div>&nbsp;&nbsp;</div><div>&nbsp; chart.Charttype = clCBar;</div><div>&nbsp; &nbsp; chart.XAxisText = 'StockType';</div><div>&nbsp; &nbsp; chart.ChartItemText = 'Stok Miktarı';</div><div>&nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; chart.ChartItemsValue = 'Total';</div><div>&nbsp; &nbsp; chart.ChartTitle = 'Stok Giriş/Çıkış';</div><div>&nbsp; &nbsp; chart.clLoadDataFromJSONStr(simpleJSONStr);</div><div>&nbsp; &nbsp; chart.Margins.Left=15;</div><div>&nbsp; &nbsp; chart.Margins.Right=15;</div><div>&nbsp; chart.SetAutoXRange(2);</div><div>&nbsp; chart.SetInteractionPanning(True);</div><div>&nbsp;&nbsp;</div><div>&nbsp; ChartForm.Run;</div><div>&nbsp;&nbsp;</div><div>} CHARTFORMOPEN bir butona bağlı ve list index out of bounds (0) hatası alıyorum</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 21 Aug 2024 11:23:48 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=899&amp;PID=1711#1711</guid>
  </item> 
 </channel>
</rss>