Cancel
Showing results for 
Search instead for 
Did you mean: 

WorkerChart controlled by Method

Pioneer
Pioneer

Dear all

 

I would like to know if it's possible in a method to write a command to open the chart window of the object workerCart :

chart.jpg

4 REPLIES

Re: WorkerChart controlled by Method

Pioneer
Pioneer

sorry I didn't finish my message !

 

I want to open this chart from another dialog window than the workerchart dialog window.

I tried to use the method viewchart of the object but without success.

 

thanks for your help

 

Best regards

Christelle


@Christelle wrote:

Dear all

 

I would like to know if it's possible in a method to write a command to open the chart window of the object workerCart :

chart.jpg


 

Re: WorkerChart controlled by Method

Siemens Phenom Siemens Phenom
Siemens Phenom

The answer is easy:

WorkerChart.Chart.Active := true;

Re: WorkerChart controlled by Method

Pioneer
Pioneer

Effectively so easy, thanks Peter.

Is it possible to configure the colors of this chart and for example to delete repairing rate or not ?

Re: WorkerChart controlled by Method

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello Christelle,

 

before the chart is opened you can modify the InputChannels. After the following simulation run, the InputChannels is filled again:

WorkerChart.Chart.InputChannels.cutRow(3);

 

But changing the colors is not reset by a simulation run:

WorkerChart.Chart.setRGB(1,255,0,0);

 

Regards

Peter