Opened 11 years ago

Closed 11 years ago

#12209 closed defect (fixed)

[patch][ccla] Chart3D is not working with GFX Canvas renderer

Reported by: cjolif Owned by: Eugene Lazutkin
Priority: high Milestone: 1.6
Component: DojoX GFX Version: 1.6.0b1
Keywords: Cc:
Blocked By: Blocking:


This prevents mobile platforms that only support Canvas not SVG (Android) to display 3D Charts.

If you don't have a Android device or emulator, this can be tested by using Canvas renderer (gfxRenderer : 'canvas') on test_bars.html and test_cylinders.html.

The issue actually comes from GFX3D in particular the Viewport.setDimensions method that use the GFX rawNode of the Group that does not exist in Canvas.

The patch is preventing this call to rawNode. This is enough for the Chart3D to render correctly.

Attachments (1)

object.patch (702 bytes) - added by cjolif 11 years ago.
Viewport fix for Canvas

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by cjolif

Attachment: object.patch added

Viewport fix for Canvas

comment:1 Changed 11 years ago by Eugene Lazutkin

Milestone: tbd1.6
Status: newassigned

comment:2 Changed 11 years ago by Eugene Lazutkin

Component: ChartingDojoX GFX

comment:3 Changed 11 years ago by Eugene Lazutkin

Resolution: fixed
Status: assignedclosed

(In [23687]) gfx3d: fixed canvas-related bug, thx Christophe Jolif (IBM, CCLA), !strict, fixes #12209.

Note: See TracTickets for help on using tickets.