Dan,

On 9/14/05, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote:
> 
> Ok, after playing around w/the WebCharts3D Designer for a couple of days 
> off
> and on, I finally figured out how to get all the labels to show up.



And so you've found the wonders of the intuitive interface of WebCharts3D 
Designer and its equally wonderful (lack of) meaningful documentation. 

<labelStyle isHideOverlapped="true"
> orientation="Horizontal"/>
> <titleStyle font="Arial-12-bold" isMultiline="false"/>
> </xAxis>
> * Change the <labelStyle /> tag's "isHideOverlapped" attribute to "false".


Thanks for the hard work. It'll help me, too. I didn't know about the 
"isHideOverlapped" attribute, and that's obviously key.

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.

On the other hand, I've already run into several instances where I needed to 
set dynamic values for some of the non-exposed attributes -- much the way 
you're suggesting for the already-exposed "height" attribute.

In one case, for instance, the x-axis of my chart contains date values, and 
the recordset used for the charting may well contain a value for each day of 
a given period. When a user chooses to view a 3-month span, for instance, I 
want the axis to show labels for individual days. But when "1 Year" is 
selected, I want the labels to show for a week, not a day.

That can be accomplished with 
<xAxis type="DateTime" scaleMin="0">
[code omitted]
<dateTimeStyle majorUnit="Week" />
</xAxis>

But since there's no way to pass the dynamic value through, I have to switch 
stylesheets to switch the label units.

So there are clearly many cases where one needs to create multiple 
stylesheets, sometimes with only a difference in a single attribute.

Sorta clunky, huh?

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).

Thoughts?


-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
530 Means St NW, Suite 110
Atlanta, GA 30318
404.589.0560


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218289
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to