Solved

<CFCHART

Posted on 2009-05-13
1
408 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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

12 Experts available now in Live!

Get 1:1 Help Now