Jump to content

how to link Unichart to table?


mhmda

Recommended Posts

Ok, but i have another problem:

 

When I create a new unigui project and add a unichart component on the main form and compile I get error: "can't find chart.dcu file" how can i solve it?

 

Hi,

 

Find Chart in uses list and replace with VclTee.Chart where you see this error.

 

 

Regards

Link to comment
Share on other sites

Where I put this code to change bar's color:

 

var colors = ['rgb(47, 162, 223)','rgb(60, 133, 46)'];

   Ext.chart.theme.fancy = Ext.extend(Ext.chart.theme.Base, {
       constructor: function(config) {
           Ext.chart.theme.Base.prototype.constructor.call(this, Ext.apply({
               colors: colors
           }, config));
       }
   });

 

and How I link this theme 'fancy' to the chart ? :unsure:

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