Jump to content

Recommended Posts

Posted

at the moment with a TUnimChart the y-axis label displays number but we also need to add a label to indicate what is presented on the y-axis, such as "number of products" or "number of calls". Similarly, on the x-axis we want to be able to displays label like "call types". Is this possible?

 

Secondly, when the largest value to display is '1', on the y-axis we see 0.2, 0.3, 0.4 etc... is it possible to only display whole numbers? (when display a count of something on the y-axis, you don't really have 1/2 of the item.)

 

thanks,

Tim

Posted

Hi,

 

If you are a subscriber member please adjust your forum email in customer portal

Instructions:

http://forums.unigui.com/index.php?/topic/6291-important-announcement/

 

 

at the moment with a TUnimChart the y-axis label displays number but we also need to add a label to indicate what is presented on the y-axis, such as "number of products" or "number of calls". Similarly, on the x-axis we want to be able to displays label like "call types". Is this possible?

 

It is not implemented yet, for now can you try this?:

 

For example for UniLineSeries1:

uses ... UniGUIJSInterface;
procedure TMainmForm.UnimFormReady(Sender: TObject);
begin
  IUniJSInterface(UnimChart1).JSCall('chart.getAxes()[0].setTitle', ['testY']);
  IUniJSInterface(UnimChart1).JSCall('chart.getAxes()[1].setTitle', ['testX']);
end;

Best regards.

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