godot-engine.easy-charts icon indicating copy to clipboard operation
godot-engine.easy-charts copied to clipboard

[BUG] function_type.gd:34 @ _draw(): The draw_rect() "width" argument has no effect when "filled" is "true".

Open AmyGilhespy opened this issue 1 year ago • 1 comments

Describe the bug W 0:01:08:0375 function_type.gd:34 @ _draw(): The draw_rect() "width" argument has no effect when "filled" is "true". <C++ Source> scene/main/canvas_item.cpp:687 @ draw_rect() <Stack Trace> function_type.gd:34 @ _draw()

To Reproduce Make a pie chart.

Expected behavior No warnings.

Screenshots image

Desktop (please complete the following information):

  • OS: Windows
  • Godot Engine Version 4.2.2-mono
  • Plugin Version v24.05.06

Additional context Just remove the width argument when you're using filled rects. See the docs: https://docs.godotengine.org/en/stable/classes/class_canvasitem.html#class-canvasitem-method-draw-rect

AmyGilhespy avatar May 11 '24 22:05 AmyGilhespy

In function_type.gd, lines 36 and 47 seem to be affected.

AmyGilhespy avatar May 11 '24 22:05 AmyGilhespy

it has this bug in master and https://github.com/fenix-hub/godot-engine.easy-charts/releases/tag/v28.08.25

CsloudX avatar Nov 02 '25 06:11 CsloudX

@CsloudX Could you please provide a stack trace of the error? I cannot find any error with the FunctionType. However, I see the warning when changing the LineChartExample to use square markers and then running it.

namelessvoid avatar Nov 02 '25 18:11 namelessvoid

@CsloudX Could you please provide a stack trace of the error? I cannot find any error with the FunctionType. However, I see the warning when changing the LineChartExample to use square markers and then running it.

I'm tested the latest master, it like fixed.

CsloudX avatar Nov 04 '25 14:11 CsloudX