Frequently Asked Questions.

The installer says that Coldfusion Studio isn't detected and won't install. I am running Coldfusion 4.5.
Due to a bug in the installer, it couldn't detect the presence of Coldfusion Studio 4.5. There is now a new version available to download. Just click here to go to the download page. Just enter the serial number you have been issued and you will be able to download the latest version.


Does CFXGraphicsServer have support for horizontal line graphs?
At present there is no support for horizontal line graphs in CFXGraphicsServer.


How do I specify the font sizes?
When specifying font sizes in CFXGraphicsServer, you can either specify the maximum font size to use in positive integers, or force the font to a given size (even if it would cause the text to overlap with other items) by using a negative number.
So, for example:
If you set a font to size 100, then the text will be displayed at size 100 or smaller, depending on whether it will fit.
On the other hand, if the font size is set to -100, it will force the text to size 100, even if it does not fit. This can be useful if legibility is an issue with a particular graph.


Can I display a graph that uses data from multiple data sources?
You can supply a CFXGraphicsServer tag with one query from which it takes it's data. You can, of course, use SQL in ColdFusion to amalgamate data from multiple sources into a single query.


The XAxisMin / XAxismax attributes don't appear to work properly.
If you find that XAxisMin and XAxisMax attributes do not seem to be working, this is probably because you have not set the XAxisStyle attribute to 2 ("user-defined"). This tells CFXGraphicsServer to use the user-defined axis extremes rather than determine then from the graph data.


The YAxisMin, YAxisMax and YAxisTicks attributes to not appear to work
In order to use the above three attributes, you must set YAxisStyle="2", this instructs CFXGraphicsServer to use user-defined y-axis bounds. You then need to ensure that YAxisTicks is set high enough to provide the granularity along the Y-Axis to display the values of YAxisMin and YAxisMax.


How do I remove the URL at the bottom of the graph?
An early feature of our product was a link back to our support unit. Many clients have asked us to remove this- the code will be changed in later releases.

Please use the following 'work-around' to achieve the desired effect in the mean time.

In the "HKEY_LOCAL_MACHINE \ SOFTWARE \ IVision \ CFX_GS" registry key add a string value called "authorise" (NOTE: UK spelling of "authorise") and give it the value "AppleJack" (NOTE: Uppercase A,J; rest in Lowercase).


How do I only display a label on some of the tick marks on the graph axis?
Use the tag property "LabelEvery".
Set this value to the frequency of the labels that you wish to have.
For example, if you are displaying values over a range of 60 minutes, but you only want a label on every 5th minute, you should set LabelEvery="5".


How do I only plot a tick on the axis at certain intervals, and not for every point plotted?
If the number of tick marks being drawn on the graph is too great, you may need to display less of them to make the graph more clear.
To do this, you must set the following attributes:

  • XAxisStyle="2"
  • Ticks = whatever tick style you want (0 or 1 or 2)
  • XAxisTicks = number of ticks you want for the given range (ie. XaxisMax minus XAxisMin)
  • XAxisMin = min value on the x-axis
  • XAxisMax = max value on the x-axis
  • st_dataset = values of points to be plotted
  • st_xposset = corresponding x-value of each point in st_dataset (ie. should increment uniformly for your data)
You may also use DB_DataSet and DB_XPosSet inplace of ST_DataSet and ST_XPosSet.


I've used ST_dataLabelSet (or DB_DataLabelSet) to set the labels for individual points, but the labels do not appear on the graph.
You need to use the tag property DataLabels="1". This sets the datalabels to "On". If it is set to "0", then the labels are set to "Off".


When displaying a lot of graphs on a page, only some of them seem to appear. Why?
You need to go into the CFXGraphicsServer admin page (located on the Start Menu CFXGS program group) and increase the max number of images property.
This feature was incorporated so that old graphs were removed from the system instead of taking up disk space.


Why is my backdrop not being displayed on the graph?
CFXGraphicsServer currently only supports 8-bit images (images with 256 colours, or less) as backdrops.

You can use a graphics manipulation package (many of which are available freely) to reduce the number of colours in the image.


In the Enterprise version Administrator page, I can define multiple URL/File path mappings; how do I use that in the CFXGS tag?
Use the "DOMAIN" attribute.
When you define a domain, shown in the CFXGS administrator as "URL Mappings", you give it a Name, File path (full path in filesystem), and URL path (where website should access it).
When calling the CFX_GraphicsServer tag, if you specify the attribute DOMAIN, and set it to the Name of the domain (aka "URL Mapping") you want it to go to, it uses that file path and URL. Otherwise, goes to the default file and URL path.


After installing, I get an error in the Test page.
There seems to be a bug in the install (1.5 and previous). Occasionally the ODBC for the sample databases get set up incorrectly, with a missing slash in the path to the mdb. Also, the file path to save the images may be missing a slash. This missing slash comes before the "cfxgraphicsserver" in the path to where the website was installed.

First, check the settings for the datasources CFXGS_SAMPLE and cfxgs_traffic (in CF administrator)
For example:
  •    Original Path: D:\inetpub\wwwrootcfxgraphicsserver\test_install\sample.mdb
  •    Corrected Path: D:\inetpub\wwwroot\cfxgraphicsserver\test_install\sample.mdb
This should fix the ODBC error.

Then, check the Administrator page on the Change file path location entry, for the same missing slash.

This will be fixed in the next release.


Does CFXGraphicsServer work on Windows 2000 servers?
Yes, CFXGraphicsServer runs fine on Windows 2000 servers.


HELP! The images are generated, but no img tags show up in the page.
First, check your Test Install page. If that shows up OK, look for CFSETTING ENABLECFOUTPUTONLY="Yes" tags, as that will suppress all output outside of CFOUTPUT tags; anything output from CFX tags as well as plain HTML in the page itself.
In addition, especially if your code works in CF5 and not in CFMX, check nesting of enablecfoutputonly; that nesting behavior changed in CFMX.


Does CFXGraphicsServer work on Windows 2003 servers?
CFXGraphicsServer 2 does not currently work on IIS 6.



| Feature | | Purchase | | Download | | Support | | Online Demo | |News| |Bug Report| |SiteMap|

| FAQs | |Online Help| | Patches | | Questions |
TeraTech logo

TeraTech Inc. - Tools for Programmers ™
405 E Gude Drive, Suite 207
Rockville MD 20850 USA
www.teratech.com   ftp.teratech.com
Voice: 301-424-3903, 800-447-9120
Fax: 301-762-8185
Email: info@teratech.com
©Copyright © TeraTech, Inc 2004