Charts (bar and line) in a tablix
Hi, I need to do this:
As you can see the bar graphic is inside the tablix (this is an excel sample btw), I found
this tutorial and it really helped me, the problem is the line chart (this
one was good too), in my report looks like this
How can I make the lines appear between each marker?
Hi mnjogin,
How did you manage to combine bar and line into one graph?
Pls advice.
Thanks!
Similar Messages
-
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.
ThanksPost 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. -
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) -
Combination of bar and line in chart(graph) of Crystal Report XI
Hi,
I found the way to combine line and bar in a chart(graph) but I am getting rectangle marker where bar and line are crossed. Our user asked to remove the rectangle marker. Please let me know how to remove the rectangle marker.
Thanks and Regards,
Manjunath N. JoginHi Senthil,
You are right but I am getting marker rectangle where line and bar coincides.
I want to remove the marker.
User asked following two things:
1. Marker like star, triangle, rectangle ...not required where coincide line and bar.
2. Line should be coincided (marker place) at middle of bar.
Please let me know how to achieve these two things.
Thanks,
Manjunath N. Jogin -
How to make the values of a combination graph (bar and line) visible always
Hi ,
I am using jdev 11.1.1.6
i have created a combination graph which has a bar and line.
The data with respect to bar and graph were only visible when i keep the mouse pointer on it.
i need to set the values visible always.
kindly let me know how to make it.
In pie graph its by default showing the data always.
regards
SivaHi Sameh Nassar,
Thanks for the input, am using the combination graph and i dont have this property added till now.
i tried adding them manually in source but it didn't work. so I assume that this property is good with pie chart alone.
please correct me if am wrong.
This is my combination graph structure.
<dvt:comboGraph id="comboGraph1"
value="#{bindings.testVO1.graphModel}"
subType="COMBINATION_VERT_ABS_2Y" shortDesc="Graph 1">
<dvt:background>
<dvt:specialEffects/>
</dvt:background>
<dvt:graphPlotArea/>
<dvt:seriesSet markerDisplayed="true">
<dvt:series lineWidth="0"/>
</dvt:seriesSet>
<dvt:o1Axis/>
<dvt:y1Axis/>
<dvt:y2Axis/>
<dvt:legendArea automaticPlacement="AP_NEVER"/>
<dvt:graphTitle text="Combination graph"/>
<dvt:o1Title text="x axis"/>
<dvt:y1Title text="y1 axis"/>
<dvt:y2Title text="y2 axis"/>
</dvt:comboGraph>
regards
Siva -
Problem in Combo chart columns and line
I select chart type is combo in my vc model and select data series is columns and line.
I define 5 series in the chart.
once i deployed the model the output shows the columns are overwrite in stacked position.
eg:
series 1: 10%
series 2: 20%
series 3: 45%
series 4: 25%
series 5 is line type
but in the chart the only one column will display,its top value 45% and itself shows 10% and 20% in different color.Don't show the 25% value on that column.
How to display the chart columns in clustered type in combo chart.
thanks in advance
Aravind.SHi
When you select 'Combo Chart' you will not get options for 'Stacked or Clustered'. By default it will be 'Stacked' chart only. Combo charts are generally used for less number of data series. Normally these charts are best suitable for 2 Data series only.
Still in your case is there any reason to use 'Combo Chart'? Consider following points -
1. If you want to use this type of chart then selction of 'Columns + Line' will be difficult because it will treat only 'Last Data Series' as line & all others will be columns & what you said problem will appear.
2. Instead of that select 'Column + Lines', so that only first 'Data series' will be column & rest all will be 'Lines'. So that you will get better visibility in that graph.
I think this will help you, If you have nay problem let me know.
Regards
Sandeep -
Combined bar and line graph: need some advice
Hi,
I'm builing a small app for a customer. The basic functionality is showing the bar chart and the line (see the figure attached), and now I want to show
the area above the line in another color. This is the cost saving for the customer. Can I do this? And how would you suggest me to achieve this!
Can I also show the big dot as seen in the figure?
Thanks!_Faust wrote:
Hi,
I'm builing a small app for a customer. The basic functionality is showing the bar chart and the line (see the figure attached), and now I want to show
the area above the line in another color. This is the cost saving for the customer. Can I do this? And how would you suggest me to achieve this!
Can I also show the big dot as seen in the figure?
Thanks!
Although I believe that graph would be possible by banging on the graphs hard enough, but it would pretty easy to render that image using a picture control since rectangles, lines, text, and circles are supported.
The link I included above will take you to a thread devoted to Picture related threads.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Filling Flex chart bars with line strokes
HI all,
I have requirement to fill the columns of column chart with line strokes any suggestions ??..plz put here..Try BitmapFill or a custom fill.
-
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 -
Bar chart and Line chart in a single chart??
Hello,
Was wondering if there is any way to create a bar chart and line chart in a single Flash or SVG chart? If not, are there any plans to introduce such a chart type in the future releases?
Regards,
DevDev,
I don't think you can do that using standard Flash or SVG. However, you can do this
using my XML Chart Package
http://htmldb.oracle.com/pls/otn/f?p=31517:58
and the instructions given on
http://www.maani.us/xml_charts/index.php?menu=Gallery&submenu=Composite
You can modify the package to do that for you.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://htmldb.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Interactive Bar/pie chart and line graph, data from excel/text file -urgent
Hi,
I have a huge data in excell sheet which keeps updating every month. Data basically consists of service provider and there respective subscribers from various regions of the country over the years. The requirement is to give the viewers an interactive page where in they can make various combinations and can compare, cross examine data according to thier choice.
We want the pie chart / bar graph or line graph to be created on the fly according to the combination made by the user.
The site is hosted on a red hat linux server. how can a connection to the excel spreadsheet be made or is it possible to read from the text file if the entire data is exported to a text file.
Is there any ready made tool/code available which can be customised according to the need.
Thanx in advance
Regards
PrakashI certainly wouldn't pay for the graphing package at the previous link. check out http://www.object-refinery.com/jfreechart/ for a free, open-source, much better looking graphing package.
-
Stacked Bar chart and Line graphs
I have a report in Crystal which has stacked bar chart and a line graph together in one report.
Is it possible to do the same thing in WebI . Can anybody share the experience.Today you can only have a simple bar (not stacked) and line chart in Web Intelligence. We are looking to improve charts in the future. In the meantime you can look into the masher from the labs...
-
Plot line, bar and pie chart
Anyone can let me know where can i learn or tutorial on how to plot line, bar and pie chart by using java2D... (no third-party software)....
thanks in advance.Here's a pie chart app I made for an earlier question:
import java.awt.*;
import java.awt.font.*;
import java.awt.geom.*;
import javax.swing.*;
public class PieChart {
public static void main(String[] args) {
int[] data = {
18, 95, 102, 87
PieCharter pie = new PieCharter();
pie.enterData(data);
JFrame f = new JFrame("Pie Chart");
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.getContentPane().add(pie);
f.setSize(400,300);
f.setLocation(300,300);
f.setVisible(true);
class PieCharter extends JPanel {
int[] data, percents;
int dataTotal;
final int
PAD = 25,
R_PAD = 5;
public PieCharter() {
setBackground(Color.white);
public void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2 = (Graphics2D)g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
Font font = new Font("lucida sans unicode", Font.PLAIN, 16);
g2.setFont(font);
FontRenderContext frc = g2.getFontRenderContext();
int width = getWidth();
int height = getHeight();
int cx = width/2;
int cy = height/2;
int dia = (int)Math.min(width, height) - 2*PAD;
g2.draw(new Ellipse2D.Double((width - dia)/2, (height - dia)/2, dia, dia));
// draw zero datum
double radians = 0;
int x = cx + (int)((dia/2) * Math.cos(radians));
int y = cy - (int)((dia/2) * Math.sin(radians));
g2.draw(new Line2D.Double(cx, cy, x, y));
String s;
int dataWidth, dataHeight, deltaR, rXInc, rYInc;
for(int i = 0; i < data.length; i++) {
radians += 2*Math.PI * data/dataTotal;
x = cx + (int)((dia/2) * Math.cos(radians));
y = cy - (int)((dia/2) * Math.sin(radians));
g2.draw(new Line2D.Double(cx, cy, x, y));
s = String.valueOf(percents[i]) + "%";
dataWidth = (int)font.getStringBounds(s, frc).getWidth();
dataHeight = (int)font.getLineMetrics(s, frc).getAscent();
deltaR = (int)Math.sqrt(dataWidth*dataWidth + dataHeight*dataHeight)/2 + R_PAD;
rXInc = (int)(deltaR * Math.cos(radians));
rYInc = (int)(deltaR * Math.sin(radians));
x += rXInc;
y -= rYInc;
x -= dataWidth/2;
y += dataHeight/2;
g2.drawString(s, x, y);
s = String.valueOf(data[i]);
dataWidth = (int)font.getStringBounds(s, frc).getWidth();
dataHeight = (int)font.getLineMetrics(s, frc).getAscent();
x = cx + (int)((dia/4) * Math.cos(radians - 2*Math.PI * data[i]/(2*dataTotal)));
y = cy - (int)((dia/4) * Math.sin(radians - 2*Math.PI * data[i]/(2*dataTotal)));
x -= dataWidth/2;
y += dataHeight/2;
g2.drawString(s, x, y);
private void prepareData() {
for(int i = 0; i < data.length; i++)
dataTotal += data[i];
percents = new int[data.length];
int dataPlus = 0;
for(int i = 0; i < data.length; i++) {
dataPlus += data[i];
percents[i] = Math.round(100 * dataPlus/dataTotal);
public void enterData(int[] data) {
this.data = data;
prepareData();
repaint(); -
Code regarding Pie Chart, Bar Chart and Line Chart
Anybody having code for Pie chart, Bar chart and Line chart.......?
You may try jfreechart, jgraph,etc
here is the link for more java graphics software : http://www.kidslovepc.com/graphic-design/graphic-design-softwares.php -
Urgent: Combination of stacked bar chart and line chart
Hi,
I have the following request: First I need series depending on the year (no problem) and two stacks for each series (first problem). Now I need two line, line 1 for total of stack 1 and line 2 for total of stack 2. Both lines should have a label showing the difference from one to next series in percent.
Can something like this be done in BI Publisher. I got an excel sheet with such a chart, so it is possible there. Any templates, hints or tipps?
I need this very urgent because it's the main report of my project. So if this is not working I can stop the project and have to find another reporting tool.
Thanks
chrissy
Message was edited by:
chrissyI've made again some tests by myself and recognized that there's something strange in the chart.
When I create a stacked bar chart with values of DURATION, labels for TYPE_NAME and series of YEAR the first thing is, that it is not ordered. So how can this be done?
The second error, is hard to explain ...
Let's say I've the following values:
Type1 Type2 Type3
2005 1 2 3
2006 4 5 6
2007 7 8 9I would expect the following chart:
2005 2006 2007
1 4 7 Type1
2 5 8 Type2
3 6 9 Type3But the chart shows me the following:
2005 2006 2007
1 7 4 Type1
5 2 8 Type2
3 6 9 Type3You can see, the values are totally mixed, the code of the chart is the following:
chart:
<Graph seriesEffect="SE_AUTO_GRADIENT" graphType="BAR_VERT_STACK">
<Title text="" visible="true" horizontalAlignment="CENTER"/>
<MarkerText visible="true" markerTextPlace="MTP_CENTER" />
<LocalGridData colCount="{count(xdoxslt:group(.//ROW, 'YEAR'))}" rowCount="{count(xdoxslt:group(.//ROW, 'TYPE_NAME'))}">
<RowLabels>
<xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
<Label>
<xsl:value-of select="current-group()/TYPE_NAME"/>
</Label>
</xsl:for-each-group>
</RowLabels>
<ColLabels>
<xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="YEAR">
<Label>
<xsl:value-of select="current-group()/YEAR"/>
</Label>
</xsl:for-each-group>
</ColLabels>
<DataValues>
<xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
<RowData>
<xsl:for-each-group select="current-group()" group-by="YEAR">
<Cell>
<xsl:value-of select="sum(current-group()/DURATION)"/>
</Cell>
</xsl:for-each-group>
</RowData>
</xsl:for-each-group>
</DataValues>
</LocalGridData>
</Graph>Otherwise I had made the following to have a stacked bar for duration and one for outage:
chart:
<Graph seriesEffect="SE_AUTO_GRADIENT" graphType="BAR_VERT_STACK">
<Title text="" visible="true" horizontalAlignment="CENTER"/>
<LocalGridData colCount="{count(xdoxslt:group(.//ROW, 'YEAR')) * 2}" rowCount="{count(xdoxslt:group(.//ROW, 'TYPE_NAME'))}">
<RowLabels>
<xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
<Label>
<xsl:value-of select="current-group()/TYPE_NAME"/>
</Label>
</xsl:for-each-group>
</RowLabels>
<ColLabels>
<xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="YEAR">
<xsl:sort select="YEAR"/>
<Label>
<xsl:value-of select="current-group()/YEAR"/>
</Label>
<Label />
</xsl:for-each-group>
</ColLabels>
<DataValues>
<xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
<RowData>
<xsl:for-each-group select="current-group()" group-by="YEAR">
<Cell>
<xsl:value-of select="sum(current-group()/DURATION)"/>
</Cell>
<Cell>
<xsl:value-of select="sum(current-group()/OUTAGE)"/>
</Cell>
</xsl:for-each-group>
</RowData>
</xsl:for-each-group>
</DataValues>
</LocalGridData>
</Graph>The only thing I miss is a label for each stack, what is shown (so duration or outage) and of course the line.
Thanks for any help
chrissy
Maybe you are looking for
-
Error --while uploading document in solar01 Project documentation
Dears, We have created a imp project in solman and I have full authorization of solar01,solar02,solar_project_admin.Now when I go to project documentation->Add document and click on upload documement, It gives error: "No authorization to upload docum
-
I updated my itunes and now it can't locate some of my songs. What do I do?
I recently updated my iTunes library software. After I did, some of my songs were not able to be located on my computer, even though they haven't moved. An additional name was added to the filename. It is file://localhost/. I can't figure out how to
-
I accidentally deleted a movie off of imovie i do not know how to get it back please help
I accidentally deleted a movie project off of imovie and it went to the trash i do not know how to get it back i have tried putting it back through the imovie icon but it did not work please help!
-
Dear all, I am very new to oracle. I am learning oracle now. I have small doubt could any one can help me. I have a string like 'robert alias: 09-047 position now: CLARK' now i need to store the word '09-047' in to a variable x and clark in to a
-
IDs of DraftMessage-Reference changing after Message.Refresh
Hello, we have a very weird behavior when accessing messages in the Mailbox folder with 660048 incoming messages and 48 outgoing messages. We retrieve a reference to a draft message by creating it with the following code: Mail5 draftmsg = (GroupwareT