2-d column chart, custom X-Axis labels

Been looking through this forum and anychart's and did no t find an example of customizing a 2d chart in the following fashion..
Data I have is month report data for a period of 12 months or more..
Each x-axis item has a month & year label right now
Customers are wanting the following accomplished:
Show each month label, but for every 12th month period, show the Year centered for the period..
I know it will involve custom XML, but for the life of me I am drawing a blank.. I looked briefly at some demos online (Hilary's I Believe and am not sure how to go forward)
Sample Application posted on Apex.Oracle.com
Workspace: Homeworld
User: demo
Password: demo
App ID: 28970 - Percent in report issue
Page : 5, Sample chart
Thanks again folks!
Tony Miller
Dallas, TX

Tony,
Does this version of your SQL do the trick?SELECT NULL link,
       CASE
          WHEN TO_CHAR (date_charged, 'MON') = 'JAN'
          THEN
                TO_CHAR (date_charged, 'MON')
             || ' '
             || TO_CHAR (date_charged, 'YYYY')
          ELSE
             TO_CHAR (date_charged, 'MON')
       END
          datee,
       amount / 10000
  FROM (  SELECT *
            FROM test_chart_data
        ORDER BY date_charged ASC)Tried it in a new page (6) but the chart is not returning all 40 rows.
Jeff

Similar Messages

  • CR Enterprise - Custom y-axis labels for line chart

    Hi
    I have data with a discrete status (STATUS-1...STATUS-5) per day, like
    Feb 1: STATUS-1
    Feb 2: STATUS-2
    Feb 3: STATUS-2
    Feb 4: STATUS-1
    Feb 30: STATUS-4
    Feb 31: STATUS-1
    This series I'd like to render in a date axis line chart with the daily status ordinals (1-5) on the y-axis.
    Now I wonder how I can label the y-axis ticks with the respective STATUS text instead of the ordinal.
    Unfortunately, the option "Total (Y) Axis/Axis/AxisLabels/Display Label" is disabled due to the value's numeric nature.
    How can I manually overwrite y-axis labels or map them to custom text?
    Thanks. Jens

    HI Jens,
    Have you tried creating a formula and using that in 'Show Values' section of the chart?
    Formula:
    "STATUS-" & {Numeric_field}
    -Abhilash

  • Stacked bar chart with custom x axis labels

    Is there a way to build this simple chart in labview that I did in Excel?  I need to have many x axis labels and there could be from 5 to 100 of them depending on the data set. 
    Attachments:
    Excel.JPG ‏33 KB

    Hi id,
    Thank you for your response. I hope you are doing well.
    There is an example in the LabVIEW Example Finder (Help>>Find Examples..). It is titled, Stacked Bar Graph. You can search for it if you switch tabs in the Example Finder window. This should help you create a stacked bar graph. To help you with your veritcal axis labels, here is a knowledge base link that details the process:
    How Can I Customize the X-Axis Labels On My LabVIEW Graph/Chart So They Appear Vertically?
    http://digital.ni.com/public.nsf/allkb/1F7C1B089E4​5908E86256C8C0051894A?OpenDocument
    Let me know if these examples help.
    Best regards,
    Anna L
    Applications Engineer
    National Instruments

  • Creating X/Y chart with X-Axis labels in between

    Hello all.
    I would like to create a Numbers 09 scatter/XY chart with the X-Axis labels between the gridlines instead of on them.   How can I do this with a line chart also?  Or, does thids format require a Combination chart?  If so, how can what I'm trying to create be made?

    I'll give you the basic steps. I might miss one or two along the way.  The basic steps are to create the chart, remove all the unecessary parts of the chart and set the fill color to none, create & format the table, slide the table under the chart, align the two, then lock them.
    Create a chart from your data. I said the chart above was a line chart but it was actually a scatter chart.
    I'd recommend making up a few "special" data points (overwriting a few points in your actual data for the time being) that you can use to align the table and chart.  In the chart above, I used something like (1.5, 0.1) and (30.5, 0.9), two points that should align exactly with the X & Y gridlines if the chart and table are properly aligned.
    Set the min and max for both axes.
    Size and place the chart where you want it
    Set the fill color to none
    Remove the value labels, gridlines, axes, etc.
    Create a plain table with the necessary number of columns and rows. The one above has 32 columns and 7 rows.
    Put the value labels in the table. I vertically centered the Y axis labels in the cells using the icon on the toolbar. I didn't horizontally center the X axis labels but maybe I should have.
    Make the table borders the color & thickness you want.  At this point, the X&Y axis labels will also have borders.
    Turn on Border Selection in the Table menu
    Select the borders you want to remove and change them to no line. You click on a border to select the entire thing then click again to select a segment. You can command-click to select multiple border segments. Be careful you don't miss when clicking or your entire selection will disappear. I recommend selecting & changing a few at a time
    Select the table and send it to the back using Arrange/Send to Back.
    Slide the table under the chart.
    With the entire table selected so that it has the little squares at the corners and sides, drag on the squares to get the table about the right size. Hold down Command when dragging to turn off snaps. Try it without Command and you'll see what I mean.
    Use the Table Inspector to fine-tune the row & column sizes so the table "gridlines" match the chart. You are trying to line up the gridlines with your two "special" data points. You might want to adjust the size of the chart some too.
    You can move the table around by dragging to get it close to where it should be. You can select the chart and use the arrow keys to move it pixel-by-pixel.
    You'll have to repeat the steps above until everything is aligned. Then you can get rid of those "special" data points.
    When it all looks good, lock the table and chart so nothing gets changed or moved accidentally.
    That was it off the top of my head. It comes out to alot of steps but once you've done stuff like this a few times it gets easy.

  • Crystal Presentation Design - Stacked Column Charts in 2 axis

    Is it possible to create dual axis stacked column charts in Crystal Presentation design or Dashboard Design?
    Thanks.
    Stine

    Hi Stine,
    As of today we dnt have that feature in Xcelsius . In latest service pack 4( SP4 ) also this feature is not there.
    @Sri

  • SVG chart: length of axis-labels

    Apparently there is a limitation on the length of x- or y-axis labels for a SVG chart.
    Does anybody know how to display axis labels that are larger than 15 characters? Is there something that you can do with the CSS to increase the limit?

    Hi Jan,
    not sure you are on the same as I was... but found in other thread that on the series page there is maximum rows setting defaulting to 15.
    Hope that helps.
    ta
    alberto

  • Chart - Legend Box Axis label

    Hello Expert,
    Could any one show me how to increse the width and height of "Legend Box".
    Also if any one let me know how to increase the space between to labels on x Axis
    Sagar

    See this example and the related thread:
    http://apex.oracle.com/pls/otn/f?p=31517:222
    Basically, you need to customize the chart XML. That is quite easy to do.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • 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

  • Chart - Adjust X-axis label orientation

    I have Crystal Xi version 11.0.0.1282.
    The labels on my X-Axis are oriented 45 degrees diagonally. Can this be modified?
    Thanks,
    Art

    select your actual chart label and right click,
    select rotation
    make a selection and click ok.

  • X Axis label of Column Chart

    Hello,
    I am Plotting column chart based on the data present in datagridview;Column 1(having string Data Type) as my X axis value and Column Y as my Y axis value.On Column chart click event i am fetching x axis and y axis co-ordinates of my column chart and displaying
    in Label on my form.But when i click it shows "0" as my x axis cordinate for the clicked column.
    As my x axis is having labels as 06:00:00-07:00:00,07:00:00-08:00:00,..........
    Below is image of my application
    f Chart1.Series(0).Name = "Daily Data" Then
    'Chart1.Series(0).XValueType = ChartValueType.Time
    Chart1.Series(0).Points(result.PointIndex).XValue.ToString()
    'xval = xval.AddHours(Chart1.Series(0).Points(result.PointIndex).XValue)
    Label4.Text = "Selected Coordinates are: " & Chart1.Series(0).Points(result.PointIndex).XValue.ToString & ", " & Chart1.Series(0).Points(result.PointIndex).YValues(0).ToString("f2")
    End If
    Else
    If result.ChartElementType <> ChartElementType.Nothing Then
    Dim elementType As String = result.ChartElementType.ToString()
    Label4.Text = "Selected Element is: " & elementType
    End If
    End If

    You need to get this example from Microsoft. It is a c# project code you just run it in Visual Studio. It shows most everything you can do with a chart. It shows the vb code when you run it and click the vb tab. Near the bottom of the left tree is Appearance
    - Labels etc. Also under data types there are date and time examples. This link is also in the forum faqs at the top of the chart forum posts.
    Chart examples.
    I think you need to tell the chart to use datetime for the labels but I am not sure how and I am not too good with them but that is why I do this to learn things. I would just look in the chart examples from the link I show. That is how I answer most of
    the questions here.
    Can you reproduce your problem using the simple example from the other question? Otherwise I cant really do much.
    Also, most times when you make a simple example you will find the problem or at least understand it better.
    So take a look and come back if you cant get it I then I will try too.

  • Vertical axis labels on column chart

    I'm trying to get the x-axis labels oriented vertically on a 3D column chart, so that the labels don't overlap each other. With 2D column charts I can do this via "format>chart>format x-axis" but these options are grayed out with the 3D column chart. Is there any way to get vertical orientation on the axis labels with this chart type???

    It's usually not necessary to make the axis labels vertical to keep them from overlapping in a 3D chart since when you rotate the chart the labels are vertically offset. But you're right, there's no other control for this.
    Jerry

  • CR4E Chart Axis Label

    I have a report developed with Crystal Reports XI Standard that includes a chart. The axis labels for the chart have been set (via Edit Axis Label) and appear correctly in preview mode of the Crystal Reports XI designer (e.g. "District" instead of "Sum of StateReportsView.District").
    When this report is exported to a PDF file via a Java program (using Crystal Reports for Eclipse), the axis labels revert to their original values (e.g. appear as "Sum of StateReportsView.District").
    Can the axis labels be set before exporting the report via the JRC API?
    Or is there some way to save the axis labels to the report using the Crystal Reports XI designer?
    Thank you...

    Thanks so much for following up on this. To clarify, converting month numbers to names is nice, and I did that using the specified order suggestion, but it doesn't effect the order of say, May, when Jan thru Apr are missing, and in fact created other issues of data misintrepatation I didn't bother resolving at the time.
    I suppose the best solution would be something that supplies a placeholder for blank months, so that the Jan-Dec order remains constast and the data graph bars appear in appropriate months, Jan-Apr no bars, May-Dec with data generated bars.
    Does this help?

  • Column Chart with Multiple axes

    Hi folks
    I am using flex 2 charts for displaying data. I want to show my data using column chart with secondary axis. However columns for multiple series are coming one over another. here is the code I have attached:-
    But I want to put columns side by side. Any thoughts will be appreciated.
    Warm Regards
    Rush-me

    Any thoughts?
    Warm Regards
    Rush-me

  • Value range(column chart): management cockpit

    Hi friends,
    how can i put value range condition in column chart. my situation is like this 
    I have 10 employees with expereinces 4.1(i.e 4 yrs 1 month),5.5, 1.2, 0.5, 3.5, 0.2, 4, 6, 7 and 8.
    I want to present in column chart in x-axis like <1 yrs, 2-4,5-6,>7 and in y-axis count.
    How can i achieve this. I maintained calculated keyfigues(for <1 yrs, 2-4,5-6,>7) on key figuer total experience and, in bi report i'm getting correct output. Even total experience is also calculated key figure and perfectly viewing this value in cockpit. But in managment cockpit, remaining calculated keyfigues(<1yrs,2-4,5-6,>7) i'm not getting. So i want to prefer to set value range in chart.
    pls suggest me.
    thanks,
    raju

    Hello  Raju,
    You can achieve this by simply using a User defined Periodization & Time Variable.
    http://help.sap.com/saphelp_sem60ep1/helpdata/en/1b/3131375fc9342ae10000009b38f839/frameset.htm
    Defining Periodizations
    1.     To define a periodization, choose Periodization in the dialog structure.
    2.     Choose  to switch to change mode.
    3.     Choose New Entries.
    4.     In the Periodization column, enter a name for the periodization (up to four characters).
    5.     In the Fiscal Year Variant column, choose the fiscal year variant on which you want to base the periodization. (The periodization itself is based on periods of the fiscal year variants.)
    6.     In the Long Text column, enter a descriptive name for the periodization.
    7.     Save your entries and return.
    8.     In the list of periodizations, select the periodization you just created.
    9.     Choose Interval in the Dialog Structure.
    10.     Choose New Entries.
    11.     In the Interval No. column, enter a sequential number for each period to be defined, starting with "1".
    12.     Specify the left time limit (= Start column) and the right time limit (= End column) of the range by entering the respective period of the fiscal year variant on which it is based.
    Eg: In your case you follow this
                   Start Column          End Column
    Period 1(<1 yrs)           1               12
    Period 2(2-4 yrs)                     13               36
    Period 3(5-6 yrs)                     37               60
    Period 4(>7 yrs)          61               specify the no. of months you want to calculate for
    13.     Save your entries and return
    In the Cockpit-Frame-Design screen for the mesures(KPI) on the Y-axis you select the check box of Periodization and select this User defined Periodization created by you. You click on the aggregation box too to get the cummulative value for the defioned periods.
    Hope this helps. Revert incase of any query or let me know if it doesnot work as I have tried this with quarters and its working fine in my case.
    Regards,
    Priyanka Singh

  • Show two Columns in Column Chart

    HI all visitors
    I have problem with how to show  two columns in Column Chart Component.
    I want to change from
    Groupname  Jan        Feb     Mar       Apr            5......................
    Member      234      453     433      535          553
    NonMember 453      535   64             4646
    To  this  way
    Group                    Month                       value
    member                 Jan                     93475
    Non-Member          Jan                       4563
    Member               Feb                345
    Member               Mar                     454
    Member               Apr                        456546
    And i want to show in columns chart
    1.The category Label show Month
    2.The series Name show the Group Name(only Member and Non-Member)
    3.The series Value show The value
    Best Regards,

    Drag the table this way:
    Month     Group        value
    Jan      member        93475
    Jan      Non-Member    4563
    Feb      Member        345
    Mar      Member        454
    Apr      Member        456546
    click on month column apply break (File menu -
    > insert -
    >  Break)
    Month     Group        value
    Jan      member        93475
              Non-Member    4563
    Feb      Member        345
    Mar      Member        454
    Apr      Member        456546
    here break is used for remove the duplecate values (Ex: Jan)
    OR
    Apply section on column:
    Right clickon column ---> Set as Section
    like this:
    Jan
    Group         value
    member        93475
    Non-Member    4563
    Feb
    Group         value
    Member        345
    Mar
    Group         value
    Member        454
    Apr
    Group         value
    Member        456546
    This is Example for category lable.
    All the best
    Praveen

Maybe you are looking for

  • Good morning,  which is the address I can use to send a complaint about a support??

    My name is Gabriela A. Certa L. i am from Venezuelan, ID number 18,180,219. And I speak to you this time, unfortunately with a negative critical to your business, the week of 25 to 31 July, a major drawback I spend with my MacBook Pro, MacBook Pro Mo

  • Error while creating authorisation policy using OIM 11g API

    Hi, We have a requirement to create 'Authorization Policies' (assign Data Constraints, Permissions & Assignments) using OIM 11g API's.  I am using 'oracle.iam.authzpolicydefn.api.PolicyDefinitionService & oracle.iam.authzpolicydefn.vo.AuthzPolicy'. 

  • Flash Player 10 on PowerPC G5 Not working, please HELP

    Hi there, I just setup the last version of flash player 10 (10.045.2) and it doesn't work at all. I have a PPC G5 Dual 2Ghz 2.5Gb Ram running Leopard 10.5.8 I was running the version 10 of flkash player when I download this new one and everything jus

  • Different date format in different database..

    Hi, We have two database (10g) with same NLS settings.When we are reading the data from a table and assigning the value to XML tags using oracle.xml.sql.query.OracleXMLQuery class , with one database connection, the data format is coming as MM/DD/YYY

  • Outlook for MAC error code: -19982

    We have 4 Macbook Pro's in the office and neither of them can receive or send mails via Outlook for MAC 2011. Have tried rebuilding the database on all of them but that hasn't helped, it just keeps asking for the password to be re-entered. Anyone wit