I make this simple report with chart in BIRT:
but when I added grouping on Y axis, then bar became very tight and unevenly distributed.
How can I make this bar bigger ?
Steps to solve your issue :
Edit your chart,
then go in the format chart,
click on Chart Area
on the bottom, click on the "General properties"
a pop-up named General Properties is open.
Change the Unit Spacing (0 is for 100% - I suggest you 10)
1. Then click on Apply
2. and click on Finish
See :
Quite late to the party but I was having this exact issue and tried to fix it by changing the Unit Spacing only with no luck. So here's what I did in case someone stumbles upon this question like me:
I followed the same steps and changed unit spacing to 25 (but any number closer to 0 will help)
Then I removed the "Optional Y Grouping" here
Data set definition
And defined the Series Grouping instead in the "Color By" -> "Categories"
Series Grouping
I'm not a BIRT expert but this approach serves the same purpose for me and actually allowed me to change the width
Related
I have a graph that shows the ratio (count) of payable vs. processed words among the total words on stacked bars. I would also like to display the same ratio in percentages in lines overlapping the bars.
At the moment I have them in two separate graphs, but I want to merge them so that it takes less space in my dashboard view. I am unable to select the dual combination view as it requires two measures and even though I keep trying to cmd+click+drag the percentage measure pill to my marks, it's only changing the calculations in the bars but not allowing me to select the dual combination view.
Since the percentages are basically the ratio of the green/total in the bars, I don't think I need any complicated configurations for displaying it, however, I am also failing to achieve what I want.
Could you please tell me how to do this visualization?
Edit: I noticed that the reason I couldn't generate the dual combination view was that I had three date pills (year, quarter, month), and by removing two of them, I'm able to generate the dual combination view, but it's far from what I'm looking for as it's only splitting the stacked bar into bar+line.
Neeku, I certainly understand the desire to minimize "real estate" in your dashboard. If I understand your needs correctly, I believe that overlaying a transparent-background chart over the first chart might meet your needs, if a dual-axis chart doesn't work for you (for example, if you wanted to overlay a line chart on a column chart that is itself already dual axis).
By way of example, here is a simple Sample Superstore dashboard with a line chart on top and a stacked column at the bottom.
simple dashboard
Change the line chart to "Floating"
Size it to fit over your column chart and change the background to transparent by clicking anywhere in the line chart and select "Format"
...Format Shading
...and "None" for the color selection
Your line chart is now an overlay, but it's pretty messy.
Click on the line chart and hide field labels,
...turn off "Show Header" for each pill in the line chart
Clean things up and it should look better:
Note: one big issue with this approach is that you will not be able to click to select chart elements of the underlying chart.
I'm trying to evaluate 2 reporting tools, SQL reporting and Telerik reporting, One of the thing my report should create are some charts. Here comes my problem. I would like to get a line chart that looks like this one created on my RDLC that is how I need it.
With Telerik I almost got the same graph but I still have some problems.
I can't eliminate the margins on the X axis (blue squares)
I can't find how to manually set the X axis interval (green square), searching on forums somebody sais that changing the scale property to DateTime Scale (It crashes my designer)
It is possible to move the axis with the ticks at the bottom of the chart (purple square) like it is on the rdlc chart?
At the end I got an answer on the telerik forum how to set the properties I was missing, if somebody is facing a similar problem the solution can be found here
Chart Xaxis Margin and label interval
The problem in the purple square is solved by selecting the Y axis, from the scale property select CrossAxisPosition, add an element to the collection and set the position atminimum.
I am using Crystal Reports 2008 (12.4.0.966), and can't seem to force specific colors in a pie chart.
We are analyzing selected measurement topic (MT) scores of elementary and middle school students. The report has five groups, and the chart is going into the Group 3C Footer (where a parameter can cause it to be suppressed if desired). I have a database column Score that can have values from 0.000 to 4.000. To enjoy some sanity for the resulting charts I impose granularity with the #LetterGrade formula:
SELECT {Reporting_CFSD_MT_Scores_A;1.Score}
CASE IS >= 3.5 : "ADV" // Advanced
CASE IS >= 3.1 : "PRO+" // Proficient Plus
CASE IS >= 3.0 : "PRO" // Proficient
CASE IS >= 2.5 : "APP" // Approaching Proficiency
CASE IS >= 2.0 : "BASI" // Basic
DEFAULT : "BLB" // Below Basic
In the Chart Expert >> Data tab, I've got On Change Of #LetterGrade with specified order based on the order in the formula above, and my Show Value is Count of #LetterGrade. The resulting pie chart gives me the break down of grades that I need.
The problem is that I want each of the six pie slices to have a specific color -- from bottom to top: Red, Orange, Yellow, Green, Blue, (Dark) Violet -- rather than accept the default colors. I thought I could go to the Color Highlight tab in the Chart Expert and have six entries (e.g., #LetterGrade = "ADV" sets a custom color of dark violet (and I've tried it with and without the quotes around the string)), but the first pie slice is always blue, the second is always tan, the third is always green, etc., regardless of what value it represents.
Am I misunderstanding the purpose of the Color Highlight tab? Is it not possible to set custom pie slice colors in this version of Crystal Reports (after more hoops than I care to think about I'm finally downloading SP5, but at the rate its coming in I may not have it fully downloaded until tomorrow; God help me if the solution is in one of the six 5.X or 6.X Fix Packs)? Or am I just missing a trick somewhere?
EDIT:
For giggles I changed the sort order on the Data tab from a specified order to ascending order and now the pie slices are exactly the colors I wanted. So it appears that I can either specify the display order of the slices and have to accept the default colors, or I can let it display in an undesirable order and get the colors I want. Sounds like a bug to me, unless someone knows a trick for getting around this.
If I'm not mistaken, in the report editor, preview the report and then click on a pie slice so it is selected. Then right click on that slice and select "Format Pie Sclice". Then you can change the color, pattern, gradient, etc.
Let me know if that works.
Chris
EDIT: If you want to do it conditionally, I think you may need to specify
#LetterGrade => 2.0
which in the editor should be #LetterGrade is greater or equal to 2.0
instead of
#LetterGrade = "BASI"
But you should be getting a choice of values when you create your conditions. I did a quick sample report with a chart that shows me the onhand value of certain items and I was able to "hardcode" the colors using the steps outlined in my original answer and also conditionally by using the Color Highlight wizard and the predefined values.
It turns out that editing the chart in design view doesn't work correctly. In the design view, when I use the Chart Expert I can either specify the order in which the slices are displayed, or I can designate the color for individual slices, but I cannot do both (also, in the Highlight Color tab, the last box in the Item Editor section -- where you choose the value to match -- does not give me a drop-down menu from which to choose, but instead will only let me type in the value to match: thank you #campagnolo_1 for bringing this lack to my attention, which pointed me toward the solution).
If I instead work in the preview view, click on the chart, and pull up the Chart Expert there (and choose Applied to group template), I can both set the sort order and the highlight color.
I'm guessing this is a bug, but since CR2008 isn't supported any more, I'll just have to live with it.
Simple question. But I just can't seem to find the answer.
I've tried setting background patterns and styles to none.
It must be me.
I think I've found it.
You click in the Axis Properties and select Axis Options and then remove the check for Use Interlace Colour
et voilĂ !
I'm assuming you're using 2008 since it's not mentioned - let me know if I need to update this.
Right click on the Axis and make sure Show Major Gridlines is unchecked:
Edit after comment:
Another way you can have bands in charts is through Striplines. Do you have anything set up under this property for your Axis?
Remove any that exist in the Collection.
why when this is little information this sees ok, i am not sure but i believe this work ok with max 8 or 10 axis-information in this case codigos de producto or product code.
this is not the first report which get this bug.
but when this is big information
i dont see the others products code, it show only somes. about 5 or 4 codes,
these are my horizontal option
the answer of #register user works fine
Is your question "how do I get the X-axis to show all product codes regardless of the number of codes?" If so, then explicitly define the Interval = 1 in the Horizontal Axis Properties -> Axis Options -> Interval section. This should force it to show each label every time. You may also want to edit the Horizontal Axis Properties -> Labels and Labels Fonts screens to force rotating the labels, changing the font size, etc., instead of relying on the auto and default options.