[Module] Chart - Gadget
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] Chart - Gadget
Not yet.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Module] Chart - Gadget
Ok.Thorsten1867 wrote:Not yet.
Thanks anyway for this helpfull gadget.
Re: [Module] Chart - Gadget
Hi Thorsten!
Is it possible to avoid this small residue bar for a zero value?
Is it possible to avoid this small residue bar for a zero value?
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] Chart - Gadget
It's possible.Lord wrote:Is it possible to avoid this small residue bar for a zero value?
Update
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Module] Chart - Gadget
Hi Thorsten,
thank you for this quick response.
thank you for this quick response.
Re: [Module] Chart - Gadget
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?
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?
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] Chart - Gadget
Sorry, I forgot GitHub. Download link should be up-to-date.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] Chart - Gadget
I use GadgetTooltip() and cannot change the position of the tooltips.Caronte3D wrote:Hi!
The tooltip appear in wrong place on the linechart mode:
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] Chart - Gadget
Update: Bugfix: Labels for negative values
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] Chart - Gadget
Unfortunately I cannot reproduce the problem.Caronte3D wrote:about the tooltip, take a look: https://ibb.co/sqRkBmm
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Module] Chart - Gadget
Try this:
Code: Select all
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
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] Chart - Gadget
Bugfixes
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Module] Chart - Gadget
Solved the tooltip bug!
Thank You very much
Thank You very much