Solved

<CFCHART

Posted on 2009-05-13
1
432 Views
Last Modified: 2013-12-24
How do i open link in new window such as target="_blank"
<cfchart format="flash" chartheight="85" chartwidth="400" xaxistitle="Year" yaxistitle="Total in Million" style="#chartstyle#" showlegend="no" url="chart_drill.cfm?MERCHANT_NAME=#merchant_name_eng#&year=$ITEMLABEL$&merchant_id=#merchant_id#">
      <cfchartseries  type="#chart_type#"
		query="get_usage_chart" 
		itemcolumn="year" 
		valuecolumn="total"/>
    </cfchart>

Open in new window

0
Comment
Question by:faisalmohi
1 Comment
 
LVL 52

Accepted Solution

by:
_agx_ earned 500 total points
ID: 24380398
I don't think cfchart has a target attribute. But you could use a javascript function to target a new window.  



<script>
	function showPage(pageURL)
	{
		window.open(pageURL, "NewWindow"); 
	}	
</script>
<cfchart format="flash" chartheight="85" chartwidth="400" xaxistitle="Year" yaxistitle="Total in Million" style="#chartstyle#" showlegend="no" url="javascript:showPage('chart_drill.cfm?MERCHANT_NAME=#merchant_name_eng#&year=$ITEMLABEL$&merchant_id=#merchant_id#');">
      <cfchartseries  type="#chart_type#"
                query="get_usage_chart" 
                itemcolumn="year" 
                valuecolumn="total"/>
</cfchart>

Open in new window

0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
website does not load without www 12 73
Autoresponder for Whole Domain in Plesk/Cpanel 2 80
CFFILE upload help 98 159
spamming  on Hosted svrs? 6 91
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question