Groups | Blog | Home
all groups > coldfusion flash integration > may 2005 >

coldfusion flash integration : After applying patch still can't make scaleTo work!



Nafiganado
5/24/2005 12:00:00 AM
:frown;

I take user names from database query and corresponding numbers. I want to
output user names by vertical, so I use "horizontalbar" in cfchart series tag
(instead old-versioned "rotated"). Everything would be good, but NOT ALL user
fit my graph and are displayed at the top of chart, not along Y axis!!

I tried to beat that problem somehow, watched documentation, applied a patch
that looks like solves this problem, rebooted server of course... Vain! It
still the same! :(

What's wrong with that? If I got it right - it's really a scaleTo problem...
Nafiganado
5/24/2005 12:00:00 AM
Oh, I wanted to notice that it correctly displayed the data itself vertically
(I mean the bars) - I just had a lot of zero-length bars and didn't notice from
the very beginning. What is not correctly displayed - title LABELS. The labels
for Y axis are dispositioned and about 10 of them are placed to the left, along
Y axis and still I have ALL of the labels (including these ones again) placed
ABOVE the chart!
Nafiganado
5/24/2005 12:00:00 AM
Sorry, the labels above didn't concern the issue - there were just legends,
which I didn't intend to leave in this chart, but shown.
So, the problem is just with positioning labels! The chart code is as follows:

<cfchart format="flash" chartheight="#h#" chartWidth="700" scalefrom="0"
scaleto="#est_cap#" showxgridlines="no"
showygridlines="no" databackgroundcolor="##FFFFFF" showborder="no"
font="Verdana" fontbold="no"
fontitalic="no" labelformat="number" xAxisTitle="Node Name"
yAxisTitle="MB's Transferred" show3d="no"
sortxaxis="no" showlegend="no" tipbgcolor="##FFFFFF"
backgroundcolor="###client.chartBackground#">
<cfchartseries serieslabel="temp" query="vol" type="horizontalbar"
seriesColor="##728DB4" paintStyle="plain" valuecolumn="SumOfLOGICAL_GB"
itemcolumn="NODE_NAME">
</cfchartseries>
</cfchart>
Nafiganado
5/24/2005 12:00:00 AM
AddThis Social Bookmark Button