Search found 9 matches

by shoey
Sun Sep 09, 2007 11:45 pm
Forum: Java
Topic: Is everything in the editing panel able to be scripted?
Replies: 5
Views: 14330

Hi Tom, A slight modification to the example provided by Steema. Have added some comments throughout the code to explain what I am trying to achieve. <html> <head> <title>Applet for Java Test Page </title> <SCRIPT type="text/javascript" language="JavaScript"> function initChart() { /* This represent...
by shoey
Thu Sep 06, 2007 7:09 am
Forum: Java
Topic: Setting style of marks to Values
Replies: 4
Views: 12092

Thanks Narcis, Sorry I wasn't more specific. As with the other problems I am encountering I am trying to do this via JavaScript in a webpage. Using: tChart.getSeries(0).getMarks().setStyle(MarksStyle.VALUE); will return a JavaScript error: 'MarksStyle' is undefined Am I doing something wrong or is t...
by shoey
Thu Sep 06, 2007 6:45 am
Forum: Java
Topic: Trouble loading sampleData.xml into Applet
Replies: 4
Views: 11950

Tom, Yes even the example application does not work for me. Either through a url or from my harddisk. I would be interested to know if you have managed to get the import to work either using the example application or by puting the applet in a webpage and trying to populate it using: tChart1.getImpo...
by shoey
Thu Sep 06, 2007 12:50 am
Forum: Java
Topic: Setting chart colors using script
Replies: 3
Views: 10228

Hi Narcis,

Does the applet have a function to create a color? If I try to run this from a web page I can not use Color.Red. I would first need a function to create the color. Something like this perhaps:

tChart.getHeader().setColor( tChart1.createColor(255, 0, 0));

Thanks
by shoey
Wed Sep 05, 2007 11:12 pm
Forum: Java
Topic: Is everything in the editing panel able to be scripted?
Replies: 5
Views: 14330

Hi Narcis, The examples in teechart.features.jar are java examples. I am not writing a java application. The only way I have access to the applet is via scripting in my webpages. i.e JavaScript. We are using a product from SAP called xMII to build a data access framework for our business's MES layer...
by shoey
Wed Sep 05, 2007 6:11 am
Forum: Java
Topic: Is everything in the editing panel able to be scripted?
Replies: 5
Views: 14330

Is everything in the editing panel able to be scripted?

Hi, When I purchased this product I was under the impression that it was fully scriptable. So far I have been unable to locate very much supporting documentation for this capability and have had only minimal success in getting the functions that seem to be available in the editing panel to work. e.g...
by shoey
Wed Sep 05, 2007 5:21 am
Forum: Java
Topic: Setting style of marks to Values
Replies: 4
Views: 12092

Setting style of marks to Values

Hi,

I want to set the style of the marks displayed in a line chart to show Values. The default seems to be Labels.

I can set them visible using

tChart1.getSeries(0).getMarks().setVisible(true);

How then can I change the style?

Thanks in advance for all replies
by shoey
Wed Sep 05, 2007 1:08 am
Forum: Java
Topic: Setting chart colors using script
Replies: 3
Views: 10228

Setting chart colors using script

Is it possible to set font colors on the applet via javascript?

e.g. For the header
tChart1.getChart().getHeader().setColor ?
by shoey
Mon Sep 03, 2007 7:22 am
Forum: Java
Topic: Trouble loading sampleData.xml into Applet
Replies: 4
Views: 11950

Trouble loading sampleData.xml into Applet

I'm having trouble getting the xml import of data into the applet to work. I have tried the example in the TChart.Features.jar and can not get either an xml file from a url or from my local harddisk to import. Have also tried loading the file clientside using JavaScript sampleChart.setChart(sampleCh...