Can You Create Trend Line in CFCHART?

Have pretty much got CF7 Charts and WebCharts3D down, at
least to the point where they can do what I need the most. However,
the one thing I'd like to be able to do, but not sure if it's
possible, is create a TREND LINE.
This would be a LINE charts with 2 series. The first series
would be a line with the actual counts covering a period of time.
I'd like to add a 2nd line, using the same data from the
first series, but have it displayed as a TREND line. In Excel, you
can easily create a TREND line, it's even offered as an option.
I've seen somehwere (CFCHART or WebCharts3D) something to so
with "logarithmic" options, which is one of the options for Excel
charts.
Two more quick questions:
Q1. Is there any way to control the margin between the left
and right borders of the charts, and the bars? Have tried
experimenting, but can't seem to get this to work. Reason is, when
I try to show a chart in 3D, the first bar on the left is "butted
up" against the left chart border. Would like to add a little space
there.
Q2. Rather than display rectangular bars, I'd like to display
rounded cylinders. I've tried setting the chart type in CFCHART to
"cylinder" but it still displays a bar. When I try to change the
type to "cylinder" in WebCharts3D, the chart STILL displays
rectangular bars. Yet I've seen many examples of rounded, cylinder
bars.
Don't mean to push my luck with too many questions. Thanks
for any advice, help.
Gary

Trend Lines:
CFChart does not do trend lines of any type. However, it is
not too difficult to compute the regression of your choice and to
plot it as a second series.
Logarithmic:
Not sure what you are asking here.
In theory, cfchart does do log-lin and log-log charts.
However, it is so buggy, and the scaling problems are so
great, that we have never been able to get it to work well.
We use ChartDirector for anything that requires a log scale.
Side margins:
You cannot control these directly. Here are some workarounds:
For "Category" axis:
Make sure the "isBucketed" property is set to true (this is the
default).
If that is not enough, add extra bars to your data series,
usually value zero. It's not ideal but it may be good enough.
For "Scale" axis:
Usually this works well enough. Otherwise, try toggling the
"isAbsolute" property.
The only other recourse is to manually scale the plot using the
"scaleMin" and "scaleMax" properties. This can be a real pain for
obvious reasons and also because cfchart scaling is fraught with
bugs and "quirks".
Cylinder Bars:
These work. Perhaps there was a setting conflict within the
XML or between the CFChartSeries setting and the XML?
Also the cylinders will only look round when 3D is turned on.
(Side view of a cylinder is just a shaded bar.)
Anyway, I've said it before: cfchart is barely usable for a
very limited range of charts.
For real business or common engineering and scientific needs,
you need to step up to something better.
The package we use (has all the features and very reasonably
priced) is ChartDirector (
http://www.advsofteng.com/cdcoldfusion.html).
(And, no, I'm not affiliated.)

Similar Messages

  • How to create trend line in cfchart?

    I can create a scatter chart in cfchart - but I do not know how to create a linear regression trend line in the same chart as a second data series. Kodemonki provided an answer in a forum discussion a few years ago (http://forums.adobe.com/message/192848#192848) - but I am not able to make it work (I have a dangerously small knowledge of coldfusion and statisitcal formulas). Can someone tell me where i put in my to data query variables - such as for a query that gives results for two data fields, "Item1" and "Item2".
    Here is Kodemonki's solution:
    <!--- The min setting is a preference based on how you want the data to be displayed. --->
    <!---<cfset min = arrayMin(grabData["value"]) - 5>--->
         <cfset min = 0>
         <cfset max = ceiling(arrayMax(grabData["value"])) + 1>
         <cfset n = grabData.recordCount>
         <cfset sum_x = 0>
         <cfset sum_x2 = 0>
         <cfset sum_xy = 0>
         <cfloop from="1" to="#grabData.RecordCount#" index="i">
              <cfset sum_x = sum_x + i>
              <cfset sum_xy = (i*grabData.value[i]) + sum_xy>
              <cfset sum_x2 = sum_x2 + (i*i)>
         </cfloop>
         <cfset sum_y = arraySum(grabData["value"])>
         <cfset slope = round(((n*sum_xy) - (sum_x*sum_y))/((n*sum_x2) - (sum_x*sum_x)))>
         <cfset intercept = round((sum_y - (slope*sum_x))/n)>
         <cfset best_fit = QueryNew("id, value")>
         <cfloop from="1" to="#grabdata.RecordCount#" index="i">
              <cfset queryAddRow(best_fit)>
              <cfset value = round((slope*i) + intercept)>
              <cfset QuerySetCell(best_fit, "id", grabData.xlabel[i])>
              <cfset QuerySetCell(best_fit, "value", value)>
         </cfloop>
         <cfchart scalefrom="#min#" scaleto="#max#" title="#GrabDatapointInfo.label#" format="jpg" chartHeight="450" chartwidth="500" xaxistitle="Month/Year">
              <cfchartseries type="line" query="best_fit" valuecolumn="value" itemcolumn="id"/>
              <cfchartseries type="line" query="grabData" valuecolumn="value" itemcolumn="xlabel"/>
         </cfchart>

    Have you read the docs for CFCHART, CHCHARTSERIES, etc?  Did you mess around with the example code sufficiently so you understand how the tags work?
    http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-79 30.html
    Adam

  • Can you creat an apple id through the computer?

    Can you create an apple id through the computer?

    Yes.
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/

  • Can you creat an Apple ID using the iTunes gift cards?

    Can you creat an Apple ID using the iTunes gift cards?

    Jack, are you trying to make a new account on a computer or and iOS device, you need to click the links and follow the instruction to make the account without a credit card.  After you make your account then redeem your iTunes card. http://support.apple.com/kb/ht2534

  • Can you create apps after 1st May 2015 using Adobe DPS single edition?

    Can you create apps after 1st May 2015 using Adobe DPS single edition?
    I currently have SE via creatieve cloud - one of the only reasons we switched to CC was for the DPS SE.
    Does anyone know if this capability will just be 'switched off' at midnight 1st May 2015?? There are huge costs for going the enterprise route but with no date in sight for Publish to be launched I am not sure I can wait for this, or should I???

    Adobe states: Please note that the Digital Publishing Suite, Single Edition, service will be available for use until May 1, 2015, but beyond that date the service will no longer be available.
    So essentially my licence will expire on 1st May - Adobe's note just mentions 'service' -  even though part of CC and I will not be able to maintain my app or create any more IPA's after 1st May. I can't beleive there is nothing to switch over to other than paying thousands of pounds for enterprise??
    Just all so vauge, feels like a plug is going to be pulled and thats it??? Maybe I am missing something?

  • Can you create a file without presenter's notes?

    Can you create/export a file that won't be able see presenter's notes, either in Keynote or PPT format?

    Yes, I can export to pdf without the notes. I was wondering if it was possible to send someone the slides in PPT format without including my presenters' notes.
    They are lecture slides for a class, so I am giving my students copies in pdf, but I might want to give them to someone else in a format they can edit and use as slides, but without having my notes to myself in there. I suppose it's not designed for such an option, as far as I can tell, hiding the notes doesn't make a difference if exporting to PPT.

  • How can you change your line access selection?  I have found where you can change your plan selection, but can you change the line access fee or is that a set amount?

    How can you change your line access selection?  I have found where you can change your plan selection, but can you change the line access fee or is that a set amount?

        DIVAB71,
    Great question. The line access fees for the account are a set amount and can not be changed unless you are going from a basic to a smartphone or vice versa. If you are wondering about adding the month to month discount if you are out of contract Ann154 has provided great information on how to access and add the feature.
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • How can you create a spry menu bar with no background colour?

    How can you create the first level of a spry menu bar to have no colour? I have a coloured background right now and the colour matches when you load the site in Internet explorer but does not match in Firefox. Any suggestions are welcomed on how to fix this.
    Thanks!
    HK

    Here is the site:
    http://partnersnaturally.ca/
    I am learning with code, (obviously) so any feedback would be nice. I use dreamweaver CS4, but when I originally designed the site it was in a much older version of dreamweaver. I wonder if that could also be a cause. (besides human error)
    Thanks again,
    HK

  • How can you create a writable PDF document from a PPT presentation ?

    How can you create a writable PDF document from a PPT presentation ? Upper part with the image , lower part with a free space in order to take notes for students during presentation or course.
    Thanks.
    B

    You can make a PDF file out of you notes and handouts but using the Adobe PDF printer.
    Open your PowerPoint Document then go to “File” “Print”
    Select ‘Adobe PDF” Printer
    Under slides, select which way you want to print. Note it will not print to a printer but to a PDF file.
    After then go into printer Properties and Setup PDF properties, do the following: (see second image below)
    Default: PDF/A 1-b
    Adobe Security: none (change as needed)
    Adobe Output folder: Prompt for Adobe file name
    Adobe Page size: Letter (change as needed)
    Check the following check boxes
    View Adobe PDf Results,
    Add Document Information,
    Rely on system fonts only,
    Delete Log files for successful jobs.
    Select OK
    A pop will ask you where you want to save the document. The file extension should be PDF. After giving the file name select okay and the file should popup as a PDF. Down side is if you want to speaker notes included then you will have to do another file, like wise with just screen shots then combine into one PDF document.
    I used Acrobat IX Pro. So to do this you need Acrobat IX or X Pro.
    Hope this will help.
    Tiger26

  • How can you create a playlist with music and music video and play those from same playlist through Apple TV?

    How can you create a playlist on Ipod touch with music and music video,  and play those from same playlist through Apple TV?  I can download, create a playlist with both music and music video, stream that through the Apple TV with no problem.  The sound and the information show up on the TV, but when it gets to a music video, it only shows the information and "artwork".
    I also have a video playlist - videos play fine through the Apple TV, but will not shuffle through all videos - continues to repeat the same one.  I have most definitely selected shuffle in both locations - from the playlist and on the ipod video screen while video is playing.

    I finally got it... had to sync the photos with the music in iMovie, arrange the voiceover in GarageBand then export to iTunes, and then I was able to put it all together in iMovie and burn in iDVD... had a few glitches along the way but finally finished : )
    Message was edited by: jpewald

  • Can you create an image field in the form so a respondent can upload a photo to it?

    Can you create an image field in the form so a respondent can upload a photo to it?

    Use the File Attachment field to allow respondents to include a photo with their submission.
    Regards,
    Brian

  • Can you create a template that has a header and footer to forms?

    Can you create a template that has a header and footer to forms?

    Yes but how are they going to create the Landscape versions?
    The problem with doing it in Pages '09 as rotated content is that the Headers and Footers are not rotated and there is inherent clumsiness in the rotated content usually being too large for the page when viewed at 90°.
    Best to make it in two or more separate documents.
    Peter

  • Can you create a new folder and put several documents in it in Adobe?

    Can you create a new folder and put several documents in it in Adobe?

    Thank you for your help. Now I just want to expand on this a bit. To use the Applescript you have supplied me, how do I tell it to name the folder other than by date, and where to put it?
    Let me say, preferably, is it possible to make an action like this right-clickable? Instead of having to pick a script. Anything that slows this process down means I might as well do it all by hand. What I'd really love to do is this:
    Select a number of items. Right click to an action saying "create a new folder and put this items in it. Name the folder with the first item's name". Very simple and quick.
    Could this be accomplished? Through Automator? or something that can appear in the contextual menu? Folder actions?
    I'm just getting started with using these tools.

  • Can you create GS1 DataBar Expanded in LiveCycle

    I have this same question in LiveCycle Design, but found it would be best here.
    I have Adobe Acrobat 9 pro and was trying to create GS1 DataBar Expanded barcodes.
    Since I was limited to just 3 barcode types I hit the forum and found out about LiveCycle.
    Even in LiveCycle through Adobe Acrobat 9, I don't see the GS1 barcode I need.
    I've tried to manipulate what is available, but that will not work.
    I found a plug-in for Adobe Illustrator that has the GS1 DataBar Barcode, but Illustrator + the plug-in software is a little expensive.
    My question as stated in the beginning is can you create GS1 DataBar Expanded barcode through Acrobat?
    In this situation through LiveCycle? Is there a plug-in through Acrobat or LiveCycle that will include the GS1 DataBar barcode?

    You can set a button to be hidden in the PDF.
    And you can set a button behaviour to reveal/hide a button (rather unhelpfully described as show/hide fields).
    So. Make your button with your navigation hyperlinks and set its visibility in the PDF as hidden.
    Then make another button which is visible and set the action for mouse down (or mouse enter if you want it to fire on mouseover) to show fields, and select the number of your menu button from the list that is presented to you.
    k

  • Can you create a .ics file from entries in a PDF?

    Hi,
    I'm wondering if anyone can help me: Can you create a .ics file from entries in PDF?
    Example:
    I'm wanting people to be able to choose a number of dates for some events within a PDF, then click a button that will then create a (or number of) .ics files so they can add those dates to the calendar of their choice. Is this possible?
    Thanks

    Using the solution supplied by Leonia, and cited by Keith, you can do the same thing (flopping the Curve profiles) in LightRoom. So, it makes sense. Though I didn't know know it worked for Color Negatives.
    A friend of mine with a Nikon Coolscan is going to scan nearly 150 B&W rolls of 35mm negatives for me, and I want to import them all into Aperture, naming and keywording as I go. The objective is, of course, to have the convenience of a diigtal library. But also to have some made into large prints for framing.

Maybe you are looking for

  • Urgent-MIRO G/L

    Hi I have mantained G/L no. 25 to GRPO in Assign G/L to excise trancation When I do MIGO credit entry made in 25 but while doing invoice verification system taking G/L no. 20 that is maintained in OB40. But I want system should debit in 25 not in 20

  • Additional Screen In Sales Order

    Hi All, I want to add some more fields in the sales order Additional screen A and B. So how can i proceed about it. Is there any Screen exit is there or do i have to take access key and change the screen by addign the fields. Thanks In advance. Thank

  • Weird Exception when running WebUI

    Hi Guys, All of a suddent i came across a NullPointerException in the WebUI form which i can not explain. Now it is gone itself. Could you, please, suggest what could be the reason of it. I only opened a WebUI w'o performing any operations java.lang.

  • How to configur the user to get notified when IDOC goes in to error?

    Hello Experts, Please tell me how to notify the users when IDOC goes in to error... please tell me where we can configure this thing,, Thanks Venkatesh

  • How to open bwf files on a bwf formatted disc

    Hi I use Fostex CR-500 to record. I can record fine when formatting this to Audio-CD. These files is easily imported in Logic. But when I want to record in 24/44,1 I have to BWF format the disc. But then I can´t import the files to logic. When openin