2D Line Chart question

I have Apex 3.1 . I have created a 2D Line chart with for different series (so there are 4 lines on one chart). I also have a Legend on the left side next to the chart to label whatr each line is for. In my query for those lines I have the Name for the Legend as all CAPS but it shows up as first letter capital and the rest lower case. Is there a way to force it to all upper case?
The second question I have is that underneath the legend I would like to have some type of text box were I can write a couple lines to help explain what is going on in the graph. Is there a way to do that?

You basically have only a couple of options here:
First, turn off the labels and possibly turn them into Hints. They wouldn't show on the chart, but when the user held over the data point, a tool tip would appear showing them the valuable.
Second, adjust elements of the chart. What you are really looking at here is that your data set is causing this specific issue and not the charting engine or anything like that. You could try to manually change the axis max and min to get more spacing, or you could adjust the height of the chart to get more spacing, but this may not be a viable option. You could have one set of labels above the plotted line and another set of labels below the plotted line that way the values do not overlap with anything. However, from a conceptual standpoint, it will be difficult to determine in code which line should have values above and which should have values below. When your data set changes, you may end up with labels in the wrong place if you hard code where they are at.
The current XML reference can be found at: http://www.anychart.com/products/anychart/docs/xmlReference/index.html however, that is for anychart 5. I'm looking for the link to the earlier versions...
You can use this to create custom xml where you can adjust the position of the labels.
Finally, you do not want expand the height of the chart between two points on the Y axis. That would change the structure of the chart and the visual properties of the chart and the shape of the data would be askew. You cannot do this for good reason. You can though use a logrithmic scale. In most cases though, this is not a practical solution. Data sets need to have very specific characteristics in order to be able to merit a logrithmic scale. Most queries require a simple linear scale.
Austin

Similar Messages

  • CFCHART - Line Chart Questions - CF7

    Hi Folks -
    I have a few questions about CFCHART in CF 7 and I am hoping
    that maybe different users can answer them:
    The following questions relate to creating a line chart.
    1) Is there a way to control the gridlines yourself, and not
    use the values for the lines that CFCHART presents?
    1A) If you have to accept the values that CFCHART gives you,
    is there a way to control the actual rounding of the values? Right
    now I am getting 3 decimal places, and I would prefer whole
    numbers.
    2) Is there an issue with displaying negative values? I have
    a chart that ranges from -255 to 100,000 and has 10 grid lines. But
    the -255 does not display. I get 0, the rest of the lines, except
    for the 9th line.
    <cfchart chartheight="300" chartwidth="450" font="@Arial
    Unicode MS" scalefrom="-255" scaleto="100000"
    gridlines="10" xaxistitle="Month" yaxistitle="Total"
    format="png" labelformat="number">
    <cfchartseries type="line" serieslabel="Review">
    <cfchartdata item="Jan" value="2569">
    <cfchartdata item="Feb" value="65535">
    <cfchartdata item="March" value="-57">
    <cfchartdata item="April" value="75778">
    <cfchartdata item="May" value="89955">
    <cfchartdata item="June" value="39898">
    <cfchartdata item="July" value="0">
    <cfchartdata item="August" value="12560">
    <cfchartdata item="Sept" value="-255">
    <cfchartdata item="Oct" value="767">
    <cfchartdata item="Nov" value="6868">
    <cfchartdata item="Dec" value="37352">
    </cfchartseries>
    </cfchart>
    Any and all questions and answers are appreciated.
    Thanks,
    Doug

    You can specify scaleFrom and scaleTo by hardoced values or
    dynamic variables and number of gridlines. If you not specified
    first two attributes, then by default, the minimum is 0 or the
    lowest negative chart data value, and the maximum is the largest
    data value.
    To avoid decimals in your case empirically find good
    combination for your scale, for example from - 500 to 10 000 and
    number of gridlines = 12.

  • Line chart question (lines are not connected)

    I have a simply report which basically counts the data by Month and Type. So I have 3 columns: Month, Type, Count (count column has a formula). Then I created a line chart. For some month, some type, there is no data. I noticed in those scenarios, the lines in the chart becomes disconnected. For example, let's say I have Jan, Feb, March, April. There is a type called "User Error". For this type, Jan has 10, Feb has 4, March has no data. April has 4. In the chart, I have month on x-axis. Count on Y-axis. Type is the data stream. So for this type, the line goes from Jan to Feb. It disappears for March and then reappears as a dot for April.
    The line looks like ugly. I would like to have a continuous line. So for March, the line should go to 0 on the Y-axis.
    Does anyone have a suggestion how to do this?

    Hi,
    I think you can solve this with a case statement in the count column:
    CASE
    WHEN "column formula" IS NULL
    THEN 0
    ELSE "column formula"
    END
    Hope this works for you.
    Regards, Tim

  • Line chart question

    I have AW 6. I want to make a color line graph (chart) of some temperature data. The Y axis will be the temperature and the X axis will be the date for a month. So it is a simple temperature vs. date line graph. There will be two sets of data placed on this graph - the maximum temperature for the day and the minimum temperature for that same day for each of the days of the month. Therefore two lines will appear on the chart - Max line and Min line. I have been doing this for years and somehow must have formatted to show the Max line in red and the Min line in blue which makes sense. The data for the graph have been taken from a table showing three columns in the order date, max temp, min temp. However, recently most weather data has been reversed showing the lowest (min) temp for the day first since this occurs in the early morning hours of the day so I have decided to go along with this new trend and now have my table in the order date, min temp, max temp. However, now that I have reversed the order, the min temp line appears in red and the max temp line appears in blue. How do I change the colors to the logical blue for min and red for max. I must be missing something very simple here and have checked all the chart options but must be a bit blind or something.

    levlvl wrote:
    How do I change the colors to the logical blue for min and red for max?
    Make sure you have displayed the legend for the chart, and that you have the Tools showing.
    Click on the coloured square for Max in the chart's legend, then click the Pen button in the Tools, then choose the pen colour from the Color palette in the Tools. Click the square for Min and again choose the new Min colour from the palette.
    To change the colour of the data points, double click the coloured square in the chart's legend, then click the coloured square beside "Symbol" in the Char Options (Series) dialogue that opens. That will open a Color palette from which you can choose the same colour as you've set for the line. Use the pop up menu "Edit series:" to switch to the Min series and repeat.
    Regards,
    Barry

  • Display column values as a series/legend on a line chart where one column value can be more than one category

    Hi Everyone
    I don't know if this is possible or not, so I will describe it. I have a column in a table called Filing. There are currently three values in it ("Abuse", "Neglect", "Voluntary") and each record has this populated. I also have
    the below slicer for the column also.
    I would like to add a fourth value called "Abuse/Neglect" that would identify instances where both an Abuse and Neglect petition was filed, which is a subset of the Abuse and Neglect records in the Filing column.
    My question is, is it possible to create a line chart that has the 4 Filing possibilities: "Abuse", "Neglect", "Voluntary", "Abuse/Neglect" as the Series/Legend in the line chart?
    The problem is that there are records that are more than one category: Abuse or Neglect records can also be Abuse/Neglect.
    Paul

    Hi Paul,
    According to your description, there is a column with the values ("Abuse", "Neglect", "Voluntary") in your table, now what you need to is that add another value "Abuse/Neglect" in this column, and then use it
    as Series/Legend in the line chart, right?
    In this case, you can add calculated column to your table based on your logic. A calculated column is a column that you add to an existing PowerPivot table. Instead of pasting or importing values in the column, you create a DAX formula that defines
    the column values. The calculated column can be used in a PivotTable, PivotChart, or Power View report as you would any other data column. Please refer to the link below to see the details.
    https://msdn.microsoft.com/en-us/library/gg413492%28v=sql.110%29.aspx?f=255&MSPPError=-2147217396
    Regards,
    Charlie Liao
    TechNet Community Support

  • How can I connect dots across missing data points in a line chart?

    Hi all!
    I have a table in Numbers that I update every few days with a new value for the current date (in this case body metrics like weight, etc.), which looks something like this:
    Column 1              Column 2      Column 3
    Aug 16, 2011         87.1             15.4
    Aug 17, 2011         86.6
    Aug 18, 2011         86.1
    Aug 19, 2011              
    Aug 20, 2011         85.7             14.6
    Aug 21, 2011         85.3
    Every once in a while there will be a missing value for a given date (because I didn't take a reading on that day). When I plot each column against the date on a line chart, there is a gap where there are missing data points. The line does not connect "across" missing data points. Is there a way to make the line connect across missing data points?
    Thanks for any help. This thing has been driving me nuts!

    Leave your nuts in peace.
    Don't use line charts but scatter charts.
    These ones are able to do the trick.
    Of course to do that you must study a bit of Numbers User Guide.
    In column D of the Main table, the formula is :
    =IF(ISBLANK($B),99999,ROW())
    In column E of the Main table, the formula is :
    =IF(ISBLANK($C),99999,ROW())
    Now I describe the table charter.
    In column A, the formula is :
    =IFERROR(DAY(OFFSET(Main :: $A$1,SMALL(Main :: $D,ROW())-1,0)),"")
    In column B,the formula is :
    =IFERROR(OFFSET(Main :: $A$1,SMALL(Main :: $D,ROW())-1,1),"")
    In column C, the formula is :
    =IFERROR(DAY(OFFSET(Main :: $A$1,SMALL(Main :: $E,ROW())-1,0)),"")
    In column D, the formula is :
    =IFERROR(OFFSET(Main :: $A$1,SMALL(Main :: $E,ROW())-1,2),"")
    In this table, select the range A1 … D5
    and ask for a Scatter chart.
    You will get what you need.
    I asked that points are joined by curves
    I just edited the parameters of Xaxis and Yaxis to get a cleaner look.
    I repeat one more time that knowing what is written in the User Guides is useful to be able to solve problems with no obvious answer.
    Yvan KOENIG (VALLAURIS, France) samedi 27 août 2011 15:59:20
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How to create a Power View bringing barchart and line chart together in same graph

    We are planning to create power view report that has bar and line charts on same graph. Could you please let us know whether it is feasible in Power View & how to add trend line in power view .
    Thanks,
    Sandeep.

    This is not possible with Power View. It is possible with Power BI (Online at PowerBI.com) See image below.
    Please vote or mark as answer if you found the response helpful.
    Regards, Avi
    www.powerpivotpro.com
    Wiki:How to ask a Power Pivot Question to get a prompt, accurate and helpful response

  • Line Chart - Current Year Sales, Current year Returns, Last year Sales, Last Year Returns

    We have a report that summarises monthly sales & credits for 2 years in a group footer.   The footer is a sum of a formula in the detail section that calculates the monthly sales at the Item code level
    Item 1
    Group Footer 1     July     Aug     Sept     Oct          
    Sales Last Yr     @July_LY_Sales @Aug_LY_Sales     @Sep_LY_Sales  @Oct_LY_Sales          
    Credits Last Yr @July_LY_Credits @Aug_LY_Cred     @Sep_LY_Cred   @Oct_LY_Cred          
    Sales This Yr @July_CY_Sales @Aug_CY_Sales     @Sept_CY_Sales @Oct_CY_Sales          
    Credits This Yr @July_CY_Cred @Aug_CY_Cred     @Sep_CY_Cred @Oct_CY_Cred          
    <Curr Yr Graph1>
    <Last Year Graph2>
    Item 2
    Group Footer 1     July         Aug           Sept                               Oct          
    Sales Last Yr  @July_LY_Sales   @Aug_LY_Sales @Sep_LY_Sales @Oct_LY_Sales          
    Credits Last Yr @July_LY_Cred  @Aug_LY_Cred     @Sep_LY_Cred @Oct_LY_Cred          
    Sales This Yr   @July_CY_Sales  @Aug_CY_Sales     @Sept_CY_Sales @Oct_CY_Sales          
    Credits This Yr    @July_CY_Cred   @Aug_CY_Cred     @Sep_CY_Cred @Oct_CY_Cred          
    <Curr Yr Graph1>
    <Last Year Graph2>
    In the footer under the data, we want a 4 line graph (or 2 x 2 line graphs for this year & last year).  One line for sales for the current 12 months, and with it, a line plotting the credits, so as to see the trend over that year.  And then we want a line graphing the previous years sales and a line graphing the previous year credits for the 12 months. 
    On the data tab in chart expert, we selected the Place chart for each SHDOC.ITEM (Item number) in the footer and this is positioning correctly.  We have tried selecting "On change of shdoc.item and we have also tried For each record.  We selected on change of shdoc.item to generate the graph for each item.  We then added the 12 formula for the current year in the Show Value panel  
    In the show value panel we tried using the detail formula, the Report Area: Sum of <formula> and the Group 1: Sum Formula.  They all display as @July or @Aug which is a dependent formula used to identify the month
    We have added the above formula for each month and each value, but we can't work out how to group the monthly data into the 4 series of 4 lines (1 colour each) - Current Year Sales, Current Year Returns, Last Year Sales, Last Year Returns for the charting.  We have tried to create a graph with only 1 set of monthly data (viz, just 12 months current year sales) But no matter what options we take, we seem to get 12 line chart representing each month rather than 1 line representing 12 months.
    Can someone point us in the right direction?

    Please re-post if this is still an issue but search forums first, lots of chart questions have been answered.

  • Jfreechart line chart mouse click problem

    i need to implement a line chart where users can click on an area of the chart and highlight it, i have serveral questions regarding how to do this:
    i added a mouselistener to the chartpanel, i can get the points with e.getTrigger().getPoint(), but I need the points associated with the graph point, is that possible?
    i also need to highlight an area of the line chart, I have no idea where to begin, will i be able to change the background of a specific range of points?
    help would be appreciated!!

    Hi,
    I have not tested your code, but check these links. This might help.
    http://blogs.adobe.com/flexdoc/2009/07/date_range_selection_for_flex.html
    http://www.stretchmedia.ca/code_examples/chart_range_selection/main.html

  • Line Chart to Compare Current Year vs Last Year

    I am on BI 7 SP9. I need to create a line chart that shows 2 lines to compare  revenue for the current year against last year. The first line should show the revenue for the current year. The second line should show the revenue for last year. In my BEx query, I have the fiscal period values in the row and the revenue key figure in the column. Questions:
    1. How can I show 2 lines in the chart to compare revenue for the current year vs last year?
    2. There are 2 variables for the fiscal period - one for current year and one for last year. The user can enter any value range in the fiscal period variables at query runtime, but the fiscal periods for each of the 2 years must be the same. This means the number of fiscal periods that appear in the query result rows will vary (e.g.. 3 periods for a quarter or 12 periods for a full year). The user has to enter the same fiscal periods for the current year and last year variables. How can I determine the fiscal period values to plot in the line chart for the current year and then last year when the number of rows in the query results will fluctuate?
    The legend at the bottom of the chart should show JAN, FEB, MAR...DEC instead of the fiscal period values like 001/2007, 002/2007. Is there an exit I have to change to get this to work?
    Thanks for any help you can give!

    You can do it in multiple ways
    1.
    SELECT COALESCE(t1.Company,t2.Company) AS Company,
    COALESCE(t1.Sales2015,0) AS CurrentYearSales,
    COALESCE(t2.Sales2014,0) AS PriorYearSales
    FROM Sales2015 t1
    FULL JOIN Sales2014 t2
    On t2.Company = t1.Company
    2.
    SELECT Company,
    MAX(CASE WHEN YearVal = 2015 THEN Sales ELSE 0 END) AS CurrentYearSales,
    MAX(CASE WHEN YearVal = 2014 THEN Sales ELSE 0 END) AS PriorYearSales
    FROM
    SELECT Company,Sales2015 AS Sales,2015 AS YearVal
    FROM Sales2015
    UNION ALL
    SELECT Company,Sales2014 AS Sales,2014
    FROM Sales2014
    )t
    GROUP BY Company
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Changing color of lines in line chart

    Okay this is a dumb question but how do I change the color of
    lines in a line chart?

    "spacehog" <[email protected]> wrote in
    message
    news:g81g1a$eq4$[email protected]..
    > Okay this is a dumb question but how do I change the
    color of lines in a
    > line
    > chart?
    http://www.rphelan.com/2008/05/23/taking-control-of-flex-charting-styles/

  • Line Chart Formatting

    Hi All,
    I have created a line chart with 3 series. I have two questions :
    1. My X-Axes brings back 96 rows to display but the only way to see all data is if I use a scroll bar on this axis. I have tried to increase the chart width from 700 to 1000 but this does not have the desired effect. Is there a way to display my data without using the scroll bar ?
    2. Is it possible to have the area within a given series line to be shaded in a certain colour so that it is more visually effective ?
    Thanks
    Edited by: Billy on Aug 24, 2011 2:12 PM

    Hi Shane,
    The reason you don't see the "Show Scrollbar" option for your chart is because scrolling is not currently supported by HTML 5 charts, and so that option is not visible on the Chart Attributes page when you edit your chart.  See the section HTML5 Migration Guide in the AnyChart online documentation for the list of supported features.  Note that the scrolling option is listed as "zoom panel", because scrolling is controlled via the <zoom> tags in the chart XML, as outlined in the Zooming and Scrolling section of the AnyChart documentation.
    So until AnyChart provide support for scrolling with HTML 5 charts, you'll need to use the Flash chart option.
    Regards,
    Hilary

  • Line Chart with more than 15 datapoints

    I'm using Apex 3.1.
    I am trying to create a line chart with more than 15 data points. Apparently 15 is the default. Question is, How do I change the default?
    The Wiki has advice for changing the "Maximum Rows" parameter, but "Maximum Rows" is not to be found, either in the chart attributes or series attributes.
    http://wiki.shellprompt.net/bin/view/Apex/ChartIssues
    I have encountered this limitation with SVG line charts and Flash line and scatter charts. Seems like it must be an easy thing to figure out; I feel embarassed asking such a question. But I've been through all the application property pages, much of the documentation, and several tutorials... Where can I change this? It's driving me nuts!
    Thanks
    Fred

    Hello,
    Which version of APEX are you using?
    Go to your Flash Chart attributes - get into your series (click the icon) in the section of Series Query you'll find the maximum rows.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

  • Can't do detailed line chart in cfchart

    Hi
    is it possible to get a line chart suitable for say a
    financial series ie with ~1000 points of data in cfchart with
    CFMX7? I cant seem to get the line fine enough so have to limit
    chart to say 50 points. Someone must have done it but cant see any
    examples on web or adobe livedocs. I guess a follow up question is
    where is the best ref for cfchart?
    Thanks in advance
    Tim

    Hi, what did the genius mean by "everything being fried"? I'm guessing that you have a USB keyboard and mouse and they still work, right? I'm just trying to see what the extent of the damage is.
    Best,
    ~FifthWheel

  • Charts (Line chart) in apex 2.0 /3.0 limit of resulting rows in char area

    Hello @apex experts,
    does any body knows if there is a max number of resulting rows by using a line chart. It seems that until 150 resulting rows all is o.k. but when I try to get a line - chart area for a whole year (365 days) no chart is displayed. I spread out the chart area to 2056 x 800 px but no restult is displayed by using the > 300 resulting set.
    Regards and thank you for help

    I changed this and put usage of UTL_FILE into a dynamic PL/SQL. The package will
    compile and work unless you want to create debug information. If yes, then it will raise an
    error message. So, you don't need UTL_FILE execution priviledge from your DBA.
    I opened the package and you may modify it the way that you don't need any public
    synonyms and no UTL_FILE to run it.
    There are so many questions in this forum related to "What is my DBA going to say?" or
    "How is he going to react?". Even for some minor issues. I have myself also seen some
    of similar situations and the only thing I can sey is:
    You got to use that powerfull tool Oracle Database instead of hiding it away from your
    users and developers. Learn how to control it instead of prohibiting access to it! Otherwise,
    it's just a waste of money.
    Denes Kubicek

Maybe you are looking for