Formatting a combined dual chart - which svg commands necessary?

Hello all,
I have a combined dual chart (two columns and one line) as shown in the picture below. I'd like to format the following things:
- color of columns (costs in one color and Incoming Order List in a different)
- color of outer ticks of both y-axis
- hiding the minor gridline of y-axis
I changed both y-axis colors with this svg-css lines:
.chart-style-1 g.v-m-yAxis g.viz-axis-body.v-body path.v-fixed-valueaxisline {stroke: #dbcbcb;}
.chart-style-1 g.v-m-yAxis2 g.viz-axis-body.v-body path.v-fixed-valueaxisline {stroke: #dbcbcb;}
For the outer tick lines I tried this - but it didn't work:
.chart-style-1 g.v-m-yAxis g.viz-axis-body.v-body line.v-fixed-valueaxisline {stroke: #dbcbcb;}
I also tried to hide the minor gridline with this command (also no impact):
.chart-style-1 g.v-m-yAxis g.viz-axis-body.v-body line.v-gridline {stroke-width: 0;}
The color configuration of a dual chart is very limited. You can only set colors for 2 series and Design Studio colors the y-axis as well. There is no color configuration for the individual measures anymore.
Does anyone has an idea of how the SVG commands in CSS has to be for changing the colors of columns and outer ticks and hide the minor gridline?
Thanks,
Andreas

Hi Andreas,
After using the following CSS:
/* Y-AXIS: change color for the side Y-AXIS lines */
.chart-style-1 g.v-m-yAxis g.viz-axis-body.v-body path.v-fixed-valueaxisline {stroke: pink;}
.chart-style-1 g.v-m-yAxis2 g.viz-axis-body.v-body path.v-fixed-valueaxisline {stroke: pink;}
/* Y-AXIS: For the outer tick lines */
/* change color */
.chart-style-1 g.v-m-yAxis g.viz-axis-body.v-body line.v-fixed-valueaxisline {stroke: black;}
.chart-style-1 g.v-m-yAxis2 g.viz-axis-body.v-body line.v-fixed-valueaxisline {stroke: black;}
/* or hide */
.chart-style-1 g.v-m-yAxis g.viz-axis-body.v-body line.v-fixed-valueaxisline {stroke-width: 0;}
.chart-style-1 g.v-m-yAxis2 g.viz-axis-body.v-body line.v-fixed-valueaxisline {stroke-width: 0;}
/* set colors for measures */
/* measure 1 and 2 displayed as bars */
.chart-style-1 g.v-column g.v-datashape:nth-child(1) rect.v-datapoint.v-morphable-datapoint {fill: gold;} 
.chart-style-1 g.v-column g.v-datashape:nth-child(2) rect.v-datapoint.v-morphable-datapoint {fill: orange;}
/* measure 3 displayed as line */
.chart-style-1 g.v-m-plot g.v-module g.v-datalines path.v-lines.v-morphable-line {stroke: silver;}
.chart-style-1 g.v-m-plot g.v-module g.v-markers.v-datashapesgroup path.v-datapoint.v-morphable-datapoint {fill: silver;}
/* adjust colors for measures in the legend to match adjusted colors in the bars/lines */
.chart-style-1 g.v-legend-content g.v-row.ID_0 path {fill: gold;}
.chart-style-1 g.v-legend-content g.v-row.ID_1 path {fill: orange;}
.chart-style-1 g.v-legend-content g.v-row.ID_2 path {fill: silver;}
The Chart looks as follows:
Useful thread/answer regarding changing colors for measures in a column combination chart with css: http://scn.sap.com/message/15155308#15155308
Kind regards,
David

Similar Messages

  • Change color of measures - Column Combination Dual Axis

    Hi,
    I have a couple of graphs of the type Column Combination Dual Axis.
    I want to change the colors for these measures but that does not seem to be possible when using this type of chart?
    I can only change the color of the Axis?
    First, I thought it was something wrong with my chart so I tried to create a new application with this chart type and got the same result.
    Does anyone know if it should be like this?
    Br
    Max

    Hi Max,
    how many measures do you want to use for the Chart type "Column Combination Dual Axis"?
    Do you have tried to swap the axis in your chart type setting?
    In my case it works as expected and I´m able to change the color of the measures ( = the axis)
    I think it´s important to add the measures in the rows at the initial view of the data source (or you can change it by swap the axis in the chart).
    Hope it helps!
    Best regards,
    Michael

  • Combination of charts

    Hi all
    Still the same question, can anyone please tell me,, how to combine 2 charts together such that i want line chart and column chart together in a combined format for a report for web reports.
    Is it possible to combine 2 charts together.
    Thanx n advance
    Ill assign points.
    Regards
    Dinesh.

    You can to use 2 charts types. You should to do the following: you put a chart web item in the web template, double click on this, you choose the graphics type (for example, column), click "Next" and in the Series options over the serie 2, you can choose "Chart Type", for example line. I hope help you.

  • Is it possible to have a combination graph chart with a stacked vertical br

    I have the following XML data :
    - <ROWSET>
    - <ROW>
    <Z_CUSTOMER>ACME</Z_CUSTOMER>
    <Z_REGION>SPAIN</Z_REGION>
    <Z_YEAR>2009</Z_YEAR>
    <Z_MONTH>01</Z_MONTH>
    <Z_SALES>100</Z_SALES>
    <Z_SALES_PREV>50</Z_SALES_PREV>
    <Z_SALES_PREV2>90</Z_SALES_PREV2>
    </ROW>
    - <ROW>
    <Z_CUSTOMER>ACME</Z_CUSTOMER>
    <Z_REGION>SPAIN</Z_REGION>
    <Z_YEAR>2009</Z_YEAR>
    <Z_MONTH>02</Z_MONTH>
    <Z_SALES>300</Z_SALES>
    <Z_SALES_PREV>50</Z_SALES_PREV>
    <Z_SALES_PREV2>40</Z_SALES_PREV2>
    </ROW>
    - <ROW>
    <Z_CUSTOMER>ACME</Z_CUSTOMER>
    <Z_REGION>SPAIN</Z_REGION>
    <Z_YEAR>2009</Z_YEAR>
    <Z_MONTH>03</Z_MONTH>
    <Z_SALES>600</Z_SALES>
    <Z_SALES_PREV>35</Z_SALES_PREV>
    <Z_SALES_PREV2>80</Z_SALES_PREV2>
    </ROW>
    - <ROW>
    <Z_CUSTOMER>ACME</Z_CUSTOMER>
    <Z_REGION>SPAIN</Z_REGION>
    <Z_YEAR>2009</Z_YEAR>
    <Z_MONTH>04</Z_MONTH>
    <Z_SALES>700</Z_SALES>
    <Z_SALES_PREV>350</Z_SALES_PREV>
    <Z_SALES_PREV2>90</Z_SALES_PREV2>
    </ROW>
    - <ROW>
    <Z_CUSTOMER>ACME</Z_CUSTOMER>
    <Z_REGION>FRANCE</Z_REGION>
    <Z_YEAR>2009</Z_YEAR>
    <Z_MONTH>01</Z_MONTH>
    <Z_SALES>100</Z_SALES>
    <Z_SALES_PREV>60</Z_SALES_PREV>
    <Z_SALES_PREV2>70</Z_SALES_PREV2>
    </ROW>
    </ROWSET>
    I have produced a report based on this data which uses a combination graph chart. The sales for the current year are shown as a vertical bar for each month while the previous year and previous year but one are shown as lines. The report produces the correct output but I would like to add an extra feature
    so that the vertical bar for the current year is shown as a stacked vertical bar so that the sales from each region can be seen within the bar rather than the bar just showing total sales. Is this possible byt altering the chart options within the template builder or would it be necessary to write some XSL code to do this ?

    Yes and no, here's an example of stacked bar and area graph.
    chart:
    <Graph stylePath="/oracle/dss/graph/styles/projection.xml" seriesEffect="SE_AUTO_GRADIENT" graphType="LINE_VERT_STACK">
      <LegendArea visible="true" fillColor="#FFFFFF" fillTransparent="false" borderColor="#000000" borderTransparent="false" automaticPlacement="AP_NEVER" position="LAP_RIGHT"/>
      <Title text="Margin Forecast Trending" visible="true" horizontalAlignment="CENTER">
        <GraphFont name="Arial Black" size="16" bold="true" italic="false" underline="false"/>
      </Title>
      <SeriesItems>
        <Series id="0" color="#FFFF00" lineStyle="LS_SOLID"/>
        <Series id="1" color="#0000FF" lineStyle="LS_DASH"/>
        <Series id="2" color="#FF0000" lineStyle="LS_DOTTED"/>
        <Series id="3" color="#00FF00" lineStyle="LS_DASH_DOT"/>
      </SeriesItems>
      <Y1Axis lineWidth="1" lineColor="#DDDDDD" ascending="true" axisLocation="AL_LEFT" visible="true" axisMinAutoScaled="true" axisMaxAutoScaled="true" majorTickStepAutomatic="true">
        <ViewFormat numberType="NUMTYPE_GENERAL" numberTypeUsed="true" decimalDigit="0" decimalSeparatorUsed="true" decimalDigitUsed="true" scaleFactor="SCALEFACTOR_NONE" scaleFactorUsed ="false"/>
      </Y1Axis>
      <LegendText>
        <GraphFont name="Arial Black" size="12" bold="false" italic="false" underline="false"/>
      </LegendText>
      <O1Title text="Forecast as of" visible="true">
        <GraphFont name="Arial Black" size="11" bold="true" italic="false" underline="false"/>
      </O1Title>
      <Y1Title text="Dollars" visible="true">
        <GraphFont name="Arial Black" size="11" bold="true" italic="false" underline="false"/>
      </Y1Title>
      <Y1TickLabel>
        <GraphFont name="Arial Black" size="9" bold="false" italic="false" underline="false"/>
      </Y1TickLabel>
      <O1TickLabel>
        <GraphFont name="Arial Black" size="9" bold="false" italic="false" underline="false"/>
      </O1TickLabel>
      <LocalGridData colCount="{count(xdoxslt:group(.//G_GRAPH|.//G_ZERO_GRAPH[count(//G_GRAPH)=1],  'PFP_DATE'))}" rowCount="4">
        <RowLabels>
          <Label>Margin Plan</Label>
          <Label>Base Fee</Label>
          <Label>Forecast at Completion</Label>
          <Label>Margin Forecast</Label>
        </RowLabels>
        <ColLabels>
          <xsl:for-each select=".//G_GRAPH|.//G_ZERO_GRAPH[$grp_cnt=1]" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <Label>
              <xsl:value-of select="PFP_DATE"/>
            </Label>
          </xsl:for-each>
        </ColLabels>
        <DataValues>
          <RowData>
            <xsl:for-each-group select=".//G_GRAPH|.//G_ZERO_GRAPH[$grp_cnt=1]" group-by="PFP_DATE" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
              <Cell>
                <xsl:value-of select="sum(current-group()/MARGIN_PLAN)"/>
              </Cell>
            </xsl:for-each-group>
          </RowData>
          <RowData>
            <xsl:for-each-group select=".//G_GRAPH|.//G_ZERO_GRAPH[$grp_cnt=1]" group-by="PFP_DATE" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
              <Cell>
                <xsl:value-of select="sum(current-group()/BASE_FEE)"/>
              </Cell>
            </xsl:for-each-group>
          </RowData>
          <RowData>
            <xsl:for-each-group select=".//G_GRAPH|.//G_ZERO_GRAPH[$grp_cnt=1]" group-by="PFP_DATE" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
              <Cell>
                <xsl:value-of select="sum(current-group()/FORECAST_AT_COMPLETION)"/>
              </Cell>
            </xsl:for-each-group>
          </RowData>
          <RowData>
            <xsl:for-each-group select=".//G_GRAPH|.//G_ZERO_GRAPH[$grp_cnt=1]" group-by="PFP_DATE" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
              <Cell>
                <xsl:value-of select="sum(current-group()/MARGIN_FORECAST)"/>
              </Cell>
            </xsl:for-each-group>
          </RowData>
        </DataValues>
      </LocalGridData>
    </Graph>

  • Which cisco command on router can show me specific hosts which have dhcp reserved IPs

    how can i get that which hosts of the network have reserved dhcp IPs as i know that dhcp reservation to be created when mac address will be assigned.
    so, which cisco command on router can show me specific hosts which have dhcp reserved IPs.thanks

    As said by Leo, the DHCP bindings will show the corresponding MAC addresses.
    Unless you have a list of all MAC addresses somewhere (which most people tend not to) then you can use the ARP cache combined with the CAM tables to trace which ports relate to which MAC address to get more information on the host if you need it.

  • Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a product through telnet or serial interface

    Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a range of products through telnet or serial interface and output pass/fail results.

    If I understand correctly, you want to do the following:
    1. Create one or more tab-delimited files that specify a series of query strings (that LabVIEW will send to your products) and expected reply strings (that LabVIEW will look for in response to each query)
    2. Run your LabVIEW program (the test engine) and have it execute one or more test scripts from file using either TCP/IP or serial communication to your units under test
    3. Track how many of the queries are met with the expected response, and output an indication of whether each step passed or failed
    If this is close to correct, then I've attached a sample test file and LabVIEW VI as an example; I chose the TCP/telnet method because it allowed me to use the ni.com Web site to simulate my tes
    t hardware. If you happen to own the LabVIEW Internet Toolkit, there's a VI called "Telnet Play Script" in the Telnet palette that does something fairly similar using TCP. The same general model would also work for Serial communications.
    Hope it helps,
    John Lum
    Attachments:
    test_engine.zip ‏24 KB

  • How to set access.log format to "combined"

    Hello,
    I'm trying to get AWStats working on Solaris and have that working fine, but to get more information, I need to set the log format to "combined".
    Question is: is there a way to modify what is output in the access.log?

    SHOULD I RECOMPILE and specify the access method?
    Should i change line 1131 in db4.cpp to DBTYPE type = DB_QUEUE; ???

  • Link not working on a pie chart which uses a customized XML

    Hi,
    I have created a pie chart which uses customized XML.
    For this, i am using database function. This function returns a customized XML which is eventually used by chart.
    But the problem now i am facing is the link on chart is not working . I have to navigate to another page from this chart sending value of link attribute.
    Can someone help me out , in how to create link in such case ?
    Thanks in advance.
    Edited by: Vaibss on Feb 22, 2011 10:49 PM

    Good news: I've found that the directive
    -Dlog4j.configuration=/home/myServer/Oracle/Middleware/wlserver_10.3/server/bin/log4j.properties
    shuld be instead:
    -Dlog4j.configuration=file:/home/myServer/Oracle/Middleware/wlserver_10.3/server/bin/log4j.properties
    - noticed that <<file:>> ? VERY important...
    This way the log4j logging works also on a standalone WLS.
    reference:
    http://jaikiran.wordpress.com/2006/07/05/i-get-log4jwarn-no-appenders-could-be-found-for-logger-message-2/
    Sergio.

  • I've purchased numerous books through itunes and now I'm unable to open ibooks; I get a "book format error, delete and redownload" which I've done numerous times with negative results.

    I've purchased numerous books through the itunes store in which I was able to read.  Now I'm unable to open some of the ibooks that I've purchased, I get an error message...book formate error, delete and redownload, which I've done numerous times with negative results.  What are my options?

    within the receipt that Apple sent to you via email is a Report a Problem link. use that link to report your issue.
    also you could try a basic reset and see if that resolves your issue. hold down the Lock button & Home button at the same time for ~15 seconds, the iPad should then perform a reset.

  • How to combine Area chart and Line chart?

    Hi,
    I have to display Area chart with the Line chart in one graph.
    How can i do that,
    Please suggest.

    Pretty easy, just add series to your chart
    http://forums.arcgis.com/threads/73636-How-to-combine-line-chart-and-stacked-column-chart
    Dany

  • Could you please tell me, which oracle commands can get below result?

    Could you please tell me, which oracle commands can get below result?
    1. Total size of archive generated
    TotalArchive (GB) Date
    24.415 28-02-2013
    14.223 29-03-2013
    12.133 30-02-2013
    2. Total number of archive logs generated
    COUNT(SEQUENCE#) TO_CHAR
    123 28-03-13
    234 29-03-13
    124 30-03-13

    997398 wrote:
    Could you please tell me, which oracle commands can get below result?
    1. Total size of archive generated
    TotalArchive (GB) Date
    24.415 28-02-2013
    14.223 29-03-2013
    12.133 30-02-2013
    2. Total number of archive logs generated
    COUNT(SEQUENCE#) TO_CHAR
    123 28-03-13
    234 29-03-13
    124 30-03-13query V$LOG

  • Which are the necessary users for a New Database...

    While making a new Database.. Oracle 11g Wizrd automatically creates a long list of unwanted users.. can these be dropped.. which are the necessary users pls help
    Drop User ANONYMOUS Cascade;
    Drop User APEX_PUBLIC_USER Cascade;
    Drop User CTXSYS Cascade;
    Drop User DBSNMP Cascade;
    Drop User DIP Cascade;
    Drop User EXFSYS Cascade;
    Drop User FLOWS_030000 Cascade;
    Drop User FLOWS_FILES Cascade;
    Drop User MDDATA Cascade;
    Drop User MDSYS Cascade;
    Drop User MGMT_VIEW Cascade;
    Drop User OLAPSYS Cascade;
    Drop User ORACLE_OCM Cascade;
    Drop User ORDPLUGINS Cascade;
    Drop User ORDSYS Cascade;
    Drop User OUTLN Cascade;
    Drop User OWBSYS Cascade;
    Drop User SCOTT Cascade;
    Drop User SI_INFORMTN_SCHEMA Cascade;
    Drop User SPATIAL_CSW_ADMIN_USR Cascade;
    Drop User SPATIAL_WFS_ADMIN_USR Cascade;
    Drop User SYS Cascade;
    Drop User SYSMAN Cascade;
    Drop User SYSTEM Cascade;
    Drop User TSMSYS Cascade;
    Drop User WKPROXY Cascade;
    Drop User WKSYS Cascade;
    Drop User WK_TEST Cascade;
    Drop User WMSYS Cascade;
    Drop User XDB Cascade;
    Drop User XS$NULL Cascade;

    This metalink doc describes each schema and what is does and how to install/uninstall:
    Information On Installed Database Components and Schemas - Doc ID: 472937.1
    Application Express Removal:
    http://database.in2p3.fr/doc/oracle/Oracle_Database_11_Release_1_(11.1)_Documentation/install.111/b32072/remove_oracle_sw.htm#CIHGAHFJ
    determine what components you do not use and then you can remove them safely (by following the documentation).
    Here is a script to remove components/schemas that my company does not use (condensed from above).
    Only run it if you determine you do not use these advanced components (but you could always re-install them if necessary).
    Script has been tested and does not break anything.
    (run from db host)
    # remove application express
    sqlplus "/as sysdba"
    ALTER SESSION SET CURRENT_SCHEMA = FLOWS_030000;
    EXEC wwv_flow_upgrade.drop_public_synonyms;
    ALTER SESSION SET CURRENT_SCHEMA = SYS;
    DROP USER FLOWS_030000 CASCADE;
    DROP USER flows_files CASCADE;
    DROP USER apex_public_user CASCADE;
    exit
    # deinstall Oracle Multimedia: -> SQL> (on Linux/UNIX)
    sqlplus "/as sysdba"
    @?/ord/im/admin/imremov.sql
    # ORACLE SPATIAL
    sqlplus "/as sysdba"
    -- drop all public synonyms created for Spatial:
    set pagesize 0
    set feed off
    spool dropsyn.sql
    select 'drop public synonym "' || synonym_name || '";' from dba_synonyms where table_owner='MDSYS';
    spool off;
    @dropsyn.sql
    set feedback on
    drop user mddata cascade;
    drop user spatial_csw_admin_usr cascade;
    drop user spatial_wfs_admin_usr cascade;
    drop user MDSYS cascade;
    exit
    # ULTRASEARCH
    cd $ORACLE_HOME/ultrasearch/admin/
    sqlplus "/as sysdba"
    set define off
    @wk0deinst.sql
    exit
    # workspace manager
    sqlplus "/as sysdba"
    @$ORACLE_HOME/rdbms/admin/owmuinst.plb
    exit
    # OLAP
    cd $ORACLE_HOME/olap/admin
    sqlplus "/as sysdba"
    @?/olap/admin/catnoamd.sql
    @?/olap/admin/olapidrp.plb
    @?/olap/admin/catnoaps.sql
    @?/olap/admin/catnoxoq.sql
    spool syn.sql
    select 'drop public synonym '|| synonym_name ||';' from dba_synonyms where table_owner = 'OLAPSYS';
    spool off;
    @syn.sql
    spool syn.sql
    select 'drop public synonym '|| synonym_name ||';' from dba_synonyms where table_owner = 'EXFSYS';
    spool off;
    @syn.sql
    spool syn.sql
    select 'drop public synonym '|| synonym_name ||';' from dba_synonyms where table_owner = 'FLOWS_FILES';
    spool off;
    @syn.sql
    exit

  • I am unable to work in the airtel sight in it which is very necessary

    I have to open the airtel partnerworld site and there are some official work which is very necessary. Whenever I have tried in last 4/5 days days, I was failed to do so. We have to produce our bills and datas in this site. So, if firefox can't help us with this we will have to quit firefox.

    And especially not an old beta 5 version instead of the latest 4.0. b7 version.<br />
    I assume that you use that 4.0b5 version with your current Firefox 3.6.x release profile and that may also cause problems if you go back to the Firefox 3.6.12 version and re-use a Firefox 4 version at a later time.
    * http://kb.mozillazine.org/Testing_pre-release_versions
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox
    There are other things that need attention.
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    *Shockwave Flash 10.0 r22
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • Which keyframes are necessary for moving items and text?

    When moving text, do you need a center keyframe, a scale keyframe? Which ones are necessary? I usually add both not knowing for sure if they are needed.
    Thanks.

    What if you want to add keyframes at various places during a video segment or a still image and have it scale up and down at these different keyframes.
    Can this all be done on the same clip? Example: I place a keyframe at the beginning of the clip and 5 seconds into the clip I scale it up and then I want to scale it back to normal at 10 seconds, and then do a pan from left to right at 15 second, etc.
    Is the right way to do this to simply add keyframes on the same clip for each motion property I want to apply? Or should this be done somehow with copies of the same clip on different layers? How would you do this?
    Thanks.

  • Command necessary to activate the proxy

    Good afternoon
    What is the command necessary to activate the proxy from the console in solaris10? I am using the following command but not working
    -- Patchsvr

    about:config but you probably should be using the Tools > Options menu for most settings. Changing things in about:config without knowing what you're doing can really break Firefox and cause you to lose all your data.

Maybe you are looking for

  • All-in-One Photosmart C5180 not working correctly Airport Express

    I am new at this so please bare with me. Last night I installed all the software etc and hooked the printer up via usb into my airport express. I did all the instructions as instructed. As I began to use the HP software, it would not recognize the pr

  • Issue : Symbolic Account with GL accounts

    Dear Forum, I understand that : several wage type can go to 1 symbolic account ; 1 wage type to several symbolic ; 1 symbolic to 1 gl account ; several symbolic account to same gl account ; May I know what is the reason cannot have 1 symbolic account

  • Settlement during 'vi02' transaction

    Hi, We have a scenario where in we engage a transporter to deliver goods to the customer. During sales-billing cycle a 'Shipping Cost' document is created through 'vi01' transaction code to capture the frieght cost. After the transporter delivers the

  • Altering a DOM once it has been created after parseing an XML file

    Does anyone know of a nice easy way to edit a DOM once I have parsed it in so that I can write an altered XML file back to disk. (I can do the reading and writing easy enough, I just need the editing part. I used to have code that worked if the child

  • Get vendor number BAPI or functional module

    Hi, I recently found one standard functional module(or BAPI) to get vendor number if i pass user ID and i forgotten to make a note of it. I couldn't able find this functional module(or BAPI) again SRM system. can anyone help in finding this functiona