quote:
<cfchart format="flash" chartwidth="900" chartheight="400"
seriesplacement="stacked" xaxistitle="Month" yaxistitle="turnover"
showlegend="true">
<cfchartseries type="bar" seriesLabel="item 4">
<cfchartdata item="Jan" value="276">
<cfchartdata item="Feb" value="0">
<cfchartdata item="Mar" value="0">
<cfchartdata item="Apr" value="69">
</cfchartseries>
<cfchartseries type="curve" seriesLabel="item 4 show as percentage" seriescolor="cccccc">
<cfchartdata item="Jan" value="4.92">
<cfchartdata item="Feb" value="0">
<cfchartdata item="Mar" value="0">
<cfchartdata item="Apr" value="3.52">
</cfchartseries>
<cfchartseries type="bar" seriesLabel="item 2">
<cfchartdata item="Jan" value="434.14">
<cfchartdata item="Feb" value="694.67">
<cfchartdata item="Mar" value="1237.67">
<cfchartdata item="Apr" value="358">
</cfchartseries>
<cfchartseries type="curve" seriesLabel="item 2 show as percentage" seriescolor="cccccc">
<cfchartdata item="Jan" value="7.73">
<cfchartdata item="Feb" value="11.35">
<cfchartdata item="Mar" value="23.38">
<cfchartdata item="Apr" value="18.04">
</cfchartseries>
<cfchartseries type="bar" seriesLabel="item 1">
<cfchartdata item="Jan" value="4907.29">
<cfchartdata item="Feb" value="5400.06">
<cfchartdata item="Mar" value="4042.76">
<cfchartdata item="Apr" value="1559.91">
</cfchartseries>
<cfchartseries type="curve" seriesLabel="item 1 show as percentage" seriescolor="cccccc">
<cfchartdata item="Jan" value="87.35">
<cfchartdata item="Feb" value="88.25">
<cfchartdata item="Mar" value="76.34">
<cfchartdata item="Apr" value="78.45">
</cfchartseries>
<cfchartseries type="bar" seriesLabel="item 3">
<cfchartdata item="Jan" value="0">
<cfchartdata item="Feb" value="25">
<cfchartdata item="Mar" value="15">
<cfchartdata item="Apr" value="0">
</cfchartseries>
<cfchartseries type="curve" seriesLabel="item 3 show as percentage" seriescolor="cccccc">
<cfchartdata item="Jan" value="0">
<cfchartdata item="Feb" value="0.41">
<cfchartdata item="Mar" value="0.28">
<cfchartdata item="Apr" value="0">
</cfchartseries>
</cfchart>
CF 7.01 CF7.02 stacked chart displays negative axis
report data binding error unknown column name
I am having a problem with the new 7.02 update of Report Builder. The issue is it's not finding my SQL query.
I have wrote my query initally in the advance mode, and it doesn't seem to reconize it. Is there an issue with this?
I did manage to fix one of my reports by using the basic mode and selecting all my tables and seting my linkage and criteria.
I have other computers that i have not updated to 7.02 and they do not have this issue. Below is the error:
------------------------------------------------------------------------------------------ --------------------------------------------------------------------------------
Error Occurred While Processing Request
Report data binding error Unknown column name : work_phone.
Please try the following:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Remote Address 127.0.0.1
Referrer
Date/Time 13-Jul-06 02:33 PM
Stack Trace (click to expand)
coldfusion.runtime.report.Report$ReportDataBindingException: Report data binding error Unknown column name : work_phone.
at coldfusion.runtime.report.Report.runReport(Report.java:420)
at coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:96)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:106)
at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:157)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
------------------------------------------------------------------------------------------ --------------------------------------------------------------------------------
This report works in 7.01. So all query variables match with a variable in the SQL select statement.
Anyone have any Ideas??
Thanks,
Daniel
CFDocument- Output is cutting lines
I am using Adobe PDF Pro V6 so, thinking it may have to do with the Adobe version (not necessarely your average user) I went to a workstation that uses Adobe Reader V7 but same result!!!???
Any help would be much appreciated.
Thanks,
ClaudeTextReader
XHTML formatting does not work
XHTML formatting text parameter for query fields does not seems to work (MS SQL ntext containing fckeditor HTML text).
- My DB is MS SQL, code page FRENCH (may be the issue ?), tested both nvarchar(max) and text field types.
- I've tried both direct cfr invocation and cfreport (+ styling techniques: external Css or "cfset inline CSS" ).
- I've set the XHTML Text Format for the field within the report builder
Anyone had the same problem or any similar issue ?
Thanks in advance.
Edit, 4 hours later ...
I found the problem (by inserting different combinations of HTML instructions in the DB string).
While a trivial <p>toto</p><i>titi</i> will work, the whole string will be escaped (<p> = <p> ) as soon as an unrecognized sequence (as á ) will be found. So the problem is identified ... not the solution yet.
Function in Report Builder
I have written a function in one of my reports. I get the error message "Element ST_ADDR is undefined in ADDRESS." when I try to run the report. My funtion looks like:
<cfargument name="ss" required="yes"/>
<CFSET variables.BoxNo = ''>
<cfquery name="qmailbox" dbtype="ODBC" datasource='#session.ds#'>
SELECT address.st_addr, address.type
FROM address
WHERE address.type = 'Campus' and address.soc_sec = '#arguments.ss#'
</cfquery>
<cfif qmailbox.recordcount gt 0>
<cfset variables.BoxNo = address.st_addr>
</cfif>
<cfreturn variables.BoxNo>
It is possible that there might not be a address.type of 'Campus' for every record passed to this function, that hy I check recordcount. I am open to any suggestions you have.
Thanks
long page in cf report maker
Hi,
I am new to cf report maker.
I made a report which is long in detail part. The layout of my report is free form. When I want to preview it it has this error:
"Report design not valid : 1. The detail section, the page and column headers and footers and the margins do not fit the page height. "
Please let me know how I can solve this problem?
Is it possible to write a report which is more than 1 page in cf report maker or not?
Problem with bar cfchart, yaxistitle distorts mouseover text
I am having a problem with cfchart bar charts, have searched but not found a solution. If I specify any value for yaxistitle, it distorts the text that appears when you mouseover. If I don't specify yaxistitle, the text in the mouseover "bubble" looks fine. But if I specify *anything* for yaxistitle, it does not.
Here are a couple of snips that show the problem. This one has yaxistitle="US$ million" in the cfchart tag
This one did not have anything for the yaxistitle parameter.
The clients would prefer, and I agree with them, to have "Private Sector" left aligned, above the yaxistitle value and data value. I experimented with the default.xml style file, to no avail.
Suggestions welcome!
- Michael
Count calculated field not working on the group header
Hi guys,
I would like to ask your opinion why the COUNT calculated field not working on the GROUP header? Suppose I have 10 records in the report. It should display 10 not 0. But if I put the count field in the Group Footer it worked fine. So a little weird 'coz I've tried something like this in the crystal report and it worked fine.
Any idea? Thanks a lot.
cfdocument format = PDF - does not format correctly
Greetings
I am simply attempting to print invoices from a query that displays correctly on the cfm result page, but using cfdocument to render a PDF version (to mail out) does not format even remotely close to the cfm page.
I tried every conceivable method I know of, including:
Formating the cfm page (via CSS and hardcoded table width) to be 612 px X 792 px (8.5 X 11 in), and here is the cfdocument code:
<cfdocument
format="pdf"
pageType="custom"
unit="in"
marginbottom="0.75"
marginleft="0.75"
marginright="0.75"
margintop="0.75"
pageHeight="11"
pageWidth="8.5"
mimeType="text/html"
fontembed="yes"
orientation="portrait">
<style type="text/css">
@import url(css/moorings.css);
</style>
<html> blah blah </html>
</cfdocument>
The rendered PDF file is 4.5 X 5 in- (both in IE and Firefox) What am I missing here?
CF 9
Thanks in advance, as always.
cfprint on a dot matrix printer
Hi all -
I have a pdf that I'm printing on a dot matrix printer. In my pdf, I've specified that it should print using the Courier font. When I look at the pdf in Adobe Reader, it's in courier and when I print the document directly from Adobe Reader it prints in courier. However, when I print the same document using cfprint it prints using a san serif font.
Any idea how I might get cfprint to acknowledge the courier font?
Any news in Reporting with CF10?
Any news in CF Reporting engine with CF10?
Alex/
Changing value of Param
I have a report that passes a date (time stamp) to a subreport. Sometimes the date being passed is null (or an empty string) and the report . When this happens get an "Incompatible java.lang.String value assigned to parameter GradDate1 in the ColdFusionReport dataset.". I want to change the value of the Param being passed to current date. Where and How can I change the date in the parama being passed. I've tried many things (functions, in the query, etc) and can't get anything to work. We are on CF 9. Please help!
sub report in column header
Infinite loop creating new page due to column header overflow.
I have a sub report on the column header which works,
Because my sub report return different records from data source, it fails and get infinite loop error message like above when I have 9 records, it works less than 9 records.
I would like to know my sub report returns records some times more, are there any place for my subreport?
Are there limit for sub report?
Your help and information is great appreciated,
Regards,
Iccsi,
Stretch with overflow
I have a CF 10 report with an Excel Output format. One of my columns needs to stretch. When I set the Fromatting "Stretch with Over to True" and the Print Control "Position Type" to Floating and the "Stretch Type to Relative to Band Height" for all the fields on my detail I get an exxtra line in my excel output when there is an overflow condition. I am including an image of the output.
What am I missing?
Thanks
create Report charting data series
I want to add chart to my report and add a chart control on my report.
I double click on the chart and edit chart type as line chart and edit chart series.
I use Data from a fix of values and choose the field name from the drop down from my data source field name, but I got following error message.
An error occurred while trying to create a chart on this report. | |
Ensure that the column(s) selected for the chart series are numerical values. Error: The chart could not be generated due to an error in the graphing engine. |
I tried to select from data from query. I have to build my query from report.
I use a stored procedure for this report, so I need advance to build my query, once I use the stored procedure then Report Builder warn me that it will erase all fields to recreate fileds.
I would like to know what is the right procedure to create chart for the report.
Your help and information is great appreciated,
Regards,
Iccsi
Reporting width scale and change group
I have a chart data source for 25 columns and assign to my line chart data source.
The chart shows data but only use 50 percent of the chart width.
I would like to have my chart extend the full width of the report which is landscape orientation.
Are there any property to set stretch the whole width?
My report has group like element 1, element 2. Chart has evaluation group property to set.
I set it to my group name which is MyElement, but it seems that the chart prints the same chart for the all group.
Are there any property to set the the chart print different chart base on the group.
I have my chart in Group Footer. Should I have it in detail band?
Thanks a million for the information and help,
Regards,
Iccsi,
Could not initialize class coldfusion.runtime.report.Report
(mx.rpc::Fault)#0
errorID = 0
faultCode = "Server.Processing"
faultDetail = (null)
faultString = "Could not initialize class coldfusion.runtime.report.Report"
message = "faultCode:Server.Processing faultString:'Could not initialize class coldfusion.runtime.report.Report' faultDetail:'null'"
name = "Error"
rootCause = (null)
My searching for a solution has not been successful on Google. Has anyone experienced this error and been able to fix it? I'm at a loss on what to do next, and as the app is in production, I have some upset clients over this.
Thanks!!
Jenn
CFDocument leaves a lot of white space after the header
Dale
CF Report Builder Keep Losing Styles
Can't add attribute to 0-length text
Is there some kind of clue or secret code to help figure out what is going on here? I have no 0 length text at least that I can see. How can I pinpoint which control or field may be causing the problem?