Results 1 to 2 of 2

Thread: How to change the style of the chart?

  1. #1
    Sencha User sailei1's Avatar
    Join Date
    Jul 2011
    Location
    BeiJing China
    Posts
    43

    Default How to change the style of the chart?

    QQ截图20131017095708.pngQQ截图20131017095639.png


    I want to change the style of this chart into effect the first picture?help me!
    Chinese

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    There various configs available for styling the pie chart series. I suggest you review the documentation.
    http://docs.sencha.com/touch/2.3.0/#...art.series.Pie

    Looking at the image you posted the following should be helpful:

    To style colors:
    http://docs.sencha.com/touch/2.3.0/#...ies-cfg-colors

    To style labels
    http://docs.sencha.com/touch/2.3.0/#...ries-cfg-label

    Css styling on series:
    http://docs.sencha.com/touch/2.3.0/#....Pie-cfg-style

    To get rid of the donut remove the donut config.
    http://docs.sencha.com/touch/2.3.0/#....Pie-cfg-donut
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

Posting Permissions

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