Re: rotating cfchart
You are welcome :) -Leigh ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327491 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
rotating cfchart
ColdFusion MX used to have an attribute called rotate which would rotate a chart by 90 degrees. This was removed in ColdFusion 7 without a good replacement. I've seen many people talk about using a horizontalbar but this causes the bars to come from the side, not what I'm looking for. This document shows the old and new charts: http://docs.google.com/a/epicenterconsulting.com/Doc?id=dfhfz5dw_12c2cd2dfp What am I missing to make the new look like the old? I've played with the code a LOT but no luck. Thanks -- Michael Dinowitz (http://www.linkedin.com/in/mdinowitz) President: House of Fusion(http://www.houseoffusion.com) Publisher: Fusion Authority(http://www.fusionauthority.com) Adobe Community Expert / Advanced Certified ColdFusion Professional ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327462 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: rotating cfchart
Can you post a link that isn't secured? On Wed, Oct 21, 2009 at 12:35 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: ColdFusion MX used to have an attribute called rotate which would rotate a chart by 90 degrees. This was removed in ColdFusion 7 without a good replacement. I've seen many people talk about using a horizontalbar but this causes the bars to come from the side, not what I'm looking for. This document shows the old and new charts: http://docs.google.com/a/epicenterconsulting.com/Doc?id=dfhfz5dw_12c2cd2dfp What am I missing to make the new look like the old? I've played with the code a LOT but no luck. Thanks -- Michael Dinowitz (http://www.linkedin.com/in/mdinowitz) President: House of Fusion (http://www.houseoffusion.com) Publisher: Fusion Authority (http://www.fusionauthority.com) Adobe Community Expert / Advanced Certified ColdFusion Professional ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327463 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: rotating cfchart
Sorry. Here it is: http://docs.google.com/View?id=dfhfz5dw_12c2cd2dfp Thanks -- Michael Dinowitz (http://www.linkedin.com/in/mdinowitz) ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327464 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: rotating cfchart
ColdFusion MX used to have an attribute called rotate which would rotate a chart by 90 degrees. Try using a custom style. A quick test of the primaryYAxisPlacement attribute seems to achieve the rotate effect. cfsavecontent variable=style ?xml version=1.0 encoding=UTF-8? frameChart frame xDepth=12 yDepth=11 primaryYAxisPlacement=Right/ /frameChart /cfsavecontent cfchart style=#style# cfchartseries type=bar cfchartdata item=ICD9 value=5.5 cfchartdata item=ICD950 value=39.5 /cfchartseries /cfchart -Leigh ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327472 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: rotating cfchart
Leigh, Thanks. We were on the same track, though I was slower. :) I used the chart utility tool (c:\coldfusion8\lib\wc50.jar) to test out a few things till I came to the same place you suggested: frame primaryYAxisPlacement=Right/ Thanks again -- Michael Dinowitz On Wed, Oct 21, 2009 at 4:59 PM, Leigh cfsearch...@yahoo.com wrote: ColdFusion MX used to have an attribute called rotate which would rotate a chart by 90 degrees. Try using a custom style. A quick test of the primaryYAxisPlacement attribute seems to achieve the rotate effect. cfsavecontent variable=style ?xml version=1.0 encoding=UTF-8? frameChart frame xDepth=12 yDepth=11 primaryYAxisPlacement=Right/ /frameChart /cfsavecontent cfchart style=#style# cfchartseries type=bar cfchartdata item=ICD9 value=5.5 cfchartdata item=ICD950 value=39.5 /cfchartseries /cfchart -Leigh ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327480 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4