I need to add some nice looking charts to a Crystal Report. I've gotten all the info on the report, sorted the way it should be, but can't get the format looking the way I want through the UI. Here's what I need to do:
Rotate Y-Axis label vertically 45 degrees. I can rotate it vertically 90 degrees, but I can only position it inside the chart.
Display group labels at the top of the chart.
Place a vertical line between each group.
Current Report
Desired Output
Is this type of chart something that can be done programatically or through a 3rd party plugin?
It's not possible out of the box. In my case the reports were created by a ASP .NET web application, so charts for the reports could be pre-generated as image using external software.
Crystal Reports supports a limited set of charts and graphs with presets, so if none of these meet your needs it may not be the right solution.
Related
I have created a simple form to collect 15 inputs. I installed Flipped Table to flip the table from row to column format and created a new view to display the flipped table using rendered entity.
Then I added a chart attachment to the Master Flipped Table page. The main label is Submission ID and the data fields are the 15 categories. The pie chart is not showing at all. I seem to be stuck in bridging the data from the fields to the pie chart. Any direction will be most helpful.
If you're using the Charts module, in this case I would recommend adding a regular attachment, and then setting the display settings to Chart (Chart attachment is really intended as a second series on an existing chart). Also, please be sure to inspect element and look at the console for any JS errors...it's possible your charting library was not installed properly, and that would give you a good indication.
Is it possible to change the default positions of the legend labels around the jasper reports charts? Currently I have a following kind of chart being created:
I would like to move this [hoursNormal, hoursTravel, hoursOvertime]-box from under the chart to the right side of the chart. Another thing I would like to do is to replace this [hoursNormal, hoursTravel, hoursOvertime]-box by label "month". I just don't see any tools for moving these positions in Jasper studio chart creation wizard, and to me also the xml looks like so static that I don't believe tinkering it would help me.
Hopefully I'm wrong and there is a easy solution?
Move the legend to the right and other option of the chart can be find in the Properties View.
Click the chart, to view Properties for the chart. Navigate the different properties tabs to set what you need.
Example
If you need more advanced feature on the chart you need to use a customizer class see this as example: How to put benchmark line on barchart?
I was wondering if there is a way to show multiple charts in one row in Crystal report based on the group you are in . I am putting my chart in a group footer,and the group is based on commodity like water, electricity, etc.
The normal operation is showing the multiple charts for different commodities vertically, is there a way to force the crystal report to show the charts for different commodities in one row horizontally? ( as you could do it in excel)
appreciate anyone's help
If you place in group it will show vertically it is the functionality of crystal report but there is one way but that is a bit complicated and not sugested
Place individual charts for commodites and check the option `Underlay following sections` in section expert for group footer
I don't know if this technique will do but i used it to display record horizontally
Right clicked details area
select section expert
on common tab, check Format with Multiple Columns
A layout tab will added, then click it
Set/change the value of the fields
Good Luck!
I want to have this layout in Crystal Reports:
How can I do this? If it cant be done in CR or SSRS, is there any other alternatives?
I don't believe this can be done with Crystal Reports. I'm not as familiar with SSRS, but after looking through the field options I don't believe it can be done with it either. In general field locations are set static in reporting solutions.
I think this would be best done with html/css or even XSL. I don't know the scope of the issue, but I'd assume that you should be able to output an html or xml file from your application which could be opened with a web browser. For html you should be able to use the align or even float attributes or text-align in css to accomplish this.
I hope this helps.
If you want to have multiple columns of static text in Crystal Reports, then you'd just have to get creative with multiple text boxes, i.e. create 2 text boxes side-by-side and add text to each one until it looks right.
If you want to have 2 columns of data, here's how:
Keep it simple and start with a blank report.
Add your fields of interest to the details section. Resize them so that they only use the first 4 inches of space.
Go into your Section Expert->Details and turn on the Format with Multiple Columns option.
A new tab will appear called Layout. For this example, let's set the Width to 4 inches and leave the Gaps at 0.
Preview your report. If you have enough data in your dataset, it will automatically flood over to the right side of your screen.
It'll take a few minutes of fidgeting with the measurements to get everything looking the way you want. You can even have more than 2 columns if you set the Detail Width small enough.
Also, there is also an option in the Layout menu called "Format Groups with multiple column". It's hard to describe in text, but play with this if you have any grouping levels.
I have a scenario where in I am using fusion chart which has a multiple line chart in one fusion chart. I want to create a clickable line chart where in clicking on label that particular attribute will be displayed in graph. So basically each line chart in graph is dynamically displayed with click of button for each line chart. I hope you get my requirement. Any help will be really appreciated.
I hope I have understood your requirement correctly.
As far as I know, FusionCharts v3.2 has something similar to what you require.
From the documentation,
Interactive legends in charts that allow for selective showing/hiding of data series (or slicing, in case of pie charts)
You can see a demo of this at FusionCharts gallery