Two scales on line chart

Hello,
How to show two line charts with different scale within a graph?
I need two Y axis and 1 X axis.
Is this possible ? If not, what should be done to achieve this?
Regards,
Archana

New version of flash charts supports multiple scales.
Please take a look at the following samples:
http://www.anychart.com/products/anychart/gallery/sample_117.html
http://www.anychart.com/products/anychart/gallery/sample_124.html
Is it what you need? if yes, please contact me [email protected] and I'll send you integration kit for version 4.
Have a good day,
Anton Baranchuk
www.anychart.com

Similar Messages

  • Scale in line chart??

    Hi Experts,
    I have a req, in which i have to show two measures as line, and one measure as bar. I used line-bar combo but the problem is one of the measure in line is in the range of 400,000 to 1,000,000 and the other measure is in the order of positive and negative 100's. I need to show them on the same chart is it possible??
    Thanks,
    DK

    Hi DK,
    Well, it definitely is possible to show multiple lines in a line-bar combo, the issue is having it display and make sense. If you put them both in the same graph, the first line measure will make the second line look completely flat.
    One option is that you could enable "logarithmic Scale", however, I tested that out and it forces you to do it for both the line and the bar parts of the graph (might be a bug). If that's acceptable to have both displayed logarithmic, then go for that solution.
    Otherwise, how were you picturing the metrics being displayed as lines on the same graph? Since they are pretty much completely different scales, were you hoping to get a total of three y-axis's (2 for the lines and 1 for the bar)? If that's what you are hoping for, you'll probably need to do some heavy digging into Corda Pop Charts. Here's John Minkjan's work on Corda charts: [http://obiee101.blogspot.com/search/label/CORDA]
    Good luck!
    -Joe

  • Cfchart yaxis scale is wrong when combining bar and line charts

    Hi, I am trying to combine a bar and line chart ti display data.  Everything looks good except that the yaxis scale is off.  I set the scaleMin to 0 but that doesn't help.  Below is my code, the custom XML style and a screen shot.  My ultimate goal is to get the yaxis to start at 0, not -1,000 as is currently the case.  I have combined this data with each set represented as bar charts and do not have this problem.  It must be the combo of bar and line charts together.  Any assistance is most appreciated.
    <cfchart title = "#variables.ReportName# Seedlings Ordered"
        style = "../SO_R_overall.xml"
        Format = "PNG"
        pieSliceStyle = "solid"
        show3D = "no"
        showBorder = "yes"
        showLegend = "yes"
        tipStyle = "MouseOver"
        chartHeight = "#DefinedChartHeight#"
         chartWidth = "#DefinedChartWidth#"
        font="arial"
        fontsize="12"
        fontBold="yes"
        scaleFrom="0">
        <cfchartseries
            type="bar"
            seriesLabel="Goal"
            query="getDivisionGoalsByDivision"
            valueColumn="divisiongoal" 
            itemColumn = "division"
            dataLabelStyle="Value"
            seriesColor="99CCFF"
            >           
        </cfchartseries>   
        <cfchartseries
            type="line"
            seriesLabel="Ordered"
            query="getQTYordered"
            valueColumn="QTYordered" 
            itemColumn = "division"
            dataLabelStyle="Value"
            seriesColor="green"
            >           
        </cfchartseries>
    </cfchart>
    ***************** Custom Chart Style called *****************
    <?xml version="1.0" encoding="UTF-8"?>
    <frameChart is3D="false">
            <frame xDepth="3" yDepth="3" outline="#333333" lightColor="white"
            leftAxisPlacement="Front" rightAxisPlacement="Front" stripColor="#CCCCCC"/>
            <xAxis scaleMin="0">
                <labelStyle isHideOverlapped="false" orientation="Horizontal"/>
                <titleStyle font="Arial-10-bold" isMultiline="true">Division</titleStyle>
            </xAxis>
            <yAxis scaleMin="0">
                <titleStyle font="Arial-10-bold"/>
                <dateTimeStyle majorUnit="Year" minorUnit="Month"/>
                <labelFormat style="Pattern" pattern="#,##0"/>
            </yAxis>        
            <dataLabels font="Arial-10" foreground="black" autoControl="true"/>
            <legend>
                   <![CDATA[ $(rowLabel)  ]]>   
              </legend>
            <decoration style="RoundShadow"/>
            <popup background="#C8FFFFFF" foreground="#333333"/>
            <paint paint="Plain"/>
            <insets left="5" top="5" right="5" bottom="5"/>
    </frameChart>

    I should have also said that I am using 8.0 Pro.
    I want to have the output similar to an e-book.
    The issue (Sept-October of 19xx)
    Then the individual pages (bookmarked)

  • Line Chart - getting data from two table to behave as 1 data series

    I'm using the 'Personal Budget' template, and have two tables titled 'Annual Budget by Month: 2009' and 'Annual Budget by Month: 2010'. These tables show, as their last row, my total savings. I want to set up a line chart to display the (downward) trajectory of my savings in one continuous line.
    However, if I create a line chart, the two data sets from the two tables are displayed as two lines, one below the other. If I convert it to a column chart, and then switch to columns instead of rows as the Plotting Orientation (data series button in the upper left of the table), the columns do display correctly. Can anyone tell me how I can get the line version to work?

    spiff,
    I think the solution to your problem is to create a summary table that gathers the data from all your month tables, then plot the summary. Remember to put the category names into a Header row or column so they will automatically show up on the chart axes.
    Jerry

  • Merging two line charts into 1

    We have two line charts depicting some figures over each week in a year. The line charts project counts on different criterias. We want to have only one chart depicting
    both the lines. Please help us out on this one.
    thanks
    Sameer

    I meant have one criteria (one query).
    so you'd select :
    week of year,
    count(Fixed Bugs),
    count(reported bugs)
    in the same criteria, then select both measures on the 'line' and the week of year on the x axis of the graph?
    Any reason why you cant build them into one criteria?
    BTW are you measures defined the RPD or are you creating them in Answers on the fly using count() function?

  • Scale on Y-axis of line chart is not correct

    I have a simple line chart that has the values of 150, 0, 122, 0, 0 and 0 that is charting fine.  However, the scale on the Y-axis is not starting at 0.  It starts at 100, giving the impression my 0's are 100's.  I have other charts, with other values, that are doing the same thing.  My chart set to ignore cells at end of range.  The scale setting is set to Auto (Y) Axis, Y axis scale is linear.
    I'll admit I'm pretty new with this software, but I'm not seeing any setting that I have wrong.

    Hi Gregory,
    unfortunately, it's a bug. I filed it (ADAPT01136251) and we will fix it ASAP. For now I can suggest only to switch to manual scale or to set one of your zero values to be something like 0.000000001 instead.
    Sorry about the bug,
    Margaret

  • SSRS 2008: Line chart Y-Axis scale issue

    Hi All,
    After search of one week, finally decided to put my question in front of you all. Hope I will get some outcome from it.
    Currently I am working on Line Chart. Following is the data which I need to bind to line chart.
        JobStartDate  JobStartTime   JobEndTime
        1/1/2015       01.00            02.30
        1/2/2015       01.02            03.20
        1/3/2015       01.01            03.40
        1/4/2015       01.05            02.00
        1/5/2015       22.03            23.30
        1/6/2015       22.05            23.40
    So, In above scenario Line chart looks like:
          11.00 PM |                          /////////               
          10.00 PM |                          ..........        
          ........ |                                              
          04.00 AM |              /                         
          03.00 AM |    /  /                                     
          02.00 AM |  /                /                       
          01.00 AM |  .....................                                               
          12.00 AM |______________________________________________                                         
                   1/1/15 1/2/15 1/3/15 1/4/15 1/5/15 1/6/15        
    But it should be like :
          04.00 AM |                /                         
          03.00 AM |       /  /                                     
          02.00 AM |    /                /                       
          01.00 AM |     .....................                                               
          12.00 AM |
          11.00 PM |                                      
          10.00 PM |                                         
          09.00 PM |______________________________________________                                         
                        1/1/15 1/2/15 1/3/15 1/4/15 1/5/15 1/6/15    
    (Sorry As cant upload the image. So, Tried to show as above.)
    In above figure (.) is StartTime and (/) is EndTime.
    You can see that I am facing the problem of Y-Axis scaling.
    Hope everyone understand my problem. Please let me know more explanation.

    Hi Prashant Khadatkar,
    As per my understanding, you created a line chart, you added JobStartTime and JobEndTime to values area, and added JobStartDate to category groups. You want to display data of y axis from PM to AM. In order to improve the efficiency of troubleshooting, I
    need to ask several questions:
    What’s the data type of JobStartTime and JobEndTime?
    Is the data stored in database the same as you provided?
    What’s the state of report now? Please provide some more detailed information of the report. I would be appreciated it if you could provide sample data and screenshot of the report.
    This may be a lot of information to ask for at one time. However, by collecting this information now, it will help us move more quickly toward a solution.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Financial Reporting Line Chart - disable #missing or #zero values

    I need some help regarding the line chart in financial reporting. I want to create a line chart for actual and forecast-values. The underlying Grid contains following values:
    actual-jan = 100
    actual-feb = 121
    actual-march = 119
    actual-april to actual-dec = #missing
    forecast-jan = 100
    forecast-feb = 121
    forecast-march = 119
    forecast-april to forecast-dec = 125
    In the line chart I get two lines, one for actual and one for forecast. Now my Problem is that the actual line has to stop with the march-value but it moves forward till december on the zero level.
    Has anyone an idea how to get the line stopped at march?
    kind regards
    kai

    Supressing or replacing zeroes does not help, the chart still drops to zero for future periods.
    I created an extra column in my grid. In this column i used a formula that says if column a (current year) is greater than zero, show column a numbers, if not, show the number from the row above. I have separate reports for debits and credits, if you are OK with showing negative numbers, just adjust the formula. What my new column does is forecasts a straight line for all future periods for the current year. It is not the exact preferred result, but it keeps the scale appropriate and with a little education almost every executive has accepted it.

  • 2D Line Chart question

    I have Apex 3.1 . I have created a 2D Line chart with for different series (so there are 4 lines on one chart). I also have a Legend on the left side next to the chart to label whatr each line is for. In my query for those lines I have the Name for the Legend as all CAPS but it shows up as first letter capital and the rest lower case. Is there a way to force it to all upper case?
    The second question I have is that underneath the legend I would like to have some type of text box were I can write a couple lines to help explain what is going on in the graph. Is there a way to do that?

    You basically have only a couple of options here:
    First, turn off the labels and possibly turn them into Hints. They wouldn't show on the chart, but when the user held over the data point, a tool tip would appear showing them the valuable.
    Second, adjust elements of the chart. What you are really looking at here is that your data set is causing this specific issue and not the charting engine or anything like that. You could try to manually change the axis max and min to get more spacing, or you could adjust the height of the chart to get more spacing, but this may not be a viable option. You could have one set of labels above the plotted line and another set of labels below the plotted line that way the values do not overlap with anything. However, from a conceptual standpoint, it will be difficult to determine in code which line should have values above and which should have values below. When your data set changes, you may end up with labels in the wrong place if you hard code where they are at.
    The current XML reference can be found at: http://www.anychart.com/products/anychart/docs/xmlReference/index.html however, that is for anychart 5. I'm looking for the link to the earlier versions...
    You can use this to create custom xml where you can adjust the position of the labels.
    Finally, you do not want expand the height of the chart between two points on the Y axis. That would change the structure of the chart and the visual properties of the chart and the shape of the data would be askew. You cannot do this for good reason. You can though use a logrithmic scale. In most cases though, this is not a practical solution. Data sets need to have very specific characteristics in order to be able to merit a logrithmic scale. Most queries require a simple linear scale.
    Austin

  • CFCHART - Line Chart Questions - CF7

    Hi Folks -
    I have a few questions about CFCHART in CF 7 and I am hoping
    that maybe different users can answer them:
    The following questions relate to creating a line chart.
    1) Is there a way to control the gridlines yourself, and not
    use the values for the lines that CFCHART presents?
    1A) If you have to accept the values that CFCHART gives you,
    is there a way to control the actual rounding of the values? Right
    now I am getting 3 decimal places, and I would prefer whole
    numbers.
    2) Is there an issue with displaying negative values? I have
    a chart that ranges from -255 to 100,000 and has 10 grid lines. But
    the -255 does not display. I get 0, the rest of the lines, except
    for the 9th line.
    <cfchart chartheight="300" chartwidth="450" font="@Arial
    Unicode MS" scalefrom="-255" scaleto="100000"
    gridlines="10" xaxistitle="Month" yaxistitle="Total"
    format="png" labelformat="number">
    <cfchartseries type="line" serieslabel="Review">
    <cfchartdata item="Jan" value="2569">
    <cfchartdata item="Feb" value="65535">
    <cfchartdata item="March" value="-57">
    <cfchartdata item="April" value="75778">
    <cfchartdata item="May" value="89955">
    <cfchartdata item="June" value="39898">
    <cfchartdata item="July" value="0">
    <cfchartdata item="August" value="12560">
    <cfchartdata item="Sept" value="-255">
    <cfchartdata item="Oct" value="767">
    <cfchartdata item="Nov" value="6868">
    <cfchartdata item="Dec" value="37352">
    </cfchartseries>
    </cfchart>
    Any and all questions and answers are appreciated.
    Thanks,
    Doug

    You can specify scaleFrom and scaleTo by hardoced values or
    dynamic variables and number of gridlines. If you not specified
    first two attributes, then by default, the minimum is 0 or the
    lowest negative chart data value, and the maximum is the largest
    data value.
    To avoid decimals in your case empirically find good
    combination for your scale, for example from - 500 to 10 000 and
    number of gridlines = 12.

  • 2 y line-chart

    I need line chart with 2 two   Y axis (much different  values/scale...)
          have not found any alternativ or property  ( only one y with exp scale)
    possible in webi ?

    Karl,
    You might get some success using the "vertical bar/line" chart capability.  This chart is best described as an X,Y1,Y2,Yn scenario.  If you have a dimension in the first column of the grid followed by at least two (in your case you will want at least three) metrics, then the bar/line chart will work, but for you, the trick is to have either "dummy" or duplicated values in the first metric (which will be plotted as a "bar", and the other metrics plot as lines.  For the graph, set its background to white, then using the palette, set the first graphing item as white also (white on white).  Once you get the white on white action going, you'll not see any "bar" but will see line(s) (provided that they are not white on white).
    Thanks,
    John

  • Adding New Data To Line Chart: New Data Does Not Inherit Previous Color Scheme

    This has me very confused. Here's what's being done:
    Right-click on existing chart
    Select "Data..."
    Add additional data in the dialog that pops up
    Click check-mark
    The chart appends more data to the existing lines on the line chart, as it should, however the newly created portion of one of the lines (new data) is not the same color as the line up to that point. The line color is #0084A9, but when the new data is entered the new data on that same line is represented in an ever so slightly darker blue.
    Any guesses as to why that would be happening? I can manually chage it, but that's a hassle and shouldn't necessary - I wouldn't think, anyway. Any help would be appreciated.
    Thanks!
    Very Best,
    Tanner Campbell

    OK looked at this closer, and seen your problem  as  acolor shift from PMS to a CMYK that was slightly off.
    If you want to work with Hexadecimal colors, then you need to File>> Document Color Mode >> RGB, otherwise your colors won't stick but convert to cmyk and be off.
    Your graph went through some editing and got corrupted. I copied and pasted your date into a new graph, and then used the testube to apply samples to get your colors back. Will send you an email with fixed file.
    That’s the strangest thing.  The color you’re seeing is #4e46ff, the color it should be is the color reflected in the legend: #0083a9
    What’s extra interesting is that when I open it I see the legend color for the entire line. Then, when I add data, the section of the line that depicts the newly added data is #4e46ff …. So I have this two tone line.  It’s intriguing that you opened this on a mac and this difference was presence, I wonder if that is in anyway a clue. Maybe the original document was created in RGB and the new data is on CMYK? Thoughts?

  • What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?

    I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005.
    I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a
    single month and year.
    I've previously created a report that displays all patients assigned to the practice for any single month but I’m looking for advice on how to
    how to produce a resultset that shows the peak number of patients each month for a 12 month period. I thought about creating a query that returns the peak count for each month (based on my previously created report which displays all patients assigned to the
    practice for any single month) and then use a UNION statement to join all 12 months but I'm sure that isn't the most efficient way to do this. The other challenge with this approach (twelve resultsets combined via a UNION) is that the end-user needs to be
    able to select any month and year for the parameter and the report needs to display the 12 month period based on the month selected (the month selected would be the last month of the 12 month period).
    For the report I’ve previously created that displays all patients assigned to the practice for any single month, the WHERE statement filters the
    resultset on two fields:
    Start Date - The date the patient was assigned to the practice. This field is never null or blank.
    End Date - The date the patient left the practice. This field can be null or blank as active patients assigned to the practice do not have an End Date. When the patient
    leaves the practice, the date the patient left is populated in this field.
    Using these two fields I can return all patients assigned to the practice during Nov 2012 by looking for patients that meet the following criteria:
    start date prior to 11/30/2012 (using the last day of the month selected ensures patients added mid-month would be included)
    AND
    end date is null or blank (indicates the patient is active) OR the end date is between 11/1/2012 -11/30/2012 (returns patients that leave during the month
    selected)
    Regarding the query I need to create for the report that displays the peak count each month for 12 months, I'm looking for advice on
    how to count patients for each month the patient is assigned to the practice if the patient has been assigned for several months (which applies to most patients). Examples are:
    John Doe has a start date of 6/01/2012 and an End Date of 10/07/2012
    Sally Doe has a start date of 8/4/2012 and no End Date (the patient is still active)
    Jimmy Doe has a  start of 7/3/2012 and an End Date of 9/2/2012
    Given these examples how would I include John Doe in the peak monthly count each month for May - October, Sally Doe in the peak monthly count for
    August - December and Jimmy Doe in the peak monthly count for July – Sept if the end-user running the report selected December 2012 as the parameter?
    Given the example above and the fact I'm creating a line chart I think the best way to create this report would be a resultset that looks like
    this:
    Patient Name              
    Months Assigned
    John Doe
    June 2012
    John Doe                     
    July012
    John Doe                     
    Aug 2012
    John Doe                     
    Sept 2012
    John Doe
    Oct 2012
    Sally Doe                     
    Aug 2012
    Sally Doe                     
    Sept 2012
    Sally Doe
    Oct 2012
    Sally Doe                     
    Nov 2012
    Sally Doe
    Dec 2012
    Jimmy Doe                  
    July 2012
    Jimmy Doe
    Aug 2012
    Jimmy Doe
    Sept 2012
    From the resultset above I could create another resultset that would count\group on month and year to return the peak count for each month:
    June 2012 - 1
    July 2012 – 2
    Aug 2012 - 3
    Sept 2012 - 3
    Oct 2012 - 2
    Nov 2012 - 1
    Dec 2012 - 1
    The resultset that displays the peak count for each month would be used to create the line chart (month would be the X axis and the count would
    be the y axis).
    Does this sound like the best approach?
    If so, any advice on how to create the resultset that lists each patient and each month they were assigned to the practice would be greatly appreciated.
    I do not have permissions to create SPs or Functions within the database but I can create temp tables.
    I know how to create the peak monthly count query (derived from the query that lists each patient and month assigned) as well as the line chart.
    Any advice or help is greatly appreciated.

    Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
    Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want. 
    Doing a cross  join between my original resultset that had two dates:
    08/27/2010
    10/24/2011
    and a calendar table that has 24 rows (each month for a two year period)
    my new resultset looks like this:
    I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
    You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
    the Months Assigned value must be greater than or equal to the date assigned value.
    Any advice would be appreciated.

  • Creating a Line Chart using a user enter target amount.

    Hi all,
    I'm trying to create a chart that will use Total Sales and Annual Target(Goal).
    I get the Total sales to work just fine. It's just getting the Annual Target(Goal), which is a parameter, to come into the chart. Right now they are doing this in Excel and the Target line goes from 0 to 8,000,000.
    So how do i get that to work in my Crystal Report?
    So when the report is working correctly i should have a Line Chart with two Lines. Line 1 "The Target", Line 2 "Total Sales".
    Thanks

    Hi
    Create a formula field and store the parameter there.
    Now put this formula field in "On change of" in the Chart expert.
    e.g. I have a parmeter on country and I have a chart which shows the last year sales year wise for the countries.
    I create a formula field and put the below formula:
    stringvar x = {?countryparameter};
    Now i put this formula field in On change of so when i run the report i select the required country.
    Hope this helps!!
    Regards
    Sourashree

  • How not to see values of a serie in a 2D line chart

    Hello,
    I have 3 series in a 2d line chart. There are two series which are the thresholds and one serie for the averages. Thresholds are fix/stable numbers which correspond to straight lines, however the averages as you can image dynamic and changing. What I want is to see the values of averages but not the values of the straight lines. I cannot find a spesific option for the series, I can always show/hide values which does not work for me.
    Thank you from now.

    Hi mertov,
    You can find anychart's documentation in their website. The document that shows and explains all the XML tags anychart uses is the XML reference.
    Best regards,
    Sergio

Maybe you are looking for