Solved

<CFCHART

Posted on 2009-05-13
1
422 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unable To Access a Web Domain From Our Network 16 84
Running Guacamole on port 80 5 152
How to stress test an ASP.NET https website 3 62
exchange 2010 turning off 3des ciphers 2 111
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
A short film showing how OnPage and Connectwise integration works.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now