Cold Fusion Graphing - overlay bars in chart
I would like to have 2 bars in one spot, so I can communicate amount done and target. For example if a sales goal is 40/quarter, I want to show the 20 existing sales and the 40 to reach the goal.
I know I can do this with a piechart, but there are 5 factors I want to show this way - pie charts are simply too big. If it matters, this data will be dynamic.
Thanks in advance,
CB
Disregard, just was not thinking abou this in the right way. Here's the code that does what I wanted:
<cfchart format="flash" xaxistitle="Programs" yaxistitle="ProgramTotals" seriesPlacement="stacked" showLegend="yes" showMarkers="no" chartHeight="200" chartWidth="300">
<labelStyle orientation="Horizontal"/>
<cfchartseries type="bar" seriesLabel="Accepted" colorlist="green,blue" >
<cfchartdata item="MBA" value="#CurrentlistCounts.MBA#">
<cfchartdata item="AMBA" value="#CurrentlistCounts.AMBA#">
<cfchartdata item="CQEMBA" value="#CurrentlistCounts.CQEMBA#">
<cfchartdata item="EMBA" value="#CurrentlistCounts.EMBA#">
</cfchartseries>
<cfchartseries type="bar" seriesLabel="Seats Remaining" >
<cfchartdata item="MBA" value="#CurrentlistCounts.MBA_SeatsLeft#">
<cfchartdata item="AMBA" value="#CurrentlistCounts.AMBA_SeatsLeft#">
<cfchartdata item="CQEMBA" value="#CurrentlistCounts.CQEMBA_SeatsLeft#">
<cfchartdata item="EMBA" value="#CurrentlistCounts.EMBA_SeatsLeft#">
</cfchartseries>
</cfchart>
Similar Messages
-
Making different graphs like bar chart in excel sheet
Hello,
In my application i have to make different graphs like bar chart,pie chart etc which is present in the excel sheet.In the same excel sheet i have to make the graphs based on the data through java program.
I am unable to do it.Can anyone suggest me how to do.Is there any api and documents(for reading )for it?
thanks in advance
chimpukHi, you might want to do a search before you post. At the top of the page is a link to advanced search. Right-click on it and choose 'open in a new window'. Now, in the 'with all the words' box type the word excel, then hit the space bar, then type the word chart[b], now down lower clear all the checkboxes except [b]Java Forums, now hit the Search button and you get a list of threads related to excel and chart. Read a few. I think most of your questions will be answered.
-
Need help in Line bar combo chart - line is not prominent in dashboard
Hi All,
I face an issue where the line in a line bar combo chart is not prominent in Dashbords.
lets say i have 5 reports (all of them are line bar combo charts) in a dashboard. The lines in graph are not prominent or not displayed in usual thickness. But this scenario does not happen always. if i scroll down or up the browser(here i am using IE8) some of the reports displays line in the charts and some does not display the line. when i click on the report then the line will be displayed.
please suggest whether this is a browser issue ror something to deal with OBIEE itself.
Thanks in advance.Hi,
It's a bug in obiee11g. kindly download the patch file from My Oracle Support and delpoye it
OBIEE 11g: Line Bar Combo , With Stacked Chart , The Bar Width Gets Affected [ID 1369493.1]
Patch 12947990: BAR CHANGES WIDTH WHEN CHART CHANGED FROM DEFAULT LINE-BAR TO STACKED LINE-BAR
Symptoms
When the chart type is changed from Standard or Default line-bar to Stacked line-bar chart, the bars are reducing their width.
Line-bar should keep the width of the previous bars.
However, when vertical Bar is changed to stacked vertical, the bar width remains the
same. But when a regular Line-Bar is changed to stacked vertical, the width
changes (reduces, in this case it becomes half the original width)
Cause
For dual Y stacked bar graph, the bar width was half of the regular bar width
because the series assigned to Y2 was given the half of the space also. This is not needed if the marker type for Y2 is not bar.
The following bugs have been opened to handle this issue
Reference Bug:
Bug 12931660 - line bar combo with stacked chart changes its width
BUG:12931660 - LINE BAR COMBO WITH STACKED CHART CHANGES ITS WIDTH
BUG:12947990 - BAR CHANGES WIDTH WHEN CHART CHANGED FROM DEFAULT LINE-BAR TO STACKED LINE-BAR
Patch 12947990: BAR CHANGES WIDTH WHEN CHART CHANGED FROM DEFAULT LINE-BAR TO STACKED LINE-BAR
Bug Ref:
e.x: applying patch file refer the below file
http://obieeelegant.blogspot.com/2011/11/how-to-apply-patches-using-opatch.html
Thanks
Deva -
Will Cold Fusion run on an IBM mainframe running RHEL6?
Need to know if Cold Fusion can run under zLinux and RHEL.
To my knowledge, and I could be wrong, the only OSs that CFServer can run on are Windows and Mac. Now I know that Mac is just a graphic overlay to a FreeBSD (or similar) OS, but I've tried finding a version that will run on Ubuntu, and (from what I've been able to discern via Google) there aren't any. Nor can you install Adobe CS5 or earlier. Keep in mind, this research was about a year ago, so things may have changed.
^_^ -
Updater 2 and Dreamweaver's Cold Fusion development server
Hello,
I am in the process of developing a Cold Fusion Web
application for my university dean's office using...
<cfobject type="COM" action="create" name="Chart"
Class="Corda.Embedder">
...and I am receiving this error message...
An exception occurred when instantiating a Com object.
...the Corda documentation states the following, and I agree
with them that this is what I am experiencing and need to do...
COM Corda Embedder (Windows)
If you are using ColdFusion MX on Windows, be sure you have
updated your server to the latest version using the ColdFusion MX
Updater Release 1. This is available at
http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx_updater.html.
You will need to apply this update to fix a bug in ColdFusion MX
that prevents it from accessing Window’s Component Object
Model (COM).
Other than that, you don’t need to do anything. The COM
version of the Corda Embedder is installed automatically for you.
...I am running Windows XP Professional 2002 SP2, and the
Cold Fusion Developer Server THAT COMES WITH Dreamweaver 8.0. The
Cold Fusion server is an established server running several CF
applications. The Corda product is also known to be running fine,
as I am able to view my current projects in a browser.
Server Details
Server Product ColdFusion MX
Version 7,0,0,91690
Edition Developer
Serial Number Developer
Operating System Windows XP
OS Version 5.1
1) Am I missing something with instantiating the COM object?
2) How can I tell if I need the Cold Fusion updater?
3) Which updater version do I download (1 or 2) and for which
server (MX, MX7, Special Dreamweaver version)?
4) Where do I install the updater - since I am running the
Cold Fusion Developer Server that comes with Dreamweaver, it is not
located in the default C:\CFusionMX7 directory?
Thank You Very Much For Your Time,
Nathan
Technology Support Analyst, Sr.2) How can I tell if I need the Cold Fusion updater?
Version 7,0,0,91690
You are on Version 7MX, no updater. After the update you will
have a
version something like this.
Version 7,0,1,xxxx OR Version 7,0,2,xxxx
3) Which updater version do I download (1 or 2) and for which
server
(MX, MX7, Special Dreamweaver version)?
You need to download and install at least updater 1 for MX 7
per the COM
instructions, updater 2 (which by default includes updater 1
IIRC) could
be even better, but has a small chance of doing something you
don't want
it to. One would have to read all the tech notes and make a
decision.
There is no "Special Dreamweaver" version, it is just the
standard Free
Development version anybody can download and install. "Serial
Number
Developer" And to turn this into a professional version all
one has to
do is purchase a license number an enter it into the
administration
panel. This converts a developer CF server to a Production CF
server
with no other downloading or installing necessary.
4) Where do I install the updater - since I am running the
Cold Fusion
Developer Server that comes with Dreamweaver, it is not
located in the
default C:\CFusionMX7 directory?
Most likely the installer will figure that out. If it does
not, just
provide the directory/file path to where your CF is installed
when asked.
HTH -
How not to use Cold Fusion and Java
Overview
This write up is intended to give java developers that are
developing ColdFusion applications some beneficial information:
things that are not documented.
Scenario
The company builds enterprise class web application software
for fortune 500 companies. It had purchased a CF 7 based product,
had and existing proprietary J2EE based product, and needed to
integrate the two while meeting a host of new requirements. These
requirements were based on delivering a better user experience,
faster / cheaper integration, increased flexibility /
configuration, useablily, decreasing maintenance costs, the ability
to deploy in either install or ASP models. An initiative was
started to create a new framework that integrated the best of each
technologies. Tactically, this meant that we were to build a hybrid
CF and java application: one that used building blocks (decoupled /
cohesive components) that would allow applications to be rapidly
assembled, configured and deployed. This made sense on several
levels, the team was composed of Java and CF developers, the CF
rapid application development was very productive, there is great
functionality delivered in the CF platform and initial performance
tests showed no cause for alarm
The agreed upon design, based on requirements, and analysis
by both the CF and Java staff has us using CF in the presentation
layer, using a CF based MVC, use of CF based web services. The MVC
was deployed using CFC inheritance for model objects and views made
use of CF custom tags. The internals of the application, used a
rules engine, some proprietary java, ORM, and other J2EE
technology. The initial performance of the system was reasonable.
We pushed on with product implementation.
Then it was time to load test the application, and tune it.
Under load the response times were orders of magnitude slower,
sometimes the pages even timed out.
Armed with our profiler, oracle execution plans and we
charged ahead addressing issue after issue. Note that we took
meticulous care in tweaking the active thread pool and ensuring
that our CF setup was tuned for our application. None of the
observations here are a condemnation of the language; rather they
are aspects that, when considered together, not conducive for
building integrated java and CF frameworks that use a structured /
OO programming practices. Further detail can be provided on
request.
CFC inheritance should be avoided - resolution of variable
scope is expensive even if properly declared.
Since CF creates a class per method under the covers call
stacks become very large, especially if used in a loop. This is
nominally exacerbated by CF calls necessary to set up for the
method call (String.toUpper()).
Nesting of loops and if statements should be kept to a
minimum - the conditional for each lookup of logical operator like
LT, GT are synchronized. Under load this results in thread waits.
Jrun has as single thread pool - both http and web service
requests use the same pool. Under load this leads to thread
deadlock. There are work arounds, but they are painful.
Recursion should be avoided - we had a few recursive routines
and these had to be rewritten.
Custom Tags - should be used sparingly - each custom tag
makes a synchronized call to the license server - (This may be
fixed in CF 8)
Summary
In the end we got the performance to reasonable numbers, but
we ended up moving some code to java (Custom Tags) and getting rid
of 'good programming' practices (Inheritance, loops, etc), mandated
proper variable scoping for those things left over. We prototyped a
sans cold fusion implementation and had an order of magnitude
improvement in performance and number of requests served per
second.
The lesson? Use Coldfusion in its sweet spot: make a query,
iterate over the results and format for display. Extensive use of
structure programming techniques or OO CFCs should be avoided: they
will work but under load - but are better as a prototype. Building
frameworks in CF? Think twice, no three times, and, if you must, be
minimalist.
Textinteresting aslbert123,
Not that I doubt you, but could you answer some questions
about your implementation that was so slow:
1.) Did you put your CFCs in the application or server scope?
2.) Were you initializing your CFCs, via CreateObject or
<cfinvoke>, on every request?
3.) Are you sure that you were properly Var'ing every
variable in your methods? (people typically forget about query
names and loop iterator variables)
4.) Could you give examples of how your inheritence was set
up?
5.) For CustomTags, did you call them the old <cf_tag>
way or the newer, better-performing <cfimport> way?
6.) How did you connect CF to Java exactly?
Thanks,
Aaron -
Need to dial a phone number from Cold Fusion
My boss asked me if there was any way that a phone number
could be dialed from Cold Fusion. We have a website where at some
point we want to just click a button and dial that phone number. My
guess is that the conversation will then be carried through the
computer's microphone and speakers and using the computer's modem.
Let me know if there is a way, or what would be the easiest
way to accomplish this, even if it has to be using VOIP, since
that's an option for this project.
Thanks!Is this an internal site or an public-facing site? If you are
talking about using this tool in your intranet and you have a
modern phone system in place, there may be an API to interfacing
with your phone system. We use a TAPI interface to create a phone
dialer so our callcenter agents can dial a phone number on their
phone just by clicking on a link. I'm pretty sure there are a bunch
of freeware/shareware TAPI COM objects you can use floating around
the interwebs (If your phone system supports TAPI).
If you are talking about a public-facing website, then I'm
afraid I can't offer much advice other than to check out the Java
Communications lead that Ted gave you. -
How do you determine what version of PHP is on the cold fusion server
I am trying to find out what version of PHP is on my cold
fusion server, how do I do this? Does coldfusion come with
PHP?In the C:\Windows folder, locate the file called php.ini and
open it in Notepad.
<?php phpinfo() ?>
I answered it myself. Maybe it can help someone else. -
Hello everyone- Would anyone know how to create error bars in charts in Keynote 3? I can't seem to find an answer anywhere to this question. Many thanks to future replies...
Powerbook G4 Mac OS X (10.4.6)You can't get Keynote charts to generate error bars, or to use error bar information from some other source -- that functionality just isn't available in natively-produced Keynote charts.
However, charts that are copied from Excel and pasted into Keynote look quite good. You won't get all the cool textures, or 3D effects that you can with Keynote charts (and not having the latter is a good thing in my book). But, if you set the background of the chart to "None" from within Excel, the chart background will be transparent in Keynote, and you can do things like apply shadows that will conform to the chart elements. Any formatting that you do in Excel should be respected by Keynote. -
Modifying cold fusion script not picked up by iis
We are running coldfusion 7, using iis6 on windows 2003 server. I am not a cold fusion developer and this is the only coldfusion script we have created by a previous developer. I needed to make some simple modifications to the script, including a change in the title. After having restarted IIS the modified script is still not showing the new title. What do I need to do for iis to show the changes in the cfm file?
It's in the CF Administrator, which is separate from the JRun Admin Console. You can often get to the CF Administrator with a URL like this:
http://your_server/CFIDE/administrator/
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
Read this before you post:
http://forums.adobe.com/thread/607238 -
Cold Fusion in a generic thread pool and enabling JAVA don't mix
I've got Cold Fusion MX installed on a server running Sun One 6.1. I ran into a problem trying to enable JAVA (for servlet support) which I had previous disabled because I didn't use it.
Well, when I went to enable JAVA on the server last week, the service wouldn't restart and the error logs gave me no indication of the problem.
Through a tedious trial-and-error process I've found that having Cold Fusion running under a generic thread pool while trying to have JAVA (the j2ee plugin) running under Sun One simply doesn't work (for whatever reason).
Once I killed the pool, everything runs fine.
Does anyone happen to know why this is? I keep CFMX under its own thread pool because there are certain elements to CFMX that aren't wholly stable and can result in CFMX crashing. If it crashes, the process keeps accepting requests, but never processes them. I'd like to keep the native thread pool free to keep accepting non-CFMX requests even when CFMX crashes.
Thus the separate thread pool for CFMX.
But now I can't run CFMX in a separate thread pool with JAVA enabled.
Anyone have any insights into why this is?
ThanksTwo things. Firstly, it's better to use private static final Object classLock = new Object();because that saves you worrying about whether any other code synchronises on it. Secondly, if you do decide to go for the delegation route then java.lang.reflect.Proxy may be a good way forward.
-
How to convert/download videos embedded with cold fusion?
Does anyone know of a free video conversion software that will convert and download online videos embedded with cold fusion ("cfmid=?") format/extension? I tried a few online sites and they do not support that format yet. Please help. Thank you so much!
JudyActually COLD FUSION was a hoax a few years ago. COLDFUSION is the app.
If you need content from a web site, talk to the developer.
fwiw - Since ColdFusion is an Adobe app, you should try asking your question on that forum. This one is here to primarily support Shake.
Have fun.
x -
I'm unable to connect to database thru cold fusion
I'm unable to connect to database thru cold fusion. it
sometiems give me an error that your uname is undefined , soemtimes
it gives ur index page not found so i created index page also but
still im unable to connect to database n update my records..plz
help me out..im a fresher in cold fusionI am having a similar problem having CFMX 7.02 verify my SQL
Server 2005 Data Sources.
I am using the sa account for CF to access the db's. But i
get the following error:
Connection verification failed for data source: myDatabase
java.sql.SQLException: [Macromedia][SQLServer JDBC
Driver]Error establishing socket. Connection refused: connect
The root cause was that: java.sql.SQLException:
[Macromedia][SQLServer JDBC Driver]Error establishing socket.
Connection refused: connect
Every role in SQL Server has the sa grantor Grant enabled. I
can also login to SQL Server with the sa account w/o a hitch.
I don't know what else to do. The server information is set
to the ServerName port 1433, datasource name and database name are
the same as the database name in sql server, and the username and
password are set for the sa account.
Thanks! -
Can you run the latest Cold Fusion version in association
with CS3 Web Premium for Mac on a Mac without a Windows
shell?Scooter,
I use a Macbook Pro (OS X 10.4.9) and run CFMX 7.0.2 (on top
of JRun 4 and NOT as a standalone web server) with no issues. I
also have CS 2.3 Premium on my machine. I will be getting CS3 in
about a week or two when it releases but there should be no issues
whatsoever with this configuration. -
Xp pro config question with cold fusion(newbie)
Hello,
I'm a beginner and I want to learn studio mx 2004.In trying
to learn Macromedia MX for windows ,I've gone thru the installation
process in the manual for installing Cold Fusion for the server
side of things.My question is, I'm not sure if IIS is mnadatory in
order to use cold fusion.Is it a case of using one or the other or
is the IIS service required to run Cold Fusion? Also im using cold
fusion5 is cold fusion mx = to cold fusion 6.1?Thanks for answering. Is there any benefits to running both
servers? I
don't want to confuse myself with too many
options.Essentially,I could
learn Dreamweaver (my ultimate goal) by using either
installation.
No, while it is possible to run multiple versions of CF, it
takes extra
configurations to do so. I would say this is unnecessary for
just
learning. I would strongly suggest upgrading. CF 5 is the
oldest and
most limited version of CF still officially supported by
Adobe. The
latest version is 7.0.2. There is a huge, major, complete
rewrite of CF
and many other bug fixes and enhancements between CF 5.x and
the current
version.
The current version and all versions of CF are free for
download from
Adobe for a personal development copy. If you do so now,
before you
start writing code, the upgrade install IIRC is quite
painless and will
use the configurations you have already chosen.
Maybe you are looking for
-
Error when using Analytic view with Input Parameters
Hi, I am trying to create an info space based on my Analytic view which has input parameters. The infospace is validated and indexed without any issue. However when I ran the view, I get an error (50011) as it is unable to fetch any results. I tried
-
Weblogic 8.1 managed server unable to contact Admin server
I have a strange issue here. I have admin server on Linux Machine A Managed server on Linux Machine B. When i try to start managed server on Machine B, i get the following error. The WebLogic Server did not start up properly. Exception raised: 'weblo
-
Implementing Google ForceSafeSearch on Mac OS X Server
I'm trying to implement Google Safe Search - per Option 3 at this article: https://support.google.com/websearch/answer/186669 - on our Mac OS X Server. In other words, I'm trying to force Safe Search via DNS by creating a CNAME alias to "forcesafesea
-
Enable paywall for free folios
The social sharing feature is great; especially the ability to share to someone without an iPad. Currently we cannot set a paywall for our magazines because they are free. To be able to use social sharing to increase our download numbers would be jus
-
Transaction support in RDBMS event adapter
I am using RDBMS adapter v7.0 SP2. 1) Does anyone know if the reading of a database record (event) from an Oracle DB, its transfer to the WLAI_EVENT_QUEUE JMS queue and execution by the RDBMS adapter of the "Post SQL query" on the originating databas