Cfchart: 2 series, different series length

I am plotting two lines on a cfchart:  1) a line with historical monthly averages (12 data points); 2) the actual data for the current year (which only has as many data points as there are "completed" months in the current year).
What I want to have happen is for all 12 months of (1) to be plotted as one line and then have a second line drawn that only shws the months of the current year for which data has ben collected (say the first three months).  For the remaining periods of the second line(e.g., 9 months) I want to show nothing (no line).  In other words the second line just stops after the first 3 data points are drawn.  Both series are arrays.
Here's what I've tried:
When the second array contains only 3 data points (i.e., arraylen = 3), cfchart draws the 4th through 12th data point as 0 and draws the line accordingly even though I am using chartdata within a loop that only loops 3 times.  If I create an empty array of 12 items (i.e. each item is empty) and then insert data for the first three, cfchart throws an error because item 4 through 12 are not values.
BTW I am using a custom xml style sheet that has "isInterpolated" set to "false".
Any suggestions as to how I might get the chart drawn correctly?

Weird. I tend to use variables. So I was about to say I could be wrong about the path. Maybe a url is expected. But it looks like you tried that already.
Try these two examples. Both work fine for me with CF9 (and CF8). Everything except isInterpolated was excluded for brevity. So obviously most of the styling will be missing. But the lines should be correct.
1. Use a variable
<cfsavecontent variable="myStyle"><?xml version="1.0" encoding="UTF-8"?>
<frameChart autoAdjust="false" is3D="false" isInterpolated="false">
</frameChart>
</cfsavecontent>
<cfchart style="#myStyle#">
     <cfchartseries type="line">
         <cfloop from="1" to="12" index="x">
             <cfchartdata item="#MonthAsString(x)#" value="#randRange(1, 100)#">
         </cfloop>
     </cfchartseries>
     <cfchartseries type="line">
         <cfloop from="1" to="4" index="x">
             <cfchartdata item="#MonthAsString(x)#" value="#randRange(1, 100)#">
         </cfloop>
     </cfchartseries>
</cfchart>
2.  Save the contents of "myStyle" to a file in the same directory as your .cfm script.
XML File: c:\coldfusion9\wwwrooot\testFolder\myStyle.xml
CFM File:  c:\coldfusion9\wwwrooot\testFolder\myTestChart.cfm
<cfchart style="myStyle.xml">
    <cfchartseries type="line">
        <cfloop from="1" to="12" index="x">
            <cfchartdata item="#MonthAsString(x)#" value="#randRange(1, 100)#">
        </cfloop>
    </cfchartseries>
    <cfchartseries type="line">
        <cfloop from="1" to="4" index="x">
            <cfchartdata item="#MonthAsString(x)#" value="#randRange(1, 100)#">
        </cfloop>
    </cfchartseries>
</cfchart>

Similar Messages

  • Same number range for two different series groups?

    Dear all,
    There are two scenarios
    1.Normal export under bond case, series group is 20 and number range maintained,running number is 300016
    2.Another scenario,where ARE1 document generation for Deemed exp customer(already customised) , series group is 30.
    But, client requirement is , for this second scenario also, system should pickup running number range of series group 20(under bond case)  as per excise legal requirement
    Ie running number is for series group 20 is 300016
    For the above deemed exp case (second scenario)it should pickup 300017
    And again when they do under bond case(first scenario), it should pick up 300018 like that
    Is it possible to maintain the same number range for two different series groups(20 and 30)?
    Even if you maintain the same number range for 30, as per running number range of 20
    Will the system update simultaneously the same number range for 20 and 30 series groups?
    Please suggest the way.

    With two different series groups, it is not possible to have the same number range. Even if you maintain it, they will be treated independently.
    Normally, you should not use different series groups if the same number range has to be used. In fact, the concept of series group has been developed to ensure that number ranges can be maintained separately.
    Regards,
    Aroop

  • Engage 2008: Line Graph, can't start 2nd series @ different X value

    Using Xcelsius Engage 2008
    Created line chart w/ 2 series
    2nd series does not start at the same X value as series 1.
    How do I generate the second series so the initial part of my 2nd series line does not show all 0s?
    Thank you
    Nancy Griffin

    Hi Tammy.
    I'm using Xcelsius version: 5.0.0.99 and Build number 12,0,0,121.   I am not sure if S1 is already installed.  If not, where can I get it?
    This is what I'm trying to do:
    1) created a basic line graph with two series
    Series 1 Data has 2 columns
    Series 1 Column 1 includes dates. THis will be the labels for the X axis:
    1/1/07
    1/6/07
    1/12/07
    1/1/08
    1/6/08
    Column 2 includes the line graph data for series 1
    30
    50
    10
    90
    120, etc
    Series 2 column 1 - THis is the same as series 1 since it includes the same labels for the X axis
    Series 2 column 2  includes the data for the 2nd line graph
    HERE's WHERE IT IS DIFFERENT
    I have no data for dates 1/1, 1/6,  1/12/07.   My data starts in
    2008. I don't want the graph to show 0s for the first 3 dates and then jump up to the 2008 data.   Is there a way to make the 2nd line chart start on 1/1/08?
    thank you. Really appreciate your help.

  • Sales order with 2 different series

    hello everyone,
    can anyone help me out in my following query:
    I have a sales order with 2 different series: Design and Marketing
    i am creating a sales order with design series and sending it for approval and once approved i am adding it ,similarly  i iam creating sales order with marketing series.
    Now is it possible  unless and until i don't add my sales order with design series, system don't allow me to add sales order with marketing series.
    Regards,
    Meghana

    Hello
    try It In   SP_transaction Notification
    if @object_type = '112' and @transaction_type = N'A'
    begin
    IF EXISTS (select * from ODRF WHERE DocStatus = 'O' or ObjType = '17' OR Series in( Select Series from ODRF where DocEntry = @list_of_cols_val_tab_del) AND DOCENTRY = @list_of_cols_val_tab_del )
    begin
    set @error = 1
    set @error_message = 'You Can create SO because another Document in pending'
    end
    end----
    Edited by: Manvendra Singh Niranjan on May 7, 2011 7:29 PM

  • Errors with series link/series record

    Has anyone noticed this problem recently.  So a new series starts in a few days time.  I find it in my EPG and press record twice to set up a series record.  But it will only record that ONE programme.  it tells me it isn't a series, even though I know it is!  So I have to remember to go back to the EPG a few days later, find the second programme and set up the series record from ep 2.  I thought I was imagining this but it has happened on two different series lately.  Very annoying!!

    lesleyj wrote:
    Has anyone noticed this problem recently.  So a new series starts in a few days time.  I find it in my EPG and press record twice to set up a series record.  But it will only record that ONE programme.  it tells me it isn't a series, even though I know it is!  So I have to remember to go back to the EPG a few days later, find the second programme and set up the series record from ep 2.  I thought I was imagining this but it has happened on two different series lately.  Very annoying!!
    Yes, this happens sometimes. It's all down to the data supplied by Freeview to the EPG. Sometimes they get it wrong. So it's not a box problem, but an EPG problem. You should try series recording MOTD 1 & 2. Nightmare!
    Rank - Mostly Harmless.

  • DB Connect - different from length in database between length in DDIC

    Hi Gurus,
    We use BI 7.0 SP18.
    We build DB Connect to other Oracle database.
    I'd like to see the database tables in RSA1/SourceSystems/DB Connect/Current connection. In Additional Functions/Select Database tables (3.x)
    After the table selection Edit DataSource and I can see the field structure of the table. My problem is the following:
    The Length in Database different from Length in DDIC. Why? How can I solve this problem?
    The different is the following:
    field1:
    Type: Char
    Length in Database: 200
    Length is DDIC: 67
    field2:
    Type: Char
    Length in Database: 100
    Length is DDIC: 33
    field3:
    Type: INT4
    Length in Database: 22
    Length is DDIC: 4
    etc.
    Thanks for your helps!

    It can be character code table problem? For example, the source system store data in non-unicode format, but the BI 7.0. store data in unicode format? How can I try to check or fix it?

  • Need different sidebar lengths CS4

    Need different sidebar lengths
    Creating a website in CS4 with many pages. Some pages have a lot of content and some have a little content.
    When I change the length of the sidebar on the page with a lot of content using CSS it changes the length of the pages with a little content.
    I need to know how to independently change the length of the sidebar for the pages that have a lot of content, while not changing the length of the pages with little content.
    Most pages have a small amount of content.
    Thank you in advance.

    Height should be determined by content, but sometimes that just doesn't look right in containers with a tiny amount of content. In those situations, I generally use min-height in my css.
    A min-height setting will force open a container to whatever it's set to as that container's minimum. Anytime the content is longer than that min-height setting, it will automatically adjust to whatever the content dictates where a simple height setting would allow text to overflow its container.

  • N-Series & E-Series

    If anyone has any idea why the name N-Series & E-Series are kept and what are thie differences?? what does ''N'' in nseries mean?? and ''E'' in eseries.
    At last a nseries phone im truely happy with THE N82

    I think the N series range are geared more towards multimedia situations, and the E series range are directed towards the business sector.
    I have full End User experience of:
    5510, 3210, 3310, 3510, 3510i, N80, N80IE, 7610, 2610, 1208 and current E90.

  • Group X-Fade Problem - Grouped tracks apply different crossfade lengths when dragged in place?  (What am I missing here?)

    Super Friends/Fiends,
    In Logic Pro X (and 9) I am hitting a wall editing a chamber string session I just tracked. 
    When I have multiple regions selected with either rubber-banding or phase-locked editing in groups, and I X-fade them with other regions, they apply different crossfade lengths.  This does NOT occur when I individually overlap the regions.  The process gets cumbersome/tedious and I feel like I am missing something here. 
    It is consistently applying larger to smaller crossfade lengths from top to bottom of the selected region overlaps. 
    What am I missing?  Thanks for the help!

    Same here, I'm seeing it with a LP9 project that I opened in LPX. I can't edit this way, it's driving me crazy. I also tried selecting all the regions and setting the numerical value for the fade time in the inspector, but that gives even more silly values.
    Also, zooming in on the waveform looks very blocky compared to LP9.
    I hope this is some setting I'm overlooking, otherwise I'll have to go back to LP9 for editing audio.
    Ben

  • Unknown program mac_installer.zip downloaded without permission when trying to watch a serie in "series pepito". IS IT A VIRUS?? HELP PLEASE!!

    Hi everyone! I was trying to watch a serie in "series pepito" in my mac mini and suddenly mac_installer.zip was downloaded. IS IT A VIRUS?? I´ve always erased it but one day my father open it and he was redirected to a webpage saying user>macinstaller and something like that. I immediately erased the program without clicking in that webpage but I´m afraid the virus (if is it a virus) is still there. HELP PLEASE! THANK YOU!!

    Check thru here for some info/help:
    http://www.thesafemac.com/eliminating-browser-redirects-and-advertisements/
    http://www.thesafemac.com/art/
    http://www.thesafemac.com/arg-downlite/
    hope this helps
    <edited by host>

  • Dial numeric control - different needle lengths?

    I am using a numeric dial control on my front panel and would like to have 2 needles - one long and one short.  Does anyone know if there is a way to have 2 different needle lengths?  Thanks!
    Dave

    See tst's Nugget here for an example of how to over-lap dials for this effect.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • A/P Invoice no. with different serie on Check PLD

    Hi Experts,
    Please suggest how to pick A/P Invoice no on Check pld.
    I have tried with VPM2 table which picks docentry of A/P Invoice but this condition does not work with Mutiple A/P Invoice series.
    I am handling this issue on 2005B/PL34
    Thanks
    Regards,
    Kanishka

    Hai!
    Try this FMS,
    SELECT T1.[InvoiceId] FROM OVPM T0  INNER JOIN VPM2 T1 ON T0.DocEntry = T1.DocNum WHERE T0.[DocNum] =$[OVPM.DocNum]
    Don't assing Auto refresh, because u r having multiple Invoice concept. Ask user to press Shift+F2 and select the invoice num.
    Regards,
    Thanga Raj.K

  • Can i make routers of different series while making my end node of different series

    Hi everyone,
    I am using 9792 programmable ethernet gateway and nodes (3202,3212,3226). rightnow, i am acquiring my data from 3202(end node). can i make the routers using the node 3212 (thermocouple node) and 3226 (RTD/Voltage node). will this work or i have to make routers of the same series
    Replay ASAP.

    Hi abh,
    Any node can be configured as a router and can route signals from any other node regardless of the node type. 
    Cheers,
    Brian A
    R & D Product Support Engineer | WSN/Network DAQ/Wireless
    National Instruments

  • P3005 format boards (q7847 series) different rev part numbers

    i'm trying to compile a complete list of part numbers for the lj p3005 format boards, right now i am only looking for the non network boards q7847 series, e.g q7847-61002 =rev.02.038.5; q7847-61003=rev. 02.039.3; q7847-61006=rev 02.041.0.
    I know there are revisions beyond this such as 02.080.4 as well as others, does anybody have a complete list of the part numbers for all the revisions?

    Dear [Maesus],
    I have tried to duplicate the issue, I saw it only once when I reflash the BIOS and then change the CPU clock setting.
    My procedure as below…
    1.      Boot system
    2.      Update BIOS to 1.9 version
    3.      Restart the system to BIOS setting
    4.      Change the CPU Bus Clock to 229
    5.      Save the setting & exit and then the system restart automatically
    6.      And then I saw the CPU is only running 1.86GHz (my CPU is 3.2GHZ FSB 800MHz)
    But I would like to explain that my procedure as above is incorrect.
    The correct procedure should be as below….
    1.      Boot system
    2.      Update BIOS to 1.9 version
    3.      Restart the system to BIOS setting
    4.      Load BIOS setup default first
    5.      Change the CPU Bus Clock to 229
    6.      Save the setting & exit and then the system restart automatically
    7.      And then I saw the CPU is running 3.66GHz (my CPU is 3.2GHZ FSB 800MHz)
    Note: To load BIOS setup default setting after reflash BIOS that is because all original default setting will be erase after upgrade BIOS. So we always recommend customers to load BIOS default setting first before change any BIOS setting.
    BTW, we have updated the BIOS version to support Prescott CPU. Users can decide to update it or not.
    The new release BIOS as attach file.
    Best regard!
    [MSI Staff]

  • Internal Batch No. Assignment for Materials generating different series.

    Dear Experts,
    Required your Valuable suggestion on Batch Number assignment.
    My Client Requirement is he has only 5 Materials for which Batch Management needs to be activated.
    Consider These 5 Materials are 10000, 10001, 10002, 10003, 10004, and 10005. These 5 Materials should have an Independent Internal Number Range. All these Materials belong to same material type.
    Like for example consider
    10000 material the Batch internal  number should be u201CA00001, A00002, A00003, A00004u2026..etc
    Similarly for 10001 material the Batch internal number should be u201CB00001, B00002, B00003, B00004u2026..etc
    Similarly for 10002 material the Batch internal number should be u201CC00001, C00002, C00003, C00004u2026..etc
    Similarly for 10003 material the Batch internal number should be u201CD00001, D00002, D00003, D00004u2026..etc
    These no. ranges need to be picked up automatically at the time of Goods Receipt.
    Is there any User Exit Or Customer Exit available on this. Kindly suggest your Valuable Suggestion on this.
    Best Regards

    Try with user exits EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002.
    Per OSS note 148765 - Sample source code f.internal batch no. allocation, it looks you can assign the internal number range based on material number.
    Regards,

Maybe you are looking for

  • Problem with module lazy loading in flex 3

    Hi every body! I have some problems with Module lazy loading. I am using flex 3.5, Module-flex3-0.14, parsley 3.2. I can't get the LazyModuleLoadPolicy working correctly. In my main application (the one that loads the modules), my parsley context is

  • JMS Adapter...

    Hi Frnds, I am working on one scenario using JMS Adapter, my requirement is i have to read messages from JMS Queue,suppose in Queue there is 20 messagesa have to read at a time 20 messages using JMS Adapter and merge into one message. JMS Adapter wl

  • Cant uninstall old bonjour

    trying to install new version of itunes.  Get message" unable to remove old version of bonjour"  Help

  • Assistance Class Problem

    Hi, I am using assistance class in my program for removing the errors of DB_SELECT Bcause of this assistance class my application become very slow . Can any tell fisible soln for that

  • The program can't start because RtmMvrAs.dll is missing from your computer. Try reinstalling the program to fix this problem.

    When I am Trying to open Mocrosoft Lync 2013. It's showing an error msg. as follows:- The program can't start because RtmMvrAs.dll is missing from your computer. Try reinstalling the program to fix this problem. Plz. Help me how to resolve this error