473,395 Members | 1,466 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

ScaleTo in cfchart

I am having trouble getting the ScaleTo parameter in the cfchart to work properly. I am trying to get a graph to scale from 0 to 24 by doing a ScaleTo="24" but it keeps rounding it up to 25 for some reason. The only way I have gotten it to work is to do ScaleTo="24" and then a GridLines="2" but then I will only get 0 and 24 labeled with tick marks. Thanks.
May 16 '07 #1
3 3598
acoder
16,027 Expert Mod 8TB
How many tick marks do you want? If you want 7 (0, 4, 8, 12, 16, 20 and 24), then use gridLines=7.
May 16 '07 #2
I tried putting 7 in but instead of scaling it from 0 to 24 it scaled it from 0 to 30. The parameters I am using in cfchart are
Expand|Select|Wrap|Line Numbers
  1.         <cfchart
  2.             format="flash"
  3.             chartHeight="150"
  4.             chartWidth="1000"
  5.             xAxisTitle="Day"
  6.             yAxisTitle="Hours"
  7.             ScaleTo="24"
  8.             GridLines="7"
  9.             showYGridLines="yes"
  10.             showXGridLines="yes"
  11.             showMarkers="No"
  12.             showLegend="no">
  13.  
May 18 '07 #3
acoder
16,027 Expert Mod 8TB
Try adding scaleFrom="0"
May 21 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: celery6541 | last post by:
Is there anyway to get showLegend in cfchart to only display some of the chart legends instead of all of them?
9
by: resmi318 | last post by:
Hi, I am new to coldfusion. I need to query a table to get some datas and then draw a graph using that. Can anyone help me? Thanks Resmi318
0
by: DDesigns | last post by:
Ive been trying to figure this out for hours and it is driving me crazy. I need to add a different gotoAndPlay action to each instance of 'a'. I can figure out how to add the same gotoAndPlay action...
12
by: resmi318 | last post by:
Hi, I want to download a chart which I created using cfchart to excel and save it to local machine. The problem I am experiencing is when I save it in local machine,image is getting expired. The...
1
by: johnVarma | last post by:
Hi All, Iam facing a problem with bar chart using coldFusion. if there is only one <cfchartseries> tag then the seriesLabel attribute is not displaying instead of that the items of the...
1
by: Khoo Teik Heong | last post by:
Hi, I created a chart using cfchart and export it to excel. However, the chart exported cannot be displayed. This problem does not happen when i convert it to PDF. Please help.
2
jwwicks
by: jwwicks | last post by:
A Guide for the Beginning CIS Student Introduction It's that time again. A new semester is starting and CIS students all over the country are beginning to program. It can be an overwhelming...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.