Results 1 to 3 of 3

Thread: Displaying SVG Data on Panel

  1. #1
    Sencha User
    Join Date
    Sep 2008
    Location
    Zurich (CH)
    Posts
    155

    Question Displaying SVG Data on Panel

    Dear all

    I have some SVG Images on the server which i'd like to be displayed on a Panel. Is this possible? If yes: how can I accomplish this? I guess it won't be possible to just add it as html

    thanks for your ideas...

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    Configure your Panel with

    Code:
        bodyCfg: {tag: 'whateverTagNamehandlesSVG'}
    Then the body element of the Panel will be whatever element type handles SVG. I don't know anything about it, so I don't know what tag name to use.

  3. #3
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    The tag name is 'object'.

    I recommend using the ux.Media extension for this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •