Tom,
>Thanks for the hard work. It'll help me, too. I didn't know about the
>"isHideOverlapped" attribute, and that's obviously key.
I've been playing around with it to see if I should just create a wrapper
for another Java API or whether CFCHART will do the trick. Or even if I
should write another wrapper to the WebChart3D to allow for more
flexibility.
>The Macromedia folks readily acknowledge that many/most of the settings
>available through the .xml are not accessible within the cfchart tag. The
>argument is that they've exposed almost 30, and they didn't want to make
>the
>tag's attributes too confusing.
I can understand the confusing part. I think it's almost a little too
confusing now. However, what makes it difficult is how the tag syntax
doesn't really match up at all w/the actual WebChart3D syntax. This is what
makes it such a pain to map functionality from the WebCharts3D XML syntax to
what CF is actually doing.
That said they still need more flexibility.
>What I'm suggesting, I guess, is that we make a feature request. Either to
>expose certain additional attributes that we have found to be relatively
>common needs -- or a way, within the cfchart tag, to have some sort of
>passthrough attribute that could take an xml string and override matching
>settings within the stylesheet (which I guess is sorta what the cfchart tag
>attributes do).
I'd at least like to see being able to pass in an XML file--at least then
you could load an XML sheet, modify it w/dynamic values and use it for the
chart.
I wonder if it would work to give us a <cfchartproperty /> tag where we
could do something like:
<cfchartproperty
name="frameChart.xAxis.labelStyle"
attributeName="isHideOverlapped"
value="false"
/>
Something like that could allow us to change properties/tag values of a
pre-defined stylesheet. If the branch/node doesn't exist in the sheet, CF
would generate an error.
That would at least give us flexibility to change some of the advanced
features without having to add a bunch of new attributes to the tags.
I think there a few features people would use in CFCHART if they knew they
existed.
For example, I was also able to figure out how to get a stacked bar chart to
print data labels on each segment of the chart. You can only do this by
modifying the XML files right now.
The one thing I'm trying to figure out now is if I can print the $(rowTotal)
on the outside, but have it just do it just once per series instead of for
each element. It doesn't make sense to have a stacked bar chart that prints
the total on the outside of each segment in the series--only after the very
last element in the series.
Have you found a way to do that?
-Dan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218335
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54