Results 1 to 2 of 2

Thread: [Question] How to customize the mask of the chart?

  1. #1
    Sencha User
    Join Date
    Dec 2011

    Default [Question] How to customize the mask of the chart?

    Hi, according to the ExtJs 4.0 API Doc,

    we can show mask to select region on the chart to zoom that region as code below:

    items:{ xtype:'chart', animate:true, store: store1, mask:'horizontal', listeners:{select:{ fn:function(me, selection){ me.setZoom(selection); me.mask.hide();}}},However, when I copy/paste the code above to my chart, the mask starts from the top of the window which isn't where the chart is belong to.

    > Is there anyway to keep the mask only in the chart area?

    Thank you in advance.

  2. #2

Posting Permissions

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