1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    11
    Vote Rating
    0
    intotherainzy is on a distinguished road

      0  

    Default Unanswered: Can font-size of Sunburst chart be changed ?

    Unanswered: Can font-size of Sunburst chart be changed ?


    if could, how to set it? i had tried in 'style' but failed.

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    11
    Vote Rating
    0
    intotherainzy is on a distinguished road

      0  

    Default


    Code:
    ans = sprite || me.getSurface().add({            type: 'text',
                text: text,
                font: Math.max(12, 0) + 'px Arial',
                'text-anchor': 'center',
                fill: '#fff',
                group: label
            });
    i found source code where defined the font,but no param to change it. And it seems that the API Doc doesn't synchronize with the source code.