Page 3 of 3
					
				Re: ChartGadget for bars and lines
				Posted: Thu Apr 24, 2014 3:43 pm
				by Danilo
				I see 4 "Download"-Buttons on this file hosting page, and it is all about advertisements.
Wouldn't it be possible to use 
OneDrive, 
DropBox, 
GitHub, 
Bitbucket, 
SourceForge?
 
			 
			
					
				Re: ChartGadget for bars and lines
				Posted: Thu Apr 24, 2014 4:42 pm
				by uwekel
				This is really disappointing 

 I didn't see that because of my AddBlocker. I attached the source code to the topmost post again.
 
			 
			
					
				Re: ChartGadget for bars and lines
				Posted: Fri Apr 25, 2014 7:54 am
				by Danilo
				uwekel wrote:I attached the source code to the topmost post again.
Thanks! Your source is open source, so at the end it's probably better to use
GitHub or Bitbucket for it. When you reach the forum limits...
 
			 
			
					
				Re: ChartGadget for bars and lines
				Posted: Sun Nov 09, 2014 10:06 am
				by roslansalleh
				Dear Uwekel I am trying using your chartgadget. It's very nice.
I tried to show only line graph so I commented 4 lines as below code and try to run but
the line didn't display on the graph. Why. Are there any flag I missed.
Code: Select all
    ;add some data rows
;     ChartRow(0, "Positive", #ChartRowTypeBar, $009060)     -------Commented
;     ChartRow(0, "Negative", #ChartRowTypeBar, $2020E0)     -------Commented
    ChartRow(0, "Average", #ChartRowTypeLine, $00D7FF, #ChartRowFlagValues)
    
    ;add some data columns
    For i = 1 To 12
      month.s = StringField("Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec", i, "|")
      ChartColumn(0, month)
      
      ;add a value for each row and column
      positive = Random(9, 1) * 10
      negative = Random(9, 1) * -10
;       ChartValue(0, "Positive", month, positive)     -------Commented
;       ChartValue(0, "Negative", month, negative)     -------Commented
      ChartValue(0, "Average", month, (positive + negative) / 2)
    Next
    
    ;refresh the chart
    ChartPaint(0)
Please help me.
 
			 
			
					
				Re: ChartGadget for bars and lines
				Posted: Sun Nov 09, 2014 10:31 am
				by uwekel
				It's a bug  

 The line row for its own does not widen the chart value range. I will fix it later this day!
 
			 
			
					
				Re: ChartGadget for bars and lines
				Posted: Sun Nov 09, 2014 2:49 pm
				by uwekel
				I fixed the bug and updated the code at top of this post.
Would you mind testing it?
			 
			
					
				Re: ChartGadget for bars and lines
				Posted: Mon Nov 17, 2014 2:44 pm
				by roslansalleh
				Yes. It's work now. Thanks Mr. Uwekel.
One more thing. When I resizing the window it's look like the program freeze for a while or not responding
for a little bit time. May be due to my laptop is too old.
Thanks.
			 
			
					
				Re: ChartGadget for bars and lines
				Posted: Sat May 30, 2015 1:53 am
				by ricardo
				Hi,
Is this code free for use in any application?
			 
			
					
				Re: ChartGadget for bars and lines
				Posted: Sat May 30, 2015 7:20 am
				by uwekel
				Yes, no problem.
			 
			
					
				Re: ChartGadget for bars and lines
				Posted: Sun May 31, 2015 1:14 am
				by ricardo
				Great!!
Thanks 

 
			 
			
					
				Re: ChartGadget for bars and lines
				Posted: Fri Feb 12, 2016 1:09 pm
				by agb2008
				uwekel:
Thank you for this great ChartGadget implementation !
Would it be possible to adjust ChartGadget (or create new one based on ChartGadget code) that would
allow to display 2D Graph ? I.e. array of X,Y values... Or there is already gadget that could display such graph ?
			 
			
					
				Re: ChartGadget for bars and lines
				Posted: Sat Apr 08, 2017 4:07 pm
				by mk-soft
				Thanks 
 
Small bugfix for MacOS with DrawingFont(...)  by ChartPaint(...)
Code: Select all
       ;create and measure font
        If \Font
          DrawingFont(\Font)
        EndIf
 
			 
			
					
				Re: ChartGadget for bars and lines
				Posted: Mon Apr 10, 2017 11:44 am
				by Kukulkan
				Great gadget and looking very professional. Good work!  
