It is currently Mon Apr 06, 2020 9:35 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 90 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Sat Mar 21, 2020 5:35 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1209
Location: Germany
Not yet.

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Sun Mar 22, 2020 10:48 am 
Offline
Enthusiast
Enthusiast

Joined: Tue May 26, 2009 2:11 pm
Posts: 638
Thorsten1867 wrote:
Not yet.

Ok.

Thanks anyway for this helpfull gadget.

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Sun Mar 22, 2020 1:22 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue May 26, 2009 2:11 pm
Posts: 638
Hi Thorsten!

Is it possible to avoid this small residue bar for a zero value?

Image

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Mon Mar 23, 2020 7:03 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1209
Location: Germany
Lord wrote:
Is it possible to avoid this small residue bar for a zero value?


It's possible. 8)

Update

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Tue Mar 24, 2020 12:24 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue May 26, 2009 2:11 pm
Posts: 638
Hi Thorsten,

thank you for this quick response. :D

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Tue Mar 24, 2020 1:16 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue May 26, 2009 2:11 pm
Posts: 638
Hi Thorsten!

It's me again.

I don't see any improvement.
There is still a small bar for a zero value.
Do I have to use a new constant for not viewing zero values? Where?

Image

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Tue Mar 24, 2020 2:31 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1209
Location: Germany
Sorry, I forgot GitHub. Download link should be up-to-date.

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Tue Mar 24, 2020 5:01 pm 
Offline
User
User
User avatar

Joined: Fri Jan 22, 2016 5:33 pm
Posts: 76
Hi!
The tooltip appear in wrong place on the linechart mode:

Image

Also...
The showValues flag put negative values over the center line:
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Wed Mar 25, 2020 12:39 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1209
Location: Germany
Caronte3D wrote:
Hi!
The tooltip appear in wrong place on the linechart mode:

I use GadgetTooltip() and cannot change the position of the tooltips.

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Wed Mar 25, 2020 12:54 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1209
Location: Germany
Update: Bugfix: Labels for negative values

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Wed Mar 25, 2020 2:24 pm 
Offline
User
User
User avatar

Joined: Fri Jan 22, 2016 5:33 pm
Posts: 76
Thanks for this update :wink:

about the tooltip, take a look:
https://ibb.co/sqRkBmm


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Thu Mar 26, 2020 8:13 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1209
Location: Germany
Caronte3D wrote:
about the tooltip, take a look: https://ibb.co/sqRkBmm

Unfortunately I cannot reproduce the problem.

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Thu Mar 26, 2020 8:55 am 
Offline
User
User
User avatar

Joined: Fri Jan 22, 2016 5:33 pm
Posts: 76
Try this:
Code:
XIncludeFile "ChartModule.pbi"

  nrX=OpenWindow(#PB_Any, 100, 100, 800, 300, "Test", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_ScreenCentered)

  Define  chartBalLabel$="Serie2"

 
  Define   Graf=Chart::Gadget(#PB_Any, 10, 10, 780, 280, Chart::#LineChart|Chart::#DataSeries|Chart::#ShowLines|Chart::#Border|Chart::#ChangeCursor|Chart::#ToolTips|Chart::#AutoResize, nrX)
  Chart::SetFlags(Graf, Chart::#Legend, Chart::#Hide)
  Chart::SetAttribute(Graf, Chart::#Maximum, 11400)
  Chart::SetAttribute(Graf, Chart::#Minimum, 11400)
  Chart::SetAttribute(Graf, Chart::#FontSize, 7)

  If Chart::AddDataSeries(Graf, chartBalLabel$, $FF901E)
    Define suma=11400,f
    For f=0 To 59
      suma+(Random(2,0)-1)
      Chart::AddSeriesItem(Graf, chartBalLabel$, Str(f), suma)
    Next
  Chart::DisplayDataSeries(Graf, chartBalLabel$)   
  EndIf
 
  Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Fri Mar 27, 2020 11:59 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1209
Location: Germany
Bugfixes

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Chart - Gadget
PostPosted: Fri Mar 27, 2020 12:31 pm 
Offline
User
User
User avatar

Joined: Fri Jan 22, 2016 5:33 pm
Posts: 76
Solved the tooltip bug!
Thank You very much :wink:


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 90 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye