Jump to content

pie chart extjs 6.5


jahlxx

Recommended Posts

- hide the legent thar appears inside every pie?

 

One possible solution:

 

UniChart ("PieChart")-> ClientEvents -> UniEvents -> function chart.beforeInit:

function chart.beforeInit(sender, config)
{
    config.series[0].renderer=function(sprite, config, rendererData, index){
        return {label: ""}
    }
}
Link to comment
Share on other sites

 

One possible solution:

 

UniChart ("PieChart")-> ClientEvents -> UniEvents -> function chart.beforeInit:

function chart.beforeInit(sender, config)
{
    config.series[0].renderer=function(sprite, config, rendererData, index){
        return {label: ""}
    }
}

yes, thanks.

Link to comment
Share on other sites

Hi,

 

How to reduce the size of legend?

 

Tried with font size, with no success.

 

Try this approach for now:

 

chart.beforeInit

function chart.beforeInit(sender, config)
{   
    config.legend.label = {
        fontSize: 16,
        fontWeight: 'default',
        fillStyle: 'green'
    };
}
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...