Combining a Line Chart with a Bar Chart

I'm required to render a chart that has a line chart in the background with a bar chart in the foreground. BarChart requires with one of the axes be Category while the LineChart needs to have both axes be Numeric.
I had seen another post suggesting using a StackPane to put 2 distinct charts on top of each other. I don't think this will be suitable for this due to how different the one axis needs to be.
My hunch is to simply write a new XYChart that renders bars instead of lines. Any other ideas?
Thanks,

Hi Chirs,
In SSRS, the chart type is by design. It is not support vertical line chart.
Reference: http://technet.microsoft.com/en-us/library/dd220461.aspx
Since the issue is by default, I recommend you that submit this suggestion at
https://connect.microsoft.com/SQLServer/. If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the
level of service provided.
If you have submit a feedback, could you please post the thread there? It will be very beneficial for other community members who have similar questions.
Regards,
Alisa Tang
If you have any feedback on our support, please click
here.
Alisa Tang
TechNet Community Support

Similar Messages

  • Formatting of vertical Line chart

    Hi,
    Does anyone know why the last element on a LineChar,t when
    the form is vertical, does not get displayed correctly?
    It seems to get partially displayed as a very thin vertical
    line.
    Thanks.

    Hello Greg,
                         Yes you are correct i want the  combination of Line Charts with  bar Charts on top .Let me know if you need any further details on it.I have the picture but I cannot share with anyone  due to right's issue.
    Regards
    Kalavati

  • Cfchart yaxis scale is wrong when combining bar and line charts

    Hi, I am trying to combine a bar and line chart ti display data.  Everything looks good except that the yaxis scale is off.  I set the scaleMin to 0 but that doesn't help.  Below is my code, the custom XML style and a screen shot.  My ultimate goal is to get the yaxis to start at 0, not -1,000 as is currently the case.  I have combined this data with each set represented as bar charts and do not have this problem.  It must be the combo of bar and line charts together.  Any assistance is most appreciated.
    <cfchart title = "#variables.ReportName# Seedlings Ordered"
        style = "../SO_R_overall.xml"
        Format = "PNG"
        pieSliceStyle = "solid"
        show3D = "no"
        showBorder = "yes"
        showLegend = "yes"
        tipStyle = "MouseOver"
        chartHeight = "#DefinedChartHeight#"
         chartWidth = "#DefinedChartWidth#"
        font="arial"
        fontsize="12"
        fontBold="yes"
        scaleFrom="0">
        <cfchartseries
            type="bar"
            seriesLabel="Goal"
            query="getDivisionGoalsByDivision"
            valueColumn="divisiongoal" 
            itemColumn = "division"
            dataLabelStyle="Value"
            seriesColor="99CCFF"
            >           
        </cfchartseries>   
        <cfchartseries
            type="line"
            seriesLabel="Ordered"
            query="getQTYordered"
            valueColumn="QTYordered" 
            itemColumn = "division"
            dataLabelStyle="Value"
            seriesColor="green"
            >           
        </cfchartseries>
    </cfchart>
    ***************** Custom Chart Style called *****************
    <?xml version="1.0" encoding="UTF-8"?>
    <frameChart is3D="false">
            <frame xDepth="3" yDepth="3" outline="#333333" lightColor="white"
            leftAxisPlacement="Front" rightAxisPlacement="Front" stripColor="#CCCCCC"/>
            <xAxis scaleMin="0">
                <labelStyle isHideOverlapped="false" orientation="Horizontal"/>
                <titleStyle font="Arial-10-bold" isMultiline="true">Division</titleStyle>
            </xAxis>
            <yAxis scaleMin="0">
                <titleStyle font="Arial-10-bold"/>
                <dateTimeStyle majorUnit="Year" minorUnit="Month"/>
                <labelFormat style="Pattern" pattern="#,##0"/>
            </yAxis>        
            <dataLabels font="Arial-10" foreground="black" autoControl="true"/>
            <legend>
                   <![CDATA[ $(rowLabel)  ]]>   
              </legend>
            <decoration style="RoundShadow"/>
            <popup background="#C8FFFFFF" foreground="#333333"/>
            <paint paint="Plain"/>
            <insets left="5" top="5" right="5" bottom="5"/>
    </frameChart>

    I should have also said that I am using 8.0 Pro.
    I want to have the output similar to an e-book.
    The issue (Sept-October of 19xx)
    Then the individual pages (bookmarked)

  • Help with Bar & Line Chart on dual Axes

    I'm attempting to build a chart with 2 series
    Series 1 is a total
    Series 2 is a percent value
    I want Series 1 to be a column and series 2 to be a line
    Here is what I tried
    right click on the Bar that Iwant to display as line.
    Select the series option and then select "Line" from the drop down.
    But when I do this both series change even though they on different Axes.
    What did I miss?
    Thanks
    Steve

    you should first create a line chart, then click the series and turn to 'riser'.
    Thx, Hao

  • Stacked bar chart/line chart combination

    Hi,
    I use Crystal Reports 10.I need to produce a chart containing 2 series on the same graph with:
    - one series as a stacked bar chart type,
    - one series as a line chart type (not stacked).
    I tried doing 2 separate charts and superimposing one over the other, but the user wants to export it to excel and when they do so, the graphs appear as 2 separate images rather than one. it appears correctly in pdf though.
    How can i achieve this, either in 1 graph or as separate 2 graphs ?
    Any help appreciated...
    Thanks in advance,
    Swathy.

    Hello Swathy,
    If you can get both series in one chart then you can convert one series into line.
    To do this right click on the Bar that you want to display as line.Select the series option and then select "Line" from the drop down of "Show Selected Series as:" option.
    Hope this will help!
    Thanks & Regards,
    Amrita

  • Combination stacked bar and line chart

    Post Author: jl07
    CA Forum: WebIntelligence Reporting
    Is there a way to create a combination stacked bar and line chart in Web Intelligence XI R2 reports?
    This can be done in Excel and I'm thinking that it should be possible in WebI reports too.
    Thanks

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    JL07:
    This capability is not currently available in WebI (though it is available in Crystal).  Last fall I submitted this as an enhancement request.  It is being tracked under the following enhancement request:  ADAPT00676609 u2013 for the stacked bar chart, line graph issue.

  • Horizontal scroll bar with Line charts

    Hi,
           I want  a scrollable bar attached to x-axis as in this example(fourth one in the following URL---http://www.connectedpixel.com/blog/scrollingcharts).I able to find these feature only with ColumnCharts .Can any one tell whether can we apply the same to LineCharts .I request you to send some docs/examples of scrollbar with Line Charts
    Regards
    Kalavati
    [email protected]

    Kalavati,
    it's all fairly straightforward ActionScript stuff. Create a new ActionScript class derived from Panel. In a suitable handler create the line chart and scroll bar (HScrollbar), position them wherever you want with the x/y/height/width properties, and add them as children (otherwise they won't show up).
    I'm not sure what you're wanting to do with the scroll bar but let's suppose that at the start you show all the x-axis data (which is the default) and have the scrollbar thumb pointer at 100% (ie scrollPosition=maxScrollPosition). Then catch the scroll event. In the handler, work out the percentage across of the current position (this is a whole lot easier if you've set maxScrollPosition=100 to start with), then work out the implied change to the line chart in terms of data values. I don't know if you know in advance the data values or not, but it doesn't really matter. Suppose the horizontal axis is a LinearAxis. keep hold of the data max value along this axis for later use (say max_data_value), then do
    LinearAxis(chart.horizontalAxis).maximum = max_data_value * [the percentage worked out from the scroll bar]
    Richard

  • Horizontal Bar Chart and Overlaying Line Chart

    I am using SSRS 2008 and developing my reports in BIDS.
    I have a report with two data points. I want to chart the first as a bar (horizontal) chart and then the second as an overlaying line chart.
    I created both data series, originally, as a bar chart. I have clicked on the second series in the "Drop Data Fields Here" area and changed the chart to a line chart. When I do that, it changes both series to a line chart.
    However, if I use the column (vertical) chart for the first series, it will let me make the second one a line chart.
    Is this a limitation of SSRS 2008? Can I not have one data point be the horizontal bar chart and the second one a line chart?
    If so, are there any suggestions how to get around this?
    Thanks.

    Both charts for SSRS 2005/2008 are very limited when it comes to horizontal charts and are infact supporting only left-to-right bar charts, with no ability to combine them with other charting types (lines, areas, points etc.). For a SSRS charting solution that supports all types of charting type combinations in left-to-right and right-to-left horizontal fashion you can use Nevron Chart for SSRS - www.nevron.com. Besides a huge number of charting types and subtypes (most of which are not available in the MS Chart for SSRS 2008) it also provides better image quality in 2D and 3D modes, more settings, has support for rich text formatting in texts, has image filters, ability to customize via C# code and implements many more large and small charting related details.
    Best regards,
    Crank

  • Stacked Bar chart/Line chart hybrid- Charting

    Hi all,
    I have a requirement to have a stacked bar graph, with a line
    graph on the same chart. Has anyone here done this before?
    Apparently there is a known problem with combining line graphs with
    stacked charts. The following error gets displayed.
    ReferenceError: Error #1056: Cannot create property offset on
    mx.charts.series.LineSeries.
    at
    mx.charts::ColumnChart/applySeriesSet()[C:\Work\flex\dmv_automation\projects\datavisualis ation\src\mx\charts\ColumnChart.as:467]
    at mx.charts.chartClasses::CartesianChart/
    http://www.adobe.com/2006/flex/mx/internal::updateSeries()[C:\Work\flex\dmv_automation\pro jects\datavisualisation\src\mx\charts\chartClasses\CartesianChart.as:1454
    at
    mx.charts.chartClasses::ChartBase/commitProperties()[C:\Work\flex\dmv_automation\projects \datavisualisation\src\mx\charts\chartClasses\ChartBase.as:1755]
    at
    mx.charts.chartClasses::CartesianChart/commitProperties()[C:\Work\flex\dmv_automation\pro jects\datavisualisation\src\mx\charts\chartClasses\CartesianChart.as:1149]
    at
    mx.core::UIComponent/validateProperties()[E:\dev\3.0.x\frameworks\projects\framework\src\ mx\core\UIComponent.as:5670]
    at
    mx.managers::LayoutManager/validateProperties()[E:\dev\3.0.x\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:519]
    at
    mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:639]
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at
    mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\sr c\mx\core\UIComponent.as:8460]
    at
    mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src \mx\core\UIComponent.as:8403]
    Any insight would be greatly appreciated.

    Hi Bayani, the trick is to use a CartesianChart instead of a
    ColumnChart. Here's an example taken from the
    Stacking
    Charts documentation. --Bruce

  • Bar/Line Chart in IR 9.3.1 how do i change bar widths

    I have a chart with 3 bar and a single line. The problem I am having is that the bar exceed the interval space. The intervals are based on month and the bar overlap into the next internal. How can I reduce the bar width so it fits within the single interval?

    The easiest way is to use the Status-4-Evar add-on. With it you can choose to not display any of the status messages or url hover previews, or display them in the add-ons bar or location bar instead.
    https://addons.mozilla.org/firefox/addon/status-4-evar

  • How to Generate Chart (line chart, bar chart)!

    I want to generate Graphic Chart using Java,(e.g. line chart, bar chart).
    Is any Class can easy to generate Chart??
    thanks!

    petes1234 wrote:
    meacod wrote:
    Dimpu wrote:
    i need the source code how to generate the graphs using the Java
    Give me teh codes?
    And yes, this thread is old.Also note how the poster here politely requests help along with the use of the word "please". Very instructive. He'll get far here.Indeed, you are wise in the ways of the fool **bows politely**

  • Plot empty point in line chart with previous non empty value

    Hello,
    I have a problem to plot series data in SSRS line chart, with the empty point, I don't want use average and zero provided by the report builder, I want use the last non empty data to fill the empty point, tried to use expression =Previous(Field!Value), no
    luck, any one have some good idea?
    P.S. do not want to use query to fill the null with previous non null value, just from the performance point view. at last , the chart should have some line as square wave with different height, if I use average for empty point, it shows slop wave line which
    is not reflect the real production.
    Thanks
    Richard 

    Hi Richard,
    In Reporting Services, if the chart type is a linear chart type (bar, column, scatter, line, area, range), null values are shown on the chart as empty spaces or gaps between data points in a series. By default, empty points are calculated by taking the average
    of the previous and next data points that are not null.
    If we want to use previous value to replace the empty value, please refer to the following steps:
    Right-click the field which displayed in Y axis (Height) to open the Series Properties.
    In the Value field to modify the expression to look like this:
    =iif(isnothing(Sum(Fields!Height.Value)),previous(sum(Fields!Height.Value)),sum(Fields!Height.Value))
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Problem creating line chart with character data

    Post Author: burkartt
    CA Forum: Charts and Graphs
    CR Developer v. 11.5.0.313
    I want to create a line chart with data from a SQL2K table to show how much server time each application uses per day. All data is defined a character.
    HWA,4/24/2007,01:44.6HWA,4/25/2007,12.28HWB,4/24/2007,4.6HWC,4/24/2007,55.55HWC,4/25/2007,01:22.3HWE,4/24/2007,01:16.1HWE,4/25/2007,0.59
    I want one horizontal line per application where the X-axis represents the date and the Y-axis represents the server time. I have tried all column combinations for "On Change Of" and "Show Value(s)". What confuses me is why are Count and Discount the only Summary Options for the "Show Value(s)" data?
    Thank you,
    tim

    Post Author: V361
    CA Forum: Charts and Graphs
    I created a group based on date, day, then created the chart and put it in the group footer, on change of server, show sum of time, you will get a seperate chart for each day.  I am not sure if this will help, or will just do.  Since you have CR XI, you may want to look at the gauge chart also....

  • Malformed svg with Line Chart and empty results on ApEx 3.0

    Hello everyone,
    I'm experiencing problems here at our local ApEx installation:
    If I add a line chart using a query that returns an empty result, for example,
    SELECT 1 link, 2 label, 3 value FROM dual WHERE 1=2;
    I get a malformed svg, and Firefox (2.0) does not display the chart but an error message.
    I traced the error and found that the "no data found"-text to be displayed has a syntactical error:
    <svg width="600" height="400" viewBox="-5 -5 600 400" preserveAspectRatio="none"> <text class="nodatafound" x="40" y="20">No data found.</text></g></svg>
    The <g>-tag is closed although never opened. So the SVG-engine in Firefox behaves right by throwing an error message. However, internet explorer with the Adobe-plugins seems to ignore the tag and displays the correct svg image.
    If using a different type of chart (i've tested with the vertical bars), the error does not occur, neither does it when the result is not empty. I've noticed though, that
    the line chart seems to have problems if only one row is returned, it then
    displays an empty graph.
    Has anyone had the same kind of problem or is able to reproduce it, so I could file a bug report to Oracle?
    Any help is appreciated,
    Marc
    PS: I use ApEx 3.0.0.00.20 on Oracle 9i

    How can i debug ? Is anything helpful reported in the iAS logfiles?

  • Issues with Line Chart

    APEX 4
    Anychart 5
    If I create a new chart region, specify a 2D Line chart, and format my query everything seems to work well. If I add a new data series the chart becomes a 2D Column Chart. I simply want two lines graphed. Once the chart is displayed as a column chart, I cannot get it to display as a Line again unless I delete the object and reconstruct it. I have tried changing it to a 2D column, 2D bar, 3d bar, etc and then change it back to a 2D Line chart and it will only display as a column chart. Anybody else seen this behavior? Anybody got an explination?

    Hi Austin,
    The default setting of the "Series Type" value to correspond with the selected Chart Type, in your case a Line chart, has been resolved as part of a fix for bug 10205497. The fix will be available in our upcoming 4.0.2 patch release. Thanks for bringing this issue to our attention.
    Regards,
    Hilary

Maybe you are looking for

  • Modify New VO but not able to see Attribute Value.

    Hi , I am facing one problems during my VO extend. I have done below step, 1) Created new XXCustomVO based on exsiting CustomVO.Created new Attribute, modify SQL and mapped and gave new Name XXCustomInfoVO. 2) Assign this new XXCustomVO to new filed

  • Preview won't print some PDF files

    Hi everyone, I know a similar problem has been already discussed but it was not solved. When I print some PDF files from Preview on a Lexmark C524 color laser printer, I get only figures and symbols but no text. If I print the same files on a HP 2100

  • Can I use the iPhone as external microphone for my iMac?

    My imac doesn't have a mic in, only a line in. Is it possible to use the iPhone as external mircrophone with some extra software maybe? I want to create video tutorials and the internal microphone isn't good enough for this.

  • Procedure run order in a Package

    Are procedures run in a specific order in a package? If so, what determines that order? Thanks!

  • Cannot install or manage Server 2012 R2 RDS server locally but works remotely

    I am working with a Server 2012 R2 standard machine and attempting to get Remote Desktop Services installed and configured on it. Using the Add Roles and Features wizard while logged on locally to the server in question resulted in the error "Unable