ChartGadget for bars and lines
Re: ChartGadget for bars and lines
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?
Wouldn't it be possible to use OneDrive, DropBox, GitHub, Bitbucket, SourceForge?
Re: ChartGadget for bars and lines
This is really disappointing I didn't see that because of my AddBlocker. I attached the source code to the topmost post again.
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Re: ChartGadget for bars and lines
Thanks! Your source is open source, so at the end it's probably better to useuwekel wrote:I attached the source code to the topmost post again.
GitHub or Bitbucket for it. When you reach the forum limits...
- roslansalleh
- User
- Posts: 19
- Joined: Fri Dec 21, 2012 3:45 am
Re: ChartGadget for bars and lines
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.
Please help me.
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)
Re: ChartGadget for bars and lines
It's a bug The line row for its own does not widen the chart value range. I will fix it later this day!
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Re: ChartGadget for bars and lines
I fixed the bug and updated the code at top of this post.
Would you mind testing it?
Would you mind testing it?
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
- roslansalleh
- User
- Posts: 19
- Joined: Fri Dec 21, 2012 3:45 am
Re: ChartGadget for bars and lines
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.
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
Hi,
Is this code free for use in any application?
Is this code free for use in any application?
ARGENTINA WORLD CHAMPION
Re: ChartGadget for bars and lines
Yes, no problem.
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Re: ChartGadget for bars and lines
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 ?
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
Thanks
Small bugfix for MacOS with DrawingFont(...) by ChartPaint(...)
Small bugfix for MacOS with DrawingFont(...) by ChartPaint(...)
Code: Select all
;create and measure font
If \Font
DrawingFont(\Font)
EndIf
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: ChartGadget for bars and lines
Great gadget and looking very professional. Good work!