Search found 11 matches

by pro17
Wed Nov 28, 2007 12:34 pm
Forum: ActiveX
Topic: CheckDataSource doesn't update chart
Replies: 1
Views: 3353

CheckDataSource doesn't update chart

Hi, I am using Access database to store some values. In runtime I created two series with Teechart editor and connected Dataset with Access table. I get values into Chart instantly. Now I want to update values in a Chart. So I use VBScript to do it: Chart.Series(0).CheckDataSource Chart.Series(1).Ch...
by pro17
Wed Nov 21, 2007 10:01 am
Forum: ActiveX
Topic: SerriesTextSource problem
Replies: 7
Views: 7303

Hi Narcis, I solved my problem! Using TChart AX in SCADA I also inserted SeriesTextSource into it as a separate object. Now I define a SeriesTextSource as an object in a VBScript code only. Set seriestextsource = CreateObject("TeeChart.SeriesTextSource") This way, I get an error, when wrong columns ...
by pro17
Tue Nov 20, 2007 4:32 pm
Forum: ActiveX
Topic: SerriesTextSource problem
Replies: 7
Views: 7303

Hi Narcis,

Unfortunatelly setting Active property to true after all settings are don doesn't help also.
by pro17
Tue Nov 20, 2007 12:56 pm
Forum: ActiveX
Topic: SerriesTextSource problem
Replies: 7
Views: 7303

Hi Narcis,

Tried ClearChart, still the same problem.
Tried CheckDataSource, still the same problem.

Could you reproduce the problem?
by pro17
Tue Nov 20, 2007 11:36 am
Forum: ActiveX
Topic: SerriesTextSource problem
Replies: 7
Views: 7303

SerriesTextSource problem

I am using txt file to get data into chart. The problem I am experiencing is that chart "remembers" some settings and I can't reset it. Reproducing the problem: When I first get data to the chart everything works OK. Then I manipulate a vbscript code - I change (AddField "Bar", 2) to point to 1 (Add...
by pro17
Wed May 09, 2007 8:52 pm
Forum: ActiveX
Topic: Real 3 dimensional bar chart (3D data table)
Replies: 1
Views: 3065

Real 3 dimensional bar chart (3D data table)

Hi, I wonder if I can draw a 3D bar chart with 3D data table? I would like to draw some more bars behind (or in front) of other bars. In example: I have several tables of salesman for each car they sell in given periode (Q1 - Q4). I would like to draw a bar graph comparison of sold VW Polo for each ...
by pro17
Tue May 08, 2007 1:11 pm
Forum: ActiveX
Topic: SQL statement with formula
Replies: 2
Views: 3889

Hi,
it does work!

The only thing that has to be done is to assign a new name (like variable name) to the "formula" part of SQL select statement.

IE: "Select Items+80 as AddedItems, Date from Sales" works as expected.

Best regards,
Gregor Jenko
by pro17
Mon May 07, 2007 12:29 pm
Forum: ActiveX
Topic: Hide TChart on page load (VBScript or Jscript) - HTML
Replies: 1
Views: 3130

Hide TChart on page load (VBScript or Jscript) - HTML

Is it possible to hide the chart when loading page.

I know how to hide it and make it visible again, but I wan't initial "state" to be hidden.

Maybe it's silly question, but I am newbie.

Best Regards,
JinX
by pro17
Thu May 03, 2007 4:37 pm
Forum: ActiveX
Topic: jscript / vbscript chart type number
Replies: 2
Views: 3613

Hi Narcis,

this is exactly what I was hoping for.

Thanks.
by pro17
Thu May 03, 2007 4:22 pm
Forum: ActiveX
Topic: SQL statement with formula
Replies: 2
Views: 3889

SQL statement with formula

I tried to access Database (MySQL) within IE with VBScript and prepare the data in one SQL statement like this: "select Items+80, Date from Sales" I can get data using this statement "select Items, Date from Sales", but would like to manipulate the data as seen before. This comes handy when using bo...
by pro17
Thu May 03, 2007 4:17 pm
Forum: ActiveX
Topic: jscript / vbscript chart type number
Replies: 2
Views: 3613

jscript / vbscript chart type number

I cant find details on the numbers of chart types that have to be used in JScript and VBScript since it is not possible to use the names like scLine (the number used in scripts is 0) ... For now I need Histogram number, but it would be nice to have all the correct chart types and numbers assigned to...