Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Aug 2010
    Vote Rating
    4CastRisk is on a distinguished road


    Default [OPEN-EXTJSIV-157] Ext.draw.Component viewbox issue

    Trying to write a component window that has a draw surface inside it:

    Ext.define 'Quartermaster.components.chart.Window',
        extend: 'Ext.window.Window'
        alias: 'Quartermaster.CustomChart'
        initComponent: ->
            Ext.apply @,
                layout: 'fit'
                title: 'Chart Window'
                iconCls: 'icon-application'
                width: 960
                height: 400
                plain: yes
                closeAction: 'hide'
                center: yes
                maximizable: yes
                minimizable: no # This will change in future releases
                collapsible: yes
                items: [
                    Ext.create 'Ext.draw.Component', {scope: @}
            @callParent arguments
    Throws an error in firefox:

    Unexpected value Infinity Infinity -Infinity -Infinity parsing viewBox attribute.

    SVG generated looks like this:

    HTML Code:
    <svg xmlns="" version="1.1" width="948" height="366" id="ext-gen1171" viewBox="Infinity Infinity -Infinity -Infinity" style="width: 948px; height: 366px;"><defs/><rect width="100%" height="100%" fill="#000" stroke="none" opacity="0" id="ext-gen1172"/></svg>

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Redwood City, California
    Vote Rating
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough



    Thank you for the report, we'll put some bounds checking on that.

Similar Threads

  1. Draggin an ext.draw.Component in a Window
    By johanhaest in forum Ext: Discussion
    Replies: 7
    Last Post: 11 Mar 2011, 2:00 AM
  2. Replies: 0
    Last Post: 10 Mar 2011, 4:16 AM
  3. [OPEN-621] 1.0.1 Ext.Component Orientation Issue
    By benwhite in forum Sencha Touch 1.x: Bugs
    Replies: 0
    Last Post: 2 Dec 2010, 6:10 AM
  4. Open a tab via link in a component
    By fabads in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 23 Sep 2010, 4:38 AM
  5. TabItem re-draw issue
    By cormet in forum Community Discussion
    Replies: 5
    Last Post: 24 Nov 2008, 7:06 PM

Thread Participants: 1