Jump to content

Recommended Posts

  • 3 weeks later...
Posted
  • I have managed to create the chart,using htmlframe and extjs code, see image:
  • Also with animation when moving from one record to another.

chart1.jpg

  • 8 months later...
  • 11 months later...
Posted
I am trying to change the colors and I did not get it yet...!

 

Hi,

 

Try:

UniChart1 -> ClientEvents -> UniEvents -> [Ext.chart.Chart [chart]] add function chart.beforeInit

function chart.beforeInit(sender, config)
{
  sender.themeAttrs.seriesThemes = [{fill: '#ff4565'}, {fill: 'green'}, {fill: 'yellow'}];
  sender.themeAttrs.colors = ['#ff4565', 'green', 'yellow']
}

Best regards.

  • 6 months later...
Posted

Hi,

 

Try:

UniChart1 -> ClientEvents -> UniEvents -> [Ext.chart.Chart [chart]] add function chart.beforeInit

function chart.beforeInit(sender, config)
{
  sender.themeAttrs.seriesThemes = [{fill: '#ff4565'}, {fill: 'green'}, {fill: 'yellow'}];
  sender.themeAttrs.colors = ['#ff4565', 'green', 'yellow']
}

Best regards.

Hi.

I try your code in C++ Builder XE7 and I got error. Where my mistake?

Thank you.

post-32-0-77450000-1428404865_thumb.jpg

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...