IChart - x axis  grouping

Hi
I am trying to group the label of my x-axis.
For example. In Database I have 3 columms (value 1, value 2 and week).
So I managed to group the data in BarChart for week 1 (value 1, value 2) ..... and so on. This means week is my x-axis and values are the y-axis. A simple Bar Chart.
However for the x-axis, instead of showing week 1 (for both value 1 and value 2), the bar chart shows week1 for value 1 AND value 2. (see below)
v1v2         v1v2         v1v2
> x
w1w1       w2w2     w3w3
is it possible to group the week (eg. w1w1 to w1)
if yes, how? I hope you guys understand what I mean
thanks
Edited by: Seng Kiang Hoe on Jul 13, 2010 2:10 PM

Seng,
Sounds like you are interested in the [Group Bar chart|http://help.sap.com/saphelp_xmii120/helpdata/en/44/3a0a950fdc5dace10000000a11466f/content.htm]. This should give you the grouping by week and still show the values. If you would like to see the values on top of each other for each week you should also investigate the Stacked Bar chart. Here is a link to the [11.5 examples in the help |http://help.sap.com/saphelp_xmii115/helpdata/en/Applet_Reference_Details/Applet_Overview.htm#Applet Overview]for visualization purposes
Regards,
Kevin

Similar Messages

  • IChart- x-axis data grouping

    Hi Experts,
    How can we do x-axis data grouping in icharts???
    In the below example I have shown a date and shift wise grouping in x-axis
    Is it possible in x-axis???
    Thanks in advance!!!
    Regards,
    Vinothkumar G.

    Already knew it is possible in bar chats.
    But my requirement is I need it in line charts.
    Thanks mate
    Vinoth

  • IChart x-axis labels

    I'm having some issues with the x-axis labels on an iChart.
    The data I'm trying to display returns a date column I want to use as the x-axis labels. The data returned looks similar to the following:
    MY_DATE | project1 | project2 | project3 .... Where the number of project columns returned can be variable, and the column names change as well based on the project name. The one column always returned in the data is the MY_DATE column.
    The issue I'm having is that it doesn't display the custom labels for the x-axis. I specify "MY_DATE" as the "X-Axis Label Columns", yet it completely ignores it. I've verified in the javascript that the MY_DATE column is specified as the label column, but it doesn't use it.
    I think I discovered what is making it not work, but I cannot figure out why. I have another identical display template, one has a static set of columns returned. I can then specify the "Value Columns" in the "Data Mapping" template category of the display template, as well as the label column "MY_DATE" under the X-axis label columns. In this case it works, but when I take the Data Mapping "Value Columns" away, the dates disappear from the x-axis.
    Does anyone have another way to set custom labels for the x-axis? Or any insight as to why it wouldn't work?

    Austin,
    What do you want the user to see initially?  An empty chart?  Please explain the initial state of the chart and how the user interacts with it.
    1.  Is your query time-sensitive?  This means in the SQL Query you have designated a Date Column or used the SD and ED tokens in a filter expression.  If the query is time-sensitive, the date will automatically map as the X-Axis label.  If it is not time-sensitive, in addition to adding the My_Date to the X-Axis Label Colunms, add it to the X-Axis Value Columns.
    2.  I have found that if I return all the columns in the query, then I simply have to do this to make them show upon some event triggered by the user:
    // assume user chose these columns
    var valCols = "ProjA,ProjB,ProjC";
    var chartObj = document.AreaChart.getChartObject();
    chartObj.setValueColumns(valCols);
    document.AreaChart.updateChart(true);
    3.  I wrote a small transaction using the same query and display template in the Chart action block configuration.  I created a transaction property for inputting the value columns (a comma-separate list) and linked this transaction property (the source property) to the Chart action's ValueColumns property (the desination property).  I then use a PDF Document action and a PDF Image action, linking the encodedImage property of the Chart to the encodedImage.  When I varied the content of the transaction input property to use differenct columns, the changes showed in the PDF Document.
    Hope this is helpful.
    Kind Regards,
    Diana Hoppe

  • X axis grouping in Bar Chart

    Hi
    I need to group my X axis based on output column for eg : My x axis consists of employee names i want to group x axis based on departments.
    is that possible in Birt report Design?
    Regards
    P

    I am using the version 4.3.2. My requirement is to have 2 levels of labels as highlighted in the attached image. I need similar grouping of label repeated in Y axis too for a separate chart.
    A label for each bar and then group the labels.

  • Line iChart x Axis Values

    Hi,
    This maybe a most basic and easy to answer problem - We have just started to implement xMII on-site and our problem is:
    We are trying to create a line grid which will compare two sets of data against each other, basically a Value versus a batch number, we have managed to this on one set of data coming form Oracle without any problems but on the second set coming from PI via a ODBC call this doesn't seem possible. At this stage we have tried every possible data column, label attribute etc. combination based on the supplied documentation. XY graph it is possible but the line between data points is required. I am wondering is the Oracle timestamp ignored as it isn't imported with the data - based on an export of the data from the Graph - where as the PI timestamp is, could this have anything to do with ? The timestamp is not required on the x Axis just the batch Number, timestamps are not important on this data as it is a batch on batch comparison and timestamps are irrelevant.
    Thanks in advance,
    Emmett

    Sam,
    Interesting, unaware this was possible from here, xml output below
    <?xml version="1.0" encoding="UTF-8" ?>
    - <Rowsets DateCreated="2007-07-18T16:00:19" EndDate="2007-07-18T16:00:09" StartDate="2007-07-18T15:00:09" Version="11.5.2">
    - <Rowset>
    - <Columns>
      <Column Description="UNIT" MaxRange="1" MinRange="0" Name="UNIT" SQLDataType="12" SourceColumn="UNIT" />
      <Column Description="TIME" MaxRange="1" MinRange="0" Name="TIME" SQLDataType="93" SourceColumn="TIME" />
      <Column Description="DURATION" MaxRange="1" MinRange="0" Name="DURATION" SQLDataType="7" SourceColumn="DURATION" />
      </Columns>
    - <Row>
      <UNIT>064_Filtration Time Phase 12_Duration_DCrit</UNIT>
      <TIME>2007-07-18T03:29:17</TIME>
      <DURATION>837</DURATION>
      </Row>
    - <Row>
      <UNIT>067_Filtration Time Phase 10_Duration_DCrit</UNIT>
      <TIME>2007-07-18T12:29:18</TIME>
      <DURATION>677</DURATION>
      </Row>
    - <Row>
      <UNIT>079_Drying Phase 3_Duration_DCrit</UNIT>
      <TIME>2007-07-18T02:29:38</TIME>
      <DURATION>581</DURATION>
      </Row>
    - <Row>
      <UNIT>083_Drying Phase 3_Duration_DCrit</UNIT>
      <TIME>2007-07-17T18:00:11</TIME>
      <DURATION>79</DURATION>
      </Row>
    - <Row>
      <UNIT>083_Drying Phase 3_Duration_DCrit</UNIT>
      <TIME>2007-07-17T18:39:13</TIME>
      <DURATION>119</DURATION>
      </Row>
      </Rowset>
    - <Rowset>
    - <Columns>
      <Column Description="Parameter" MaxRange="1" MinRange="0" Name="Parameter" SQLDataType="12" SourceColumn="Parameter" />
      <Column Description="TIME" MaxRange="1" MinRange="0" Name="TIME" SQLDataType="93" SourceColumn="TIME" />
      <Column Description="BATCHNO" MaxRange="1" MinRange="0" Name="BATCHNO" SQLDataType="7" SourceColumn="BATCHNO" />
      </Columns>
    - <Row>
      <Parameter>064_Filtration Time Phase 12_BatchNo_DCrit</Parameter>
      <TIME>2007-07-18T03:29:17</TIME>
      <BATCHNO>206</BATCHNO>
      </Row>
    - <Row>
      <Parameter>067_Filtration Time Phase 10_BatchNo_DCrit</Parameter>
      <TIME>2007-07-18T12:29:18</TIME>
      <BATCHNO>207</BATCHNO>
      </Row>
    - <Row>
      <Parameter>079_Drying Phase 3_BatchNo_DCrit</Parameter>
      <TIME>2007-07-18T02:29:38</TIME>
      <BATCHNO>199</BATCHNO>
      </Row>
    - <Row>
      <Parameter>083_Drying Phase 3_BatchNo_DCrit</Parameter>
      <TIME>2007-07-17T18:00:11</TIME>
      <BATCHNO>198</BATCHNO>
      </Row>
    - <Row>
      <Parameter>083_Drying Phase 3_BatchNo_DCrit</Parameter>
      <TIME>2007-07-17T18:39:13</TIME>
      <BATCHNO>198</BATCHNO>
      </Row>
      </Rowset>
    - <Rowset>
    - <Columns>
      <Column Description="UNIT" MaxRange="1" MinRange="0" Name="UNIT" SQLDataType="12" SourceColumn="UNIT" />
      <Column Description="TIME" MaxRange="1" MinRange="0" Name="TIME" SQLDataType="12" SourceColumn="TIME" />
      <Column Description="BATCHNO" MaxRange="1" MinRange="0" Name="BATCHNO" SQLDataType="12" SourceColumn="BATCHNO" />
      <Column Description="DURATION" MaxRange="1" MinRange="0" Name="DURATION" SQLDataType="12" SourceColumn="DURATION" />
      </Columns>
    - <Row>
      <UNIT>enantiomer - warning CGP49309 HPLC</UNIT>
      <TIME>20070717094846</TIME>
      <BATCHNO>801071R0197</BATCHNO>
      <DURATION>0.11 %w/w</DURATION>
      </Row>
    - <Row>
      <UNIT>enantiomer CGP49309 HPLC</UNIT>
      <TIME>20070717094846</TIME>
      <BATCHNO>801071R0197</BATCHNO>
      <DURATION>0.1 %w/w</DURATION>
      </Row>
    - <Row>
      <UNIT>identity Nujol IR</UNIT>
      <TIME>20070717094846</TIME>
      <BATCHNO>801071R0197</BATCHNO>
      <DURATION>corresponds to the reference</DURATION>
      </Row>
    - <Row>
      <UNIT>process train</UNIT>
      <TIME>20070717094846</TIME>
      <BATCHNO>801071R0197</BATCHNO>
      <DURATION>083</DURATION>
      </Row>
    - <Row>
      <UNIT>retention sample</UNIT>
      <TIME>20070717094846</TIME>
      <BATCHNO>801071R0197</BATCHNO>
      <DURATION>Yes</DURATION>
      </Row>
      </Rowset>
      </Rowsets>
    Thanks,
    Emmett

  • How to color the bars(sub-category) of a group(X-axis) in a Bar Graph?

    Hi,
    I have 3 columns in a graph(10g) - CLLI,SVRTY,TOTAL
    CLLI -Varchar2
    SVRTY -Varchar2
    Total -Number
    X-axis
    Groups: CLLI
    Bars : SVRTY
    Y-axis : Total
    Now each CLLI can have 3 values of SVRTY like CR, MJ, MN
    Question) How can I change the color of each bar(SVRTY) in a group(CLLI) to indicate a particular condition?.
    Example:
    if SVRTY = CR, then bar color is RED
    if SVRTY = MJ, then bar color is ORANGE
    if SVRTY = MN, then bar color is YELLOW
    X-Axis is CLLI and each CLLI can have 3 sub-groups(SVRTY) values like CR,MJ,MN
    Thanks

    Hi,
    I was able to solve this issue using colorMode="COLOR_BY_SERIES".
    I have another issue however.
    If SVRTY of a group(CLLI) is say CR,MJ,MN then I get all the 3 bars in different colors for a single CLLI.
    i,e :It uses the following series:
    <Series id="0" color="#NNNN"> ---> This may be mapped to CR(RED)
    <Series id="1" color="#MMM"> ---> This may be mapped to MJ(ORANGE)
    <Series id="2" color="#TTTT"> ---> This may be mapped to MN(YELLOW)
    However if SVRTY of a group(CLLI) is say only "MN" then I get the color of the bar as defined in Series id="0", which may be RED. I need it to be YELLOW.
    Question) Is there anyway to control the color of a bar in a group to match a particular condition/value?.
    Example: if SVRTY value is MN, then it should always be YELLOW. Right now it's talking the 1st color defined in <Series id="0" color=#NNNN">
    Thanks

  • Y Axis label color inherits Pen color and not the default Label color.

    Hi,
    How do I enforce my Y Axis Label to taken the default color specified in the iChart Y-Axis Label Color property instead of picking it from the Pen color selected from the legend? I have a Y-Axis Label called "Total Stock", I can very well change the Label text using method
    document.TestChart.getChartObject().setYAxisLabel("Label from code");
    But when I use a similar
    document.TestChart.getChartObject().setYAxisLabelColor(Color);
    property, I dont see the color change on the screen. But when I get the color using a getYAxisLabelColor() method , the specified input Color is set. My Label in the Y-Axis, always inherits the Pen color of the selected Legend Item, by default the first Item color on Page Load.
    Settings done in the iChart:
    Use Selected Pen for label : Unchecked
    Y Axis Label Color: #000000
    Y Axis Label : Total Stock
    Show Y Axis Label: Checked.
    I appreciate your help,
    Ajitha

    Jeremy,
    I tried the method you mentioned...
    document.TestChart.getChartObject().setYAxisLabelColor(document.TestChart.createColor("#000000"));
    But I still dont see a change in the Label color.
    Another finding is, when I try to alert the Label color on load of the page or during the creation of the applet, I see the label color on the alert is not the pen1color but the default Label color that is set in the display template. I assume that the legend's default selection, overwrites the Label color with the first pen color, but I could not get it with the getYAxisLabelColor() method, even though I see it on the screen.
    Thanks!
    Ajitha

  • Date Axis Stacked Area Charts

    Hi,
    I'm just evaluating the full version of Crystal Reports 2008 having had some frustrations with the design restrictions in the basic version that ships with Visual Studio 2008. Particularly important to me is the design features for charting data. A lot of the charts I need to build have daily data points and the dates for these data points are represented as labels on the X axis. My problem has been that when you try and build a report with several months or more worth of data points the X axis is getting way too crowded even to the extent of being unreadable with overlapping labels. I've noticed in the full version that there is a date axis chart type whereby you can alter the scale of the X axis e.g. to only show a date at a frequency once per month or greater resulting in the X axis being readable. This seems to work great for line charts etc, however one of the charts I need is a stacked area chart and unfortunately I can find no options / chart types that allow me to scale the dates on the X axis. I've seen there is a date axis chart for area charts, but there is no option of having this chart type as stacked. I know you can also skip data labels in X axis group options, but the max I can skip is 2 and so that doesn't really help me either.
    Is there any way of achieving a stacked area chart with a scaled date axis in Crystal Reports 2008? If not it seems to me that the lack of this feature is a real omission from the product. Even Excel charts can handle this type of chart and I would imagine Crystal Reports charts should be more advanced in its charting capabilities.
    Any help or recommendations would be appreciated.
    Kind Regards,
    Mark

    I have run in to the same problem.  I work for a systems integration company and I purchased this software because I have a lot of crystal reports and .NET experience but I have very minimal crystal chart experience.  I need to use the charting to display data over time collections.  I need to show all data points collected but for some series that I deal with I need to be able to scale the x-axis labels to something that is legible.  There is an aftermarket package(CRReports3.5) for $500 more dollars that would enable me to control this but it seems like alot more money for a small piece of functionality that should already be built in.  I have Crystal Reports 2008 and am working with visual studio 2008 can someone please tell me is there ANY WAY to achieve this functionality without purchasing additional software?  Otherwise this software purchase was worthless for my current project.
    Regards
    Dave Bedo

  • Single Line and Stacked Bar Graph Representation

    Data to be plotted on graph is as follows
    Year and Month               Study               Planned Subject               Study-Site ID #               # Enrolled          
    2001 / 03          AMXN 9374               50     US-001               1          
    2001 / 04               AMXN 9374               50               FR-101               1          
    2001 / 04               AMXN 9374               50               SP-301               1          
    2001 / 04               AMXN 9374               50               US-001               2          
    2001 / 05               AMXN 9374               50               FR-101               1          
    2001 / 05               AMXN 9374               50               US-001               1          
    2001 / 06               AMXN 9374               50               FR-101               2          
    2001 / 06               AMXN 9374               50               SP-301               2          
    2001 / 06               AMXN 9374               50               US-001               1          
    I want to display the above data in line stacked bar graph format where the
    #Enrolled will be in Stacked Bar by Study -Site ( Y axis)
    Planned Subject should represent a single line at 50 ( Y axis)
    Group by Year and Month ( X- Axis)
    Study excluded ( Study will be selected from dashboard prompt)
    I'm getting the stacked view of Study Site ID correctly but I want Single Line for Planned Subject .
    Currently I'm getting multiple line .
    Eg for 2001/03 I'm getting line at 50 in yellow colour
    for 2001/04 I'm getting a line at 150 in different color since it has 3 Study-Site ID's But the desired output is Single Line at 50
    As per 11g doc this is not possible because there is some upgradation in the nature of the graph
    " Stacked line-bar graphs in which 2 or more measures are shown as lines on the same axis and are not stacked in 10g are stacked in 11g."
    Refer - http://docs.oracle.com/cd/E21764_01/bi.1111/e16452/apndx_ui_chngs.htm
    Is there any workaround for it ?

    Did you found any workaround for it ? I am too looking for same scenerio.

  • Advice needed on timeline and knob

    hi all ,
    i modify the pointgraph example and included a knob from memefx to control the tranlation of the rectangle.
    so now i can control the animation back and fro using the knob. However, the interaction between the timeline.play() and the knob aren't sync.Below is my code for main.fx. no changes to pointgraph.fx.
    can someone advise me?
    To duplicate the problem, let the animation play and click the pause button. turn the knob forward and click the play button. you will see that the animation start off at a different time.

    var variable = bind myKnob.value;
    var myKnob = Knob {
        ui: BasicKnob {}
        min: 0, max: 530, minAngle:0, maxAngle:1440
        dialLinesLongEvery:5, dialLinesNumber:50, dialLinesWidth:1,
        translateX: 55, translateY:280
        scaleX: 0.25, scaleY: 0.25,
    // timeline for animation
    public var t = Timeline {
        repeatCount: 1
        keyFrames: [
            KeyFrame {
                time: 5s
                canSkip: true
                values: [
                    myKnob.value => 530.0 tween Interpolator.LINEAR
    /* adding everything in group to make changes easy */
    var gp = Group {
        content: [pg, pg1, pg2]
    /* stage can be written inside run() method */
    public function run(){
        t.play();
        var s = Stage {
            x: bind stageX
            y: bind stageY
            title: "24-Hour Temperatures in Major World Cities"
            width: 550
            height: 400
            style: StageStyle.DECORATED
            scene: Scene {
                fill: Color.BLACK
                content: [
                    gp,
                    /* rectangle moving and showing animation */
                    Rectangle {
                        translateX: bind myKnob.value
                        x: 10,
                        y: 10
                        width: 500,
                        height: 500
                        fill: Color.BLACK
                        opacity: 1.0
                    reloadButton, textButton, myKnob, playButton,textButton2,stopButton, textButton1,
                    // axis plotter
                    Path {
                        translateX: 50
                        translateY: 0
                        stroke: Color.WHITE
                        strokeWidth: 2
                        opacity: 0.4
                        elements: [
                            MoveTo {
                                x: 10.0,
                                y: 300.0
                            HLineTo {
                                x: 450.0
                            MoveTo {
                                x: 10.0,
                                y: 300.0
                            VLineTo {
                                y: 10.0
                    /* data on Axis */
                    Group {
                        translateX: 50
                        translateY: 0
                        content: for(num in [0..7]) {[
                                Text {
                                    fill: Color.WHITE
                                    font: Font {
                                        size: 10
                                    x: num * 60 + 5
                                    y: 320
                                    content: "{3*num}"
                                Text {
                                    fill: Color.WHITE
                                    font: Font {
                                        size: 10
                                    x: -5
                                    y: 320 - num * 50
                                    content: "{5*num}-"
                    Text {
                        fill: Color.WHITE
                        font: Font {
                            name: "Arial Bold"
                            size: 12
                        x: 500
                        y: 330
                        content: "Time"
                    Text {
                        rotate: -90
                        fill: Color.WHITE
                        font: Font {
                            name: "Arial Bold"
                            size: 12
                        x: -10,
                        y: 80
                        content: "Temperature"
    }

  • Non-stacked bar chart with subgroups

    I want to create a regular bar chart (non-stacked) and display subgroups on the x-axis ..... that is, for each group on the x-axis I want to display multiple sub-groups within the major groups ..... I saw only one post regarding this but tried what I thought they were saying but it did not work ..... also I do not want to create a stacked chart, just a regular non-stacked chart
    thank you very much
                           subgrp1   subgrp2                          subgrp1      subgrp2                   subgrp1     subgrp2
    x axis  -
                                   group 1                                         group 2                                       group 3

    Please add the solution how did you resolve this issue to this forum
    Thaknks
    -p

  • XPS Controller

    Hi,Matt
    I'm using LabView to program the Newport XPS Controller too.  I am trying to learn how to control a single axis group, ie. one stage only.
    Can you show me your VI program or give me some adviser? I'm so confused
    Any assistance you could provide would be appreciated. Thank you!!
     

    Hi Vimal.
    Thank you for getting back to me. 
    I have solved this problem now, but for the benefit of those that may encounter this problem again:
    1. Make sure you use the Absolute Move driver, the Relative Move will of course only move relative to the current position. 
    2. You must use the Kill Group, Initialize, Home Search Drivers (in that order) before any move function
    3. Place a while loop only around the Absolute Move and Current Position Get drivers. Do not place the while loop around the Kill Group or Initialize driver.
    (The group's current position will be erased on every iteration of the while loop if you do this.)
    4. The XPS controller can be interfaced with via a webface GUI, which you will find out about in the XPS manual. Although this interface is not useful for a full scale experiment it is certainly useful for troubleshooting problems in Labview, by checking this GUI for the status and configuration of your movement
    groups. 
    5. You definitely need to configure your groups through the webface GUI mentioned above. Don't just plug in your movement groups and expect to control them with Labview automatically.
    6. Newport have horrible technical support (unlike NI, who have excellent customer support). If you have a local vendor who sells newport products try to direct your enquiry through them. In australia Newspec are much better to ask than Newport. 
    Ok, that's all. Thanks again for replying and I hope this helps others. 
    Matt
     

  • Re-publishing a decompiled Flash app

    I was recently given a request to simply change a phone
    number for a website at
    http://www.axis-group.net
    since the original developer was unreachable for the past year or
    so. thinking this was only a simple request, I was able to at least
    obtain ftp access, but to make a long story short, the text that
    needed to be changed was actually a text component in a flash file
    where you would hover over "introduction", then click onto "Contact
    Us" and the address information slides onto the screen. The only
    file available was the .swf file and I was actually able to
    decompile using Sothink SWF Catcher and find where the text needed
    to be changed. Now when I go to publish and preview the flash file,
    the "Introduction" and "Contact Us" still appear, but the address
    information is now nowhere to be found.
    So I'm wondering if I'm missing something from the decompiler
    or whether there are any other external files I may be missing. the
    original swf file at least works when I saved it to my hard drive,
    but after I decompile and re-publish is when some of the features
    no longer seem to work anymore. Will I need to somehow find the
    original .fla file? or perhaps there's an option I need to set,
    please advise, thanks.
    I am using Macromedia Flash Professional 8
    According to my Publish Settings:
    version = Flash Player 6
    Load order: Bottom up
    ActionScript version: ActionScript 1.0

    In what appears to be "Text 93", I'm trying to change the
    telephone number from 226-3064 to 451-3050, and remove the Facimile
    line altogether while moving the email line up to where Facimile
    was.
    When I go to change version to 2.0, I get the following error
    messages while publishing, in the output window:
    **Error** Scene=Scene 1, layer=Action Layer, frame=2:Line
    145: There is no property with the name 'A'.
    Key.A = 65;
    **Error** Scene=Scene 1, layer=Action Layer, frame=2:Line
    146: There is no property with the name 'S'.
    Key.S = 83;
    **Error** Scene=Scene 1, layer=Action Layer, frame=2:Line
    147: There is no property with the name 'D'.
    Key.D = 68;
    **Error** Scene=Scene 1, layer=Action Layer, frame=2:Line
    154: There is no property with the name 'A'.
    if (Key.isDown(Key.A) && Key.isDown(Key.S)
    && Key.isDown(Key.D) && timer > 300 &&
    adm._visible == false)
    **Error** Scene=Scene 1, layer=Action Layer, frame=2:Line
    160: There is no property with the name 'A'.
    else if (Key.isDown(Key.A) && Key.isDown(Key.S)
    && Key.isDown(Key.D))
    Total ActionScript Errors: 5 Reported Errors: 5

  • Chart Data Axis (Y) Scale - keep constant over groups, dynamic for report

    Crystal XI
    I want to chart how many transactions there are at a teller, showing number of transactions per hour, with a separate chart for each day in a range that the user specifies at run time through paramaters.
    So I group on date at report level, and make my chart on change of hour show count of transactions, and that works.
    But using autoscale, EACH CHART is scaled on the Y axis, so for a day that has a peak of 5 tx per hour, that hour reaches top of chart, where next day, there is an hour with 100 tx.  So you can't tell at a glance that day 2 was busier than day 1.
    I like the auto scale, but I'd like it to consider the report for the scaling.  Is there a way to do that?  Or do some chart types let me do it and others don't?  (I've looked at Bar and Area charts)
    I can't use a fixed scale, because different customers have wildly different typical numbers.  (I could use a dynamically calculated fixed scale, but I don't see that that's an option)  If there's a way to use a formula for the data scale, I'm missing it, and that would probably solve my problem.
    Assuming I'm out of luck there - I can change the query as necessary, and I suspect I'm giong to have to use some gimmick like chart my maximum value in invisible ink, if someone's been down the road and knows a solution, if you can give me a quick hint on that, I'd appreciate it.

    If all else fails, you can do this easily with our CRChart add-in using the @SC family of macros which allow you to set the Y-Axis scale min/max dynamically (i.e. map them to a field or formula at runtime).
    -Dan
    disclaimer: I work for the company, threedgraphics.com, that makes this product. This product costs money.

  • Custom X Axis Labels When there are no Category groups

    SQL 2012; VS 2010 (SSRS)
    My underlying query is:
                SELECT  HourOfDay
                        ,COUNT_BIG(*) TotalCalls
                        ,sum([CallerRingTimeSeconds_00_10]) [CallerRingTimeSeconds_00_10]
                        ,sum([CallerRingTimeSeconds_11_30]) [CallerRingTimeSeconds_11_30]
                        ,sum([CallerRingTimeSeconds_31_60]) [CallerRingTimeSeconds_31_60]
                        ,sum([CallerRingTimeSeconds_61_120]) [CallerRingTimeSeconds_61_120]
                        ,sum([CallerRingTimeSeconds_GT_120]) [CallerRingTimeSeconds_GT_120]
                FROM  [dbo].[v
    The view being used looks like this:
        CASE  
            WHEN CallerRingTimeSeconds > -1 AND CallerRingTimeSeconds <= 10 THEN 1
            ELSE 0
        END AS CallerRingTimeSeconds_00_10,
        CASE  
            WHEN CallerRingTimeSeconds > 10 AND CallerRingTimeSeconds <= 30 THEN 1
            ELSE 0
        END AS CallerRingTimeSeconds_11_30,
        CASE  
                WHEN CallerRingTimeSeconds >30 AND CallerRingTimeSeconds <= 60 THEN 1
                ELSE 0
        END AS CallerRingTimeSeconds_31_60,
        CASE  
                WHEN CallerRingTimeSeconds >60 AND CallerRingTimeSeconds <= 120 THEN 1
                ELSE 0
        END AS CallerRingTimeSeconds_61_120,
        CASE  
            WHEN CallerRingTimeSeconds >120 THEN 1
            ELSE 0
        END AS CallerRingTimeSeconds_GT_120,
    There is no "Category Group".  I just want to display 5 bars with the height of each based on the number of calls in each item.  It works with two problems.
    First I cannot get labels on the X axis.  I want to put something like 0-10    11-30    31-60   ETC
    The second is that all five bars are alongside each other just like in design mode when I preview the report.
    Suggestions/solutions please.  (I tried to paste screen shots but it would not allow due to size) Thanks...  Carl
    Carl

    Hi HopkinsITM,
    According to your description, you used the query to retrieve data for the report, you want to display 5 bars in the chart, and labels on X axis like 0-10    11-30    31-60   ETC. If that is the case, please refer
    to the following steps:
      1. In design mode, right-click the dataset you used to retrieve data for the report and open Dataset Properties dialog box.
      2. In query text box, modify the query like below:
    SELECT HourOfDay, CallerRingTimeSeconds, num
    FROM
    select t1.HourOfDay
    ,COUNT_BIG(*) TotalCalls
    ,sum([CallerRingTimeSeconds_00_10]) [CallerRingTimeSeconds_00_10]
    ,sum([CallerRingTimeSeconds_11_30]) [CallerRingTimeSeconds_11_30]
    ,sum([CallerRingTimeSeconds_31_60]) [CallerRingTimeSeconds_31_60]
    ,sum([CallerRingTimeSeconds_61_120]) [CallerRingTimeSeconds_61_120]
    ,sum([CallerRingTimeSeconds_GT_120]) [CallerRingTimeSeconds_GT_120]
    from (select HourOfDay,
    CASE
    WHEN CallerRingTimeSeconds > -1 AND CallerRingTimeSeconds <= 10 THEN 1
    ELSE 0
    END AS CallerRingTimeSeconds_00_10,
    CASE
    WHEN CallerRingTimeSeconds > 10 AND CallerRingTimeSeconds <= 30 THEN 1
    ELSE 0
    END AS CallerRingTimeSeconds_11_30,
    CASE
    WHEN CallerRingTimeSeconds >30 AND CallerRingTimeSeconds <= 60 THEN 1
    ELSE 0
    END AS CallerRingTimeSeconds_31_60,
    CASE
    WHEN CallerRingTimeSeconds >60 AND CallerRingTimeSeconds <= 120 THEN 1
    ELSE 0
    END AS CallerRingTimeSeconds_61_120,
    CASE
    WHEN CallerRingTimeSeconds >120 THEN 1
    ELSE 0
    END AS CallerRingTimeSeconds_GT_120
    from #t) t1
    where t1.HourOfDay =1
    Group by t1.HourOfDay
    ) p
    UNPIVOT
    (num FOR CallerRingTimeSeconds IN
    (CallerRingTimeSeconds_00_10, CallerRingTimeSeconds_11_30, CallerRingTimeSeconds_31_60, CallerRingTimeSeconds_61_120, CallerRingTimeSeconds_GT_120)
    )AS unpvt;
      3. On the Insert tab, click Chart, and then click Insert Chart.
      4. Click on the design surface where you want the upper-left corner of the chart, and then drag to where you want the lower-right corner of the chart.
      5. Select the type of chart you want to add. Click OK.
      6. Click the chart to display the Chart Data pane.
      7. Add num to the Values area.
      8. Add CallerRingTimeSeconds to the Category Groups area.
      9. Right-click drop-down arrow next to CallerRingTimeSeconds, click Category Groups Properties dialog box.
      10. Click (fx) button next to Label, type the expression like below, then click OK.
    =Right(Fields!CallerRingTimeSeconds.Value,5)
    The following screenshot is for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

Maybe you are looking for

  • My ipad goes blank every few minutes

    Does this happen to you? Have you fixed it? My iPad one with original iOS goes off, intermittently, in all programs. Just decides it does not want to operate. I have done hard shut downs etc but doesnt seem to hold. horrible when playing game, readin

  • Submit program to send a smartform to the spool and obtain a PDF

    Hi all, I wanna know if there is a way to submit (execute) a program that print a smartform for print this smartform to the spool and then obtain a PDF file from the spool order. I wanna do this because the program that allows to print the smartform

  • Trying to Update - Get "Download Unavailable" Code 503

    I'm trying to download the update Name: update_SCH-I535_LG1_to_LG7 and it will not update. I already downloaded this update through wifi, and when it was done downloading, nothing happened. Now when I go to the Software Update screen it says Download

  • Webex - 32-bit firefox + 32-bit java [solved]

    Hi all, I am having trouble getting my 32-bit firefox and 32-bit java working together nicely.  I installed both from the AUR and in order for firefox (32-bit) to see the plugins, I manually export the MOZ_PLUGIN_PATH and JAVA_HOME.  Once I do that,

  • Script of user grants

    I want to get user creation script from my database. So i used the following query. SELECT 'create user ' || U.username || ' identified ' || DECODE(PASSWORD, NULL, 'EXTERNALLY', ' by values ' || '''' || PASSWORD || '''' ) || CHR(10) || 'default table