Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

<CFCHART

Posted on 2009-05-13
1
Medium Priority
?
476 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 52

Accepted Solution

by:
_agx_ earned 2000 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

715 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