Results 1 to 2 of 2

Thread: How to display many bars in chart? scrolling?

  1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    42
    Vote Rating
    0
      0  

    Default How to display many bars in chart? scrolling?

    I have a bar chart with possibly many bars depending on the data. My bars are displayed horizontally with the labels on the y-axis (left). The issue is, if there is alot of data(bars) to display, some of the data labels are not displayed due to space constraints. EXT automatically removes some data labels if there are too many bars. See the photo attachment.

    I would like to display all data labels. There are a couple potential of options to make this chart more presentable:

    1.) Dynamically calculate the number of bars to display and adjust the height of the chart accordingly. (this is not my preferred option - would like to keep the height of the chart static).

    2.) Reduce the number of bars to display. (this is not my preferred option)

    3.) Make the chart area scrollable? Is this possible with EXTJS?
    Attached Images Attached Images

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

    Default

    The charts won't be scrollable so you'd have to limit or change the size.
    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

Tags for this Thread

Posting Permissions

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