Page 6 of 7
Re: [Module] Chart - Gadget
Posted: Sat Mar 21, 2020 5:35 pm
by Thorsten1867
Not yet.
Re: [Module] Chart - Gadget
Posted: Sun Mar 22, 2020 10:48 am
by Lord
Thorsten1867 wrote:Not yet.
Ok.
Thanks anyway for this helpfull gadget.
Re: [Module] Chart - Gadget
Posted: Sun Mar 22, 2020 1:22 pm
by Lord
Hi Thorsten!
Is it possible to avoid this small residue bar for a zero value?

Re: [Module] Chart - Gadget
Posted: Mon Mar 23, 2020 7:03 pm
by Thorsten1867
Lord wrote:Is it possible to avoid this small residue bar for a zero value?
It's possible.
Update
Re: [Module] Chart - Gadget
Posted: Tue Mar 24, 2020 12:24 pm
by Lord
Hi Thorsten,
thank you for this quick response.

Re: [Module] Chart - Gadget
Posted: Tue Mar 24, 2020 1:16 pm
by Lord
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?

Re: [Module] Chart - Gadget
Posted: Tue Mar 24, 2020 2:31 pm
by Thorsten1867
Sorry, I forgot GitHub. Download link should be up-to-date.
Re: [Module] Chart - Gadget
Posted: Tue Mar 24, 2020 5:01 pm
by Caronte3D
Hi!
The tooltip appear in wrong place on the linechart mode:
Also...
The showValues flag put negative values over the center line:

Re: [Module] Chart - Gadget
Posted: Wed Mar 25, 2020 12:39 pm
by Thorsten1867
Caronte3D wrote:Hi!
The tooltip appear in wrong place on the linechart mode:
I use GadgetTooltip() and cannot change the position of the tooltips.
Re: [Module] Chart - Gadget
Posted: Wed Mar 25, 2020 12:54 pm
by Thorsten1867
Update: Bugfix: Labels for negative values
Re: [Module] Chart - Gadget
Posted: Wed Mar 25, 2020 2:24 pm
by Caronte3D
Thanks for this update
about the tooltip, take a look:
https://ibb.co/sqRkBmm
Re: [Module] Chart - Gadget
Posted: Thu Mar 26, 2020 8:13 am
by Thorsten1867
Unfortunately I cannot reproduce the problem.
Re: [Module] Chart - Gadget
Posted: Thu Mar 26, 2020 8:55 am
by Caronte3D
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
Re: [Module] Chart - Gadget
Posted: Fri Mar 27, 2020 11:59 am
by Thorsten1867
Bugfixes
Re: [Module] Chart - Gadget
Posted: Fri Mar 27, 2020 12:31 pm
by Caronte3D
Solved the tooltip bug!
Thank You very much
