How to customise charting styles?

Hi,
I'm currently looking for a way to customise the styles
available in cfchart. I have to place 9 charts on an A4 page in
landscape i.e. 3 rows of 3 charts, each of size width 280 and
height 190.
Is there anybody who can please help me with the following?
1. If you choose a particular size in the fontsize attribute
of the cfchart tag, all labels have this size. Is there a way to
style the fontsize of the x-axis data labels to be smaller,
independently of the fontsize of the remaining labels? Something
similar to MS Excel.
2. Is there a way to increase the graph area? Ok, you would
say make the fonts smaller. But at a certain fontsize, e.g. below
Arial Narrow font size 8, it is barely readable. I want to be able
to resize the graph area e.g. like in MS Excel or Crystal Reports.
Is there a way to do this?
3. Can the position of the legend be changed? By default it
appears in the centre on top of the charts. Is there a way to
position it differently?
You can imagine with the space available to place 3 charts of
width 280px next to each other, the display will definitely suffer,
especially if e.g. the x-axis data labels are quite long.
In fact, the only things that I've already changed are:
1. x-axis orientation to vertical in default.xml
2. using Arial Narrow size 8
Your help will be greatly appreciated.
Thanks and regards,
Yogesh Mahadnac

Hi,
Ok, I've used the webcharts.bat file in the
"CFusionMX7\charting" directory to create a style called
myStyle.xml which I've saved in the "CFusionMX7\charting\styles\"
directory. See code below.
However when I try to use this style in the cfchart
style="myStyle" the x-axis font
DOESN'T display font size 8!!!
I need to
MANUALLY set the font attributes.
<cfchart font="Arial Narrow" fontsize="8">
Any idea why this is so, or any idea how to customise the
charts further?
Thanks and regards,
Yogesh Mahadnac
<?xml version="1.0" encoding="UTF-8"?>
<frameChart is3D="false" font="Arial Narrow-8"
isMultiline="true">
<frame xDepth="6" yDepth="6" outline="black"
gridColor="#CCCCCC"/>
<xAxis>
<labelFormat pattern="#,##0.###"/>
<parseFormat pattern="#,##0.###"/>
<labelStyle orientation="Vertical" color="black"/>
<titleStyle font="Arial Narrow-8"/>
</xAxis>
<yAxis scaleMin="0">
<labelFormat pattern="#,##0.###"/>
<parseFormat pattern="#,##0.###"/>
<labelStyle color="black"/>
<titleStyle font="Arial Narrow-8" foreground="black"/>
</yAxis>
<yAxis2>
<labelFormat pattern="#,##0.###"/>
<parseFormat pattern="#,##0.###"/>
<labelStyle color="black"/>
<titleStyle font="Arial Narrow-8" foreground="black"/>
</yAxis2>
<topYAxis>
<labelFormat pattern="#,##0.###"/>
<parseFormat pattern="#,##0.###"/>
<labelStyle color="black"/>
<titleStyle font="Arial Narrow-8" foreground="black"/>
</topYAxis>
<topYAxis2>
<labelFormat pattern="#,##0.###"/>
<parseFormat pattern="#,##0.###"/>
<labelStyle color="black"/>
<titleStyle font="Arial Narrow-8"/>
</topYAxis2>
<dataLabels font="Arial Narrow-8"/>
<legend spacing="3" valign="Top" halign="Right"
useMarkers="true"
font="Arial Narrow-9">
<decoration style="None"/>
</legend>
<elements outline="black" shapeSize="40" lineWidth="2"
fixedWidth="2">
<morph morph="Grow" stage="Cols"/>
</elements>
<table cellPadding="0" border="None">
<decoration style="None"/>
</table>
<title spacing="2" font="Arial Narrow-8-bold"/>
<paint isVertical="true" min="47" max="83"/>
</frameChart>

Similar Messages

  • Change chart style

    how to change chart background color

    Hi,
    You could change the style of chart plotarea by using below code:
    <UserControl.Resources>
    <Style x:Key="GridStyle1" TargetType="Grid">
    <Setter Property="Background" Value="White"/>
    </Style>
    </UserControl.Resources>
    Besides, link below could give you some help:
    http://msdn.microsoft.com/en-us/expression/dd433476.aspx
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Develop the Org-chart style page in OAF--Need suggestions

    How would I go about creating a basic organisation chart using css? What I want is a series of boxes with job titles in them which appear vertically and with a connecting line in the center.
    For the above requirement i need to develop the OAF page. can you provide any valid suggestions to me to acheive this kind of requirement.
    Is there any CSS styles for org-chart style..
    Thanks in advance

    I doubt you'll be able to achieve your exact requirement in OAF. Try experimenting with other techs like Flash, AJAX or HTML.
    Oracle.com has an 'out of the box' Flash based solution published here: http://solutions.oracle.com/solutions/applaud/org

  • Can't figure out how to rename css style in mx

    Hello,
    I can't figure out how to rename css style in mx. I have the
    style selected in the proprety inspector. Is there supposed to be a
    rename option at the bottom of the same dropdown box? There is
    option to edit style and a few others in same dropdown box... but
    no rename option. Please be specific... I have looked it up on the
    internet... but still cant find the option.
    Thanks,
    PoJ

    Do a Find and Replace to find name1 and replace with name2.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "computerpain" <[email protected]> wrote in
    message
    news:ed43p3$m9h$[email protected]..
    > Hello,
    > I can't figure out how to rename css style in mx. I have
    the style
    > selected
    > in the proprety inspector. Is there supposed to be a
    rename option at the
    > bottom of the same dropdown box? There is option to edit
    style and a few
    > others in same dropdown box... but no rename option.
    Please be
    > specific... I
    > have looked it up on the internet... but still cant find
    the option.
    >
    > Thanks,
    > PoJ
    >

  • How to set multiple styles on a single component in flex ?

    Hi ,
    I would like to know how to set multiple styles on a single component in flex.
    Can anyone give me an example as to how to set multiple styles for a single component ?
    Thanks ,
    Regards,
    Ajantha

    Hi tuliptaurus,
    You can setStyleName property for chnaging the external css dynamically by using the setStyle() method ...
    btn.setStyle("styleName","blendButtonSkinOther");
    You can change the external css by using the styleaName property with setStyle method..the line in blue..where blendButtonSkinOther is another css class..
    blendButtonSkin {
        fontFamily: Arial;
        fontSize: 11;
        color: #F1F1F1;
        textRollOverColor: #F1F1F1;
        textSelectedColor: #F1F1F1;
        horizontal-align:center;
        width:150;
        height:30;
        cornerRadius:5;
        upSkin:ClassReference('assets.skins.BlendButtonSkin');
        downSkin:ClassReference('assets.skins.BlendButtonSkin');
        overSkin:ClassReference('assets.skins.BlendButtonSkin');
        disabledSkin:ClassReference('assets.skins.BlendButtonSkin');
        selected-up-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-down-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-over-skin: ClassReference('assets.skins.BlendButtonSkin');
    blendButtonSkinOther {
        fontFamily: Arial;
        fontSize: 11;
        color: #F1F1F1;
        textRollOverColor: #F1F1F1;
        textSelectedColor: #F1F1F1;
        horizontal-align:center;
        width:150;
        height:30;
        cornerRadius:5;
        upSkin:ClassReference('assets.skins.BlendButtonSkin');
        downSkin:ClassReference('assets.skins.BlendButtonSkin');
        overSkin:ClassReference('assets.skins.BlendButtonSkin');
        disabledSkin:ClassReference('assets.skins.BlendButtonSkin');
        selected-up-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-down-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-over-skin: ClassReference('assets.skins.BlendButtonSkin');
    Thanks,
    Bhasker Chari

  • How to insert the style in sap-script? and in smart form?

    how to insert the style in sap-script? and in smart form?

    Hi..,
    For SAP scripts u need to create them in SE72 ...
    and u can include them in the script editor as..
    /: STYLE <STYLE-NAME>
    P1 text...............  (*** P1 is the Paragraph format created in SE72 )
    /: STYLE *
    For smartforms u need to go for the transaction (tcode) SMARTSTYLES... here u can create paragraph and character formats globally...
    <b>Sunil, plz do remember to close all your threads, when ur problem is solved !!</b>
    reward all helpful answers,
    sai ramesh

  • Creating a new chart in PowerPoint 2013 with Chart Styles applied

    In PowerPoint 2013 when I manually insert a new chart into a slide, the chart automatically has the Chart Style "Style 1" applied. This has the effect of setting the font sizes of chart labels to 12.
    However, no Chart Styles are applied if I try to add a new chart to PowerPoint 2013 using the following C# code:
    var ppt = new Microsoft.Office.Interop.PowerPoint.Application();
    var presentation = ppt.Presentations.Add();
    var layout = Microsoft.Office.Interop.PowerPoint.PpSlideLayout.ppLayoutChart;
    var slide = presentation.Slides.Add(1, layout);
    var shapes = slide.Shapes;
    shapes.AddChart();
    Font sizes seem to default to 18. Is there any way to create a chart or to set Chart Styles using Interop so that it matches a chart produced manually (i.e. has Chart Styles applied)?
    I am aware of the Chart.ChartStyle property but it only seems to change chart colors and legend placement, not font size. There is no Macro recorder in PowerPoint, so I can't generate VBA code to replicate the action of creating a new chart.

    Hi
    >> there any way to create a chart or to set Chart Styles using Interop so that it matches a chart produced manually (i.e. has Chart Styles applied)?
    You can add using shapes.AddChart2() instead of the last sentence shapes.AddChart(), I have tested in my projects, if I using AddChart(), the label size and the space will be different from manually insert a chart into a slide, but AddChart2() is the same
    with manually operating.
    And This object, member, or enumeration is deprecated and is not intended to be used in your code.
    More details you cab refer to the following link
    https://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel.shapes.addchart.aspx
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to change html style titles of a JTabbedPne at run time??

    hi,
    how to change html style titles of a JTabbedPne at run time??
    setTitleAt is not working...

    You can't change the canvas at runtime. But you can put the scrollbar on a stacked canvas and then show or hide that stacked canvas on different canvases.

  • MapViewer Html5 API. Error with Variable Pie Chart Style Model

    Hello,
    I have a serious problem related to Variable Pie Chart Style. MapViewer - Mapbuilder version: 11.1.1.7.3.
    [ALERT]  MAPVIEWER_9023:Cannot load style.
        Source: OM.style.StyleStore.parseXMLStyle
    OMS: oracle.mapviewer.share.stylex.VariablePieChartStyleModel cannot be cast to oracle.mapviewer.share.stylex.BucketStyleModel
    In Mapbuilder, I have a geometry theme with rendering style, an advanced variable pie with variable range, style. This is the XML of advanced style:
    <?xml version="1.0" ?>
    <AdvancedStyle>
        <VariablePieChartStyle startradius="5" increment="4">
               <PieSlice name="T004_2009" color="#0033FF"/>
               <PieSlice name="T004_2010" color="#FF0033"/>
               <PieSlice name="T004_2011" color="#33FF00"/>
            <Buckets>
                <RangedBucket seq="0" label="0 - 20%" low="0" high="100000"/>
                <RangedBucket seq="1" label="20 - 40%" low="100001" high="370000"/>
                <RangedBucket seq="2" label="40 - 60%" low="370001" high="1000000"/>
                <RangedBucket seq="3" label="60 - 80%" low="1000001" high="2500000"/>
                <RangedBucket seq="4" label="80 - 100%" low="2500001" high="2.0E7"/>
        </Buckets>
       </VariablePieChartStyle>
    </AdvancedStyle>
    and this is the XML of the theme:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules key_column="ID" caching="NONE">
        <hidden_info>
            <field column="INSTITUTION1" name="Port Name"/>
            <field column="T004_2009_CHAR" name="2009"/>
            <field column="T004_2010_CHAR" name="2010"/>
            <field column="T004_2011_CHAR" name="2011"/>
            <field column="T004_2012_CHAR" name="2012"/>
            <field column="T004_2013_CHAR" name="2013"/>
            <field column="T004_2014_CHAR" name="2014"/>
      </hidden_info>
        <rule column="PASSENGERS_2009,PASSENGERS_2010,PASSENGERS_2011">
            <features style="V.T004_PASSENGERS_VPIE"> (NVL(PASSENGERS_2009, 0) !=0 AND NVL(PASSENGERS_2010,0) != 0 AND NVL(PASSENGERS_2011, 0) != 0) </features>
            <label column="INSTITUTION1" style="T.CITY_NAME_H"> 1 </label>
      </rule>
    </styling_rules>
    When I preview the theme in mapbuilder everything seems fine.
    The problem arises, when I try to add a layer with this theme and style in my map in my APEX (version:4.2.6) application.
    This is the javascript:
    layer = new OM.layer.VectorLayer("layer1",
                def:{
                    type:OM.layer.VectorLayer.TYPE_PREDEFINED,
                    dataSource:ds, theme:themename,
                    url: baseURL
            map.addLayer(layer) ;
    and this is the error I get:
    [ALERT]  MAPVIEWER_9023:Cannot load style.
        Source: OM.style.StyleStore.parseXMLStyle
    OMS: oracle.mapviewer.share.stylex.VariablePieChartStyleModel cannot be cast to oracle.mapviewer.share.stylex.BucketStyleModel
    I' d appreciate any help.
    Thanks in advance,
    Vasso

    Hi,
    You're setting XML data in a JSON model, that's why the binding is incorrect.
    Depending on what your MII transaction is returning, you need to either retrieve the JSON part in the XML, or use a XML Model.
    Regards,
    Tanguy

  • How to update table styles in the new Pages?

    Anyone found out how to update table styles in the new Pages? I see it's done in some of the templates that Apple provided, but I can't find it. Also, the Copy table style command is gone, so I can't make my tables look in a uniform way, unless I use one of the built-in styles.
    Thanks.

    I'm having the same trouble. Looks like no way to create an overal 'table' style and I cannot access the table paragraph styles either.

  • How to customise Excise duty

    How to customise Excise duty, Insurance, cess condition type in Pricing procedure? Explain in detail

    Hi
    Excise duty - JMOD (statistical) and JEX2 (posted) is the Ctyp ( this is standard SAP)
    CESS - JCEX and JCEX ( one is statistical and the other is posted)
    Reward if it helped!
    Chandru

  • How to customise "Excise challan *** Commercial Invoice" in SAP

    How to customise "Excise challan *** Commercial Invoice" in SAP? Explain in detail

    Hi Gopala,
    Please Create 2 differnet Billing documents types for Commercial Invoice and Excise Chanllan and Ensure that Copy controls to be maintianed for the both the Billing types.
    Hope this Clarifies your Doubts and Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Single Chart Style Playlist

    Hi,
    I was wondering whether it was possible to make a Top 10 singles chart style smart playlist in iTunes.
    I want to be able to see which songs I've played the most in the last seven days.
    Maybe its not possible but was just wondering as I cant figure it out.
    Thanks

    If you make a smart playlist with the criterion "Last Played is within the last 7 days", you can then sort it by playcount.

  • How to customise the backdrop in photo booth application?

    how to customise the backdrop in photo booth application?

    If you’re using Photo Booth in full screen, move the pointer to the top of the screen, then click the Exit Full Screen button.
    If you’re viewing a photo or a video, click the View Video Preview button.
    Click the Effects button.
    Browse through the backdrops until you reach User Backdrops.
    Drag a photo or video to one of the User Backdrop frames. You can drag a picture or video from your desktop, the Finder, iMovie, iPhoto, or Safari.

  • How to include external style sheet

    Hi !!
    Can any one explain how to include external style sheet.

    Anil,
    Simply include the css file as I demonstrated in my last post and then reference one the css classes by name in the "styleClass" attribute of the component. So, if the css file that have included in my JSP file (as demonstrated in the prev post) contains a class like:
    .spicyPink {
    color:#FF1CAE;
    font-weight:bold;
    Then I would simply reference this class in the component as folows:
    <af:outputText value="Pretty In Pink" styleClass="spicyPink"/>
    However, you can also add styling to a component inline and accomplish the same task:
    <af:outputText value="Pretty In Pink" inlineStyle="color:#FF1CAE;
    font-weight:bold;"/>
    The thing to remember is that other than the use of styleClass and inlineStyle, referencing and including css in your JSP/JSPX pages is really no different that used in an HTML page.
    Here is reference to help you along:
    http://www.w3.org/TR/REC-CSS1#containment-in-html
    --RiC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for