Combination Chart: How to link auto-scaling of both Y-Axis?

I have a combination chart showing a couple bars and a couple lines.  The bars use the left Y-Axis and the lines correspond to the right Y-Axis.  Although they are based off seperate Y-Axis', the information is still related to each other.
Under my combination chart i have a slider which increases/decreases a 3rd set of red bars and it can push them so high that the Y-Axis will auto-scale itself, which is great.  But what happens is the secondary Y-Axis will not also re-scale to go wth the primary Y-Axis.  I have 2 screenshots to help demonstrate things a bit better.  So although the information is still technically correct, it is visibly incorrect.  Is there a way to link these 2 Axis together so it knows the max on the left Y-Axis before touching the slider is related to the max on the right Y-Axis? So if the primary y-axis grows, the secondary needs to as well?
PICTURES
The slider adjusts the red bars and i put them all the way up just before the point where it re-scales the primary y-axis:
http://img38.imageshack.us/img38/7853/beforel.jpg
Now i cranked the slider all the way up and the primary y-axis rescaled itself but the bars still look the exact same in relation to that blue line running across them.  The 2 lines on the graph that use the right y-axis should have dropped lower at the same time the blue/yellow bars did:
http://img602.imageshack.us/img602/7996/afters.jpg
Thanks for the help, I appreciate it!

Hi Scott,
You can control the scaling on the secondary Y axis. Find the maximum of the data for line as well as the column chart (here you can take help of MAX() excel formula) then take the maximum value out of the result and that cell storing data from slider. In this way we can find out the largest data among all. Use that data as the maximum limit for primary as well as for secondary axis,
Go to the Behavior tab of the chart > primary scale > maximum limit > elect the cell containing the calculated maximum value.
Repeat the same steps for secondary axis also. Now the change in one series will have uniform effect on both the axis.

Similar Messages

  • PlotXY manual X Axis Scaling doesn't rescale Y-Axis auto-scaling

    I'm using PlotXY(..) to display data on a graph.
    I use SetAxisScalingMode(...) to set set VAL_LEFT_YAXIS to VAL_AUTOSCALE.  
    I use SetAxisScalingMode(...) to set set VAL_TOP_XAXIS scaling to VAL_MANUAL.
    I make various calls to SetAxisScalingMode(...) which change the min & max values for the X-Axis.
    Everything thing seems to display correctly except that changing min & max values using manual scaling on the x-axis does not seem to change the range of data used to auto-scale the y-axis.
    For example say you have a peak in your data that you want to exclude so the auto-scaling on the y-axis will zoom in.
    So you change the max, min manual x-axis scaling to leave out the peak but scaling but the y-axis scaling doesn't change.
    Is this the way it should work?
    Ideas for a work around?
    Thanks,
    Kirk

    Hi Kirk,
    As you've noticed, the autoscaling of an axis in the graph is based on the entire data of each plot, not just on the portion of the plot that is within the range of the other axis.
    If you use only integer limits for the min and max of the x axis, if you plot only 1D arrays, and if you don't mind re-plotting every time that you want to manually change the x-axis, there's a possible workaround, consisting of replacing PlotY with PlotWaveform, so that you can offset the data to plot.
    I've adapted the code that you attached earlier to illustrate this:
    int xmin = 40;
    int xmax = 90;
    SetAxisScalingMode(handle, PANEL_GRAPH, VAL_BOTTOM_XAXIS, VAL_MANUAL, (double)xmin, (double)xmax);
    PlotWaveform (handle, PANEL_GRAPH, datapoints + xmin, xmax - xmin, VAL_DOUBLE, 1.0, 0.0, xmin, 1.0,
                  style, VAL_EMPTY_SQUARE, VAL_SOLID, 1, color);

  • Secondary Axis Label in Combination Chart

    Hi Everyone,
    I´m trying to make a Pareto Diagram with a Combination Chart, but I need a secondary Y axis for my cumulative frecuency. Is that possible???
    Thanks in advance.

    Hi Jessica,
    It is possible to do  Pareto Diagram with combination chart.Do like this take one measure on Primary Axis and select second measure and enable the secondary axis and map the values.
    Regards,
    Ramana
    Edited by: RamanaReddy Varra on Jul 27, 2011 11:38 AM

  • How to link operative chart of a/c, group chart of a/c to country specific

    how we link operative chart of accounts,group chart of accounts to country specific chart of accounts.
    how to maintain account groups and accounts to get consolidated report.

    Group chart of account is used for reporting purpose only.
    business senario
    your organization is spread into different countries where by they are legally bound to submitt account at a very detailed level but in other country it may be at a different pattern. what you can do is assign different operational chart of account to each company code (legal requirement) and assign all of those operational chart of accounts to a group chart of account i.e how your organization wants to see the accounts. by doing this you can have the report the way you want them to be regardless what operational chart of account the company code is using
    example
    your group company want to see salary at   A01101 Employee related expenses
    in Asian specific breakup is to be made at 11000 salary
                                                                  12000 allowances
    in other countries detail is to be given at 11001 Salary officeres
                                                               11002 Salary Staff
    in this case you can create 2 different operational chart of accounts for asia and other countries and than assign the same operational chart of account to your main chart of account
    remember the group chart of account has to be created as normal chart of accounts
    than assign each GL code to group account no
    as far as the alternative no is concerned they can only be used for reporting purpose and alternate no helps the user to find the new GL code

  • How does one turn off link auto-update?

    When we have an ID file open in CS6 and make a Photoshop edit, the link seems to auto-update. We don't like this as we'd rather 'watch' the update so if comes in as expected, etc.. Can one turn off link auto-update? Thanks!

    Are you making the edit by selecting the graphic frame and then choosing Edit Original? This will always auto-update.
    If that's not it, you might try clicking Preferences > General > Reset All Warning Dialogs

  • How to link specific customers invoices to a given gl account

    hi guru,
    could u pls assist me on how to link a particular customers invoices to a specific gl account.
    this should happen each time an invoice is raised for that customer.
    Thanks
    Maureen

    Hello,
    From your question it is not clear whether you are using SD module or not.
    Nowhere in SAP you can directly do this. However, you will have various options to link to a gl account in VKOA.
    Chart of Accounts, Customer Account Assignment Group, Material Account Assignment Group and a key combination you can maintain this.
    Regards,
    Ravi

  • Apex 4 Combined chart with multiple y axis

    Hi
    I am trying to create a Combined Line chart & Bar chart using Multiple y-axis
    ie Line chart using one y-axis and Bar chart using another y-axis.
    In Apex 4 so for i am able to to create Combined chart by adding 2 series.. but i am unable to specify y-axis for each.
    Can any one help me how i can do this.
    Thanks
    Prabahar

    I managed to do it.
    Below I will post a working example of sql code and chart XML:
    SQL CODE:
    select NULL LINK,
    trunc(AUTH.AUTHDATETIME) "AUTHDATETIME",
    count(AUTH.AUTHDATETIME) "{n:Computer;t:Spline;y:ex}",
    sum(AUTH.amount) "{n:Video;t:Spline}"
    FROM schema.AUTH
    group by trunc(AUTH.AUTHDATETIME)
    order by 2 desc
    <?xml version = "1.0" encoding="utf-8" standalone = "yes"?>
    <anychart>
    <settings>
    <animation enabled="false"/>
    <no_data show_waiting_animation="False">
    <label>
    <text></text>
    <font family="Verdana" bold="yes" size="10"/>
    </label>
    </no_data>
    </settings>
    <margin left="0" top="" right="0" bottom="0" />
    <charts>
    <chart plot_type="CategorizedVertical" name="chart_1269902745139534">
    <chart_settings>
    <title enabled="False" />
    <chart_background>
    <fill type="Solid" color="0xffffff" opacity="0" />
    <border enabled="false"/>
    <corners type="Square"/>
    </chart_background>
    <data_plot_background>
    </data_plot_background>
    <axes>
    <y_axis >
    <scale type="Logarithmic" minimum="1" log_base="5"/>
                   <title><text>Video Sales</text></title>
                   <labels><format>{%Value}{numDecimals:0}</format></labels>
    </y_axis>
    <x_axis>
    <scale mode="Normal" />
    <title enabled="false"/>
    <labels enabled="true" position="Outside">
    <font family="Tahoma" size="10" color="0x000000" />
    <format><![CDATA[{%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}]]></format>
    </labels>
    <major_grid enabled="True" interlaced="false">
    <line color="Black" />
    </major_grid>
    <minor_grid enabled="True">
    </minor_grid>
    </x_axis>
              <extra>
    <y_axis name="ex">
    <title><text>Computer Sales</text></title>
    <labels><format>{%Value}{numDecimals:0}</format></labels>
    </y_axis>
    </extra>
    </axes>
    </chart_settings>
    <data_plot_settings enable_3d_mode="false" >
    <line_series>
    <tooltip_settings enabled="true">
    <format><![CDATA[{%Name}{enabled:False} - {%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}]]></format>
    <font family="Tahoma" size="10" color="0x000000" />
    <position anchor="Float" valign="Top" padding="10" />
    </tooltip_settings>
    <label_settings enabled="true" mode="Outside" multi_line_align="Center">
    <format><![CDATA[{%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}]]></format>
    <background enabled="false"/>
    <font family="Arial" size="10" color="0x000000" />
    </label_settings>
    <line_style>
                             <line enabled="true" thickness="1" opacity="1" />
    </line_style>
    <marker_settings enabled="True" >
    <marker type="Circle" />
    </marker_settings>
    </line_series>
    </data_plot_settings>
    #DATA#
    </chart>
    </charts>
    </anychart>
    Originally I used as an example below resource:
    http://anychart.apex-evangelists.com/pls/apex/f?p=755:46:0::NO:46::
    Thanks.
    Edited by: Jopa on 23.07.2010 1:07
    Edited by: Jopa on 23.07.2010 1:08

  • In Elements 12 how do I auto fix multiple pictures, then send them back to the organizer?

    In Elements 12 how do I auto fix multiple pictures, then send them back to the organizer?

    Hi,
    You can try the batch processing, refer the below link
    http://help.adobe.com/en_US/photoshopelements/using/WS287f927bd30d4b1f89cffc612e28adab65-7 fff.html#WS287f927bd30d4b1f89cffc612e28adab65-7ff6

  • Plotting a combination chart with a combo box for selection

    Hi:
    I am a newbie using xcelcius and I need help on the following:-
    I need to create a combination chart that plots 3 years data by month, and I need a combo box selection at the top that allows me to select user display for each difference region. I manage to create one that plots only 2008 data with a combo-box selection, but I have no idea how to do it for a combi chart in xcelcius. Any advise?

    Hi Ning,
    I assume your data are like this:
    Region             Year     Jan     Feb     Mar
    APJ             2006     $234.45     $310.34     $321.54
    APJ             2007     $314.35     $319.12     $256.89
    APJ             2008     $425.54     $354.34     $285.73
    North Asia     2006     $534.64     $642.35     $484.64
    North Asia     2007     $631.74     $654.13     $754.34
    North Asia     2008     $754.31     $423.65     $634.32
    South East Asia     2006     $536.42     $576.35     $525.42
    South East Asia     2007     $426.78     $876.43     $643.75
    South East Asia     2008     $634.87     $425.77     $732.43
    If this, you can set the insertion type of combo box is "Filtered Rows", see steps:
    1) For Combo Box, bind General > Labels to the Region column.
    2) Set General > Data Insertion > Insertion Type is "Filtered Rows" (you can refer to following flash to see how "Filtered Rows" works).
    3) Set its Source Data are Year, Jan, Feb, ... columns and Destination to blank cells.
    4) Bind Chart to the destination data.
    Now when you select APJ from Combo Box, it will insert all the rows of APJ data to the desitination cells which will be displayed in Chart.
    Hope this can help!

  • How to create Auto PR ?

    Kindly guide me & send me a manual for "How to create Auto PR ?"

    hi,
    Make MMR from MM01..Maintain MRP view...Enter necessary data like reorder point, MRP type, procurement type, etc..
    Then maintain the source list for the vendor material combination, make it MRP relevent using the MRP indicator in it. Enter other data like validity period etc and other necessary data in it..and save it..
    Then Go to MD03, make entries like Processing key as NTECH or NETPL or NEUPL as per your scenerio..
    Other entries like 2 for PR, 3, 1, 1, 1,
    and use tick for display result before you save the results...
    Then save it...
    Check MD05 and MD04 for your PR generation result....
    Regards
    Priyanka.P

  • Change color palette of combination chart

    Hello everyone,
    I am experiencing a problem when trying to change to color palette of a combination chart.
    According to the api there should be a method setColorPalette(aColorPalette) and a property colorPalette;
    (JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.viz.ui5.types.Combination)
    when I try to call this method I receive the following error:
    TypeError: Object [object Object] has no method 'setColorPalette'
    I introduced the combination chart before by calling jQuery.sap.require("sap.viz.ui5.types.Combination"); outside of the controller;
    I also tried to add the porperty colorPalette in xml, but it seems to be ignored.
    Has anyone an idea on what the reason could be?
    Best regards,
    Benedikt

    Hi Benedikt,
    you can find below working code of changing color palette of chart.
    This is based on pie chart but accordingly you can use for combination chart.
    JS Bin - Collaborative JavaScript Debugging&lt;/title&gt; &lt;link rel=&quot;icon&quot; href=&quot;http://static.jsbin.…
    Regards,
    Chandra

  • How to cancel auto renewal?

    HOw to cancel auto renewal?

    HI,
    Please go through this link
    http://support.apple.com/kb/ht4098
    Thanks,
    Ankit
    Adobe Reader Team

  • Stacked Bar Combination Chart in Reports

    Afternoon
    I have a requirement for a chart that is a stacked bar chart chart with the addition of a line chart.
    The combination chart allows Bars and Lines, but can't see how to change this to a stacked bar. Is there a setting I can change in the XML?
    Report Builder 10.1.2.0.2
    Any ideas?
    Regards
    Richard

    Solved my own problem.
    Add graphType="BAR_VERT_STACK" to the "Graph version..." as below:
    <Graph version="3.2.0.22" markerDisplayed="false" markerShapeInLegend="false" graphType="BAR_VERT_STACK">
    Also ensure the bar series are set to "MT_BAR" and line is set to MT_MARKER

  • Stacked Bar and combination chart

    Hi Guys,
    Does anyone know if it is possible to do a combination chart with a stacked bar chart and line chart.
    Thank you
    Jess

    Jess_C,
    There is no predefined chart to solve ur purpose. Try to sync both the charts and use Manul scaling.
    Thanks.
    Karthik

  • Openoffice spreadsheet draw combination charts  programatically

    hi all,
    we need to develop a project that is an extension in OO so that it could display a mutitype chart we have drawn in Excel.
    Essentially, we have a combination chart consists of a candle stick chart and a line chart appearing together. OO could not display it!
    (see http://qa.openoffice.org/issues/show_bug.cgi?id=27363).
    We have research the problem for a while and figure that the easiest way is to develop an extension in Java using the Netbean Integration tool. Probably, adding a new chart type so that it is matched to the excel version. In chart2, it appears that they have changed the structure to a MVC model and under the diagram service, a coordinate system could have a list of charttype. So it appears that it is possible to draw a chart with different charttype on it even without the extension. However, we have not tried the chart2 API as we can't find a working example and SUN is not very helpful either and they discourage us to use chart2.
    (see http://graphics.openoffice.org/chart/chart2codestructure.html)
    can you give us advise how to approach this problem ?
    documentation resources , code snippets to call chart2 api from java code and any other helpful suggestion will be very welcomed.
    thanks.

    ok let me put it simply :
    com:sun:star:chart2 is not written in java, it is all written in C++ with those horrible IDL files which I don�t want to know about.
    However, i do think UNO make it possible to be used in a java environment.
    i searched the OOo website and also the web for an example snippet of a java program that calls com:sun:star:chart2 ; but i didn't found anything.
    it would be great if SUN engineers in this forum show me an example of how to use the OOo chart2 API in a java program.
    thanks.

Maybe you are looking for