Results 1 to 4 of 4

Thread: How to extend a chart?

  1. #1
    Ext JS Premium Member prakashpaudel's Avatar
    Join Date
    May 2009
    Location
    Kathmandu, Nepal
    Posts
    78
    Answers
    1

    Default How to extend a chart?

    A simple chart extend does not work. I get this error
    Uncaught TypeError: axis.getFloating is not a function

    https://fiddle.sencha.com/#fiddle/12hs

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

  3. #3
    Ext JS Premium Member prakashpaudel's Avatar
    Join Date
    May 2009
    Location
    Kathmandu, Nepal
    Posts
    78
    Answers
    1

    Default

    Thanks, But what I want to do is,pass a title parameter from
    Code:
    var chart = Ext.create('MyChart', {
        myTitle: 'My Title'        
    }).render(Ext.getBody())
    and set that title for one of the axis in the base class. That is not possible this way

  4. #4
    Sencha User
    Join Date
    Apr 2012
    Posts
    110
    Answers
    2

    Default

    Yes, It is working for me,if i do like this.
    But why it is behaving like this.If any one find root cause please post the thing.


    Quote Originally Posted by Gary Schlosberg View Post
    Dinesh GK

Similar Threads

  1. Replies: 1
    Last Post: 1 Dec 2014, 1:56 PM
  2. Replies: 1
    Last Post: 29 Nov 2011, 5:53 AM
  3. [CLOSED] Can't extend Ext.chart.Chart
    By Farik in forum Ext:Bugs
    Replies: 1
    Last Post: 11 Aug 2011, 10:27 PM
  4. Ext.ux.extend - extension of Ext.extend )
    By SamuraiJack1 in forum Ext 2.x: User Extensions and Plugins
    Replies: 5
    Last Post: 7 Oct 2008, 10:08 AM

Posting Permissions

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