Results 1 to 3 of 3

Thread: Ext.chart hidde/do not draw series item on startup

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    2
    Vote Rating
    0
      0  

    Default Ext.chart hidde/do not draw series item on startup

    Hi
    This is my first step in the ExtJS Chart world and a wonder if it exist any option that do not draw the diagram on startup
    Like the picture bellow.
    That forces the user to click on it to active that specific line diagram.
    As now the diagram is loaded with all the data series activated.
    Have found many open like hidden:false , showInLegend: false but that seems not to help..


    charts-line.jpg

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    So you want the chart to be blank but the legend to show the different series?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    2
    Vote Rating
    0
      0  

    Default

    Yes that is correct,

    I wonder if it is possible to for example start charts only displaying only 2 series and the user must click on the other series in the legend to activate them,
    So the best would be if it exist any option like showInChart that you could set to false when you create the series.

    Now all series start active in the charts and you must click on them in the legend to remove them from the chart.

Posting Permissions

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