Moodle configuable reports bar graph not displaying - moodle

When I am selected bar graph in reports it showing this image.
I have made a lot of changes but no joy.
The pie and line graphs are working properly only bar graph is not working and am using Moodle configurable reports.

check that you have php-gd module installed.
turn debug mode and see errors on screen and on log files.

Related

Poor Birt Chart Font Resolution

I'm using Birt 4.5.2 to render some charts for a few reports. When I run the reports locally on my Mac, the fonts in the charts look very nice and render exactly as I expect -- Axes scales, bar chart data points, labels, etc. -- all clear and crisp resolution. However, when I run the report on an AWS Linux instance, all fonts in the generated chart image render extremely poorly. All have the look of a dot-matrix printer -- stair-steppy, no character smoothing.
The generated chart is an SVG and I'm using fonts that are installed on the Linux instance, and I've tried a few different things -- reportContext.getAppContext().put("CHART_RESOLUTION", 300 ); e.g. -- nothing seems to help.
Switching fonts in the chart does not seem to help -- the font changes slightly, but the resolution is still equally bad.
Does anybody know a fix?
Really simple fix after all -- the Report Design ImageDPI property needs to be set to 300. Select the .rptdesign file in the Outline panel. Select the Properties window panel - if it isn't already open, navigate to Window->Show View->Properties.
In the list of properties is an ImageDPI property. Double-click the value and set to 300.
Or, if you want to just edit the raw XML, choose that and search for the <ImageDPI> tag and modify it right there.
Lastly, just make sure that all the fonts you're using in your chart are installed on the AWS instance.

ndepend - no dependency graph/metrics after analysis

I can't get any form of interactive graph in VisualNDepend. There is only a black screen.
I'm using Visual NDepend v1.9.
I created a project, selected my sln and clicked on Run Analysis and Report. I was presented with several graphs in html but they were low-res. Nex to the graphs were this note:
It is recommended to use the NDepend interactive dependency Graph and interactive Dependency Matrix for an in-depth exploration of the actual architecture of your code.
I opened VisualNDepend and checked the Dependency Graph and Dependency Matrix tabs which were empty. I went back to dashboard tab and clicked Run Analysis on Current Project but the tabs still displayed nothing. At the bottom right there is a red circle which when clicked, shows analysis complete x mins ago.
How do I display any form of graphs with ndepend? I tried on several slns.
Thanks
My bad.
After going through every menu item, I found that I had to explicitly click on graph->view dependency graph and matrix->view dependency matrix to actually see the stuff.

AEM 6.1 switching between preview and edit mode without refresh

Is it possible to update the view on AEM between Edit and Preview Mode without having to refresh?
Maybe we are targetting the issue from the wrong angle but basically we need to modify the way components are being displayed on Edit Mode vs Preview Mode. Currently if we use a test statement to check what WCMMODE we are looking at we need to refresh the page in order for the right content to display.
I have the feeling that I have seen this being implemented in GeoMetrixx but I am not able to find an example.

How to combine multiple series types(bar and line) in a chart using Crystal Report

I've tried to use two series type in my chart but I don't know how, it's my first time using Crystal Report so i don't know if it's possible. I've seen some questions here in stackoverflow but they are saying i need to right click in my chart ->'Chart Options' -> 'Axis' but when i click there are just 3 options.
Template
General
Titles
I don't know if my version is updated and this action does not exist.
I believe i dont need to put any code here but if i need just tell me ok?
Thanks in advanced!
Not sure if you want to show some of the data as lines and some of the data as bars, if that is the case, follow these steps:
go to Preview mode for the report in the designer
right click on the bar that you wish to change to a line and choose Series Options
in the Show Selected Series As dialogue, choose Line
If you want to show all data as lines AND bars, then you should take a look at this.
Hope that helps,
Chris
EDIT:
Here is a screenshot of a report I quickly put together. I have 3 axis and 2 are bar and one is line. Unfortunately one axis has no data. I used the steps from above and it works just fine.
EDIT 2:
Here are screenshots of the process:
Insert the chart
Select a bar of the chart
Choose the display type
One axis now showing as a line
That's the best I can do for you.
EDIT 2:
After a lengthy email exchange, it turned out that he is trying to do this in Crystal Reports for Visual Studio. Unfortunately you can't do it in VS, at least up to version 2010. I suggested a workaround (link) in hopes that he can achieve his goal. Maybe an inquiry to SAP will shed some more light on this.

Crystal Reports 2008 - Sections are collapsed and I can't expand

Background
I have a Crystal Reports 2008 file that came my way from a former employee's files; I'm tasked with making some changes.
Problem
When I open the report, I am told that the "default printer is not available".
Then all of the fields are collapsed in the main report.
I can fix this by going into page settings and manually setting the page size to 8.5x11, etc.
However, subreports still appear "collapsed" and changing page settings does not make them visible again.
Screenshot
This is how the subreport looks when it is opened.
Attempted Fixes
Manually dragging the sections to expand them. This produces no results as it appears they are collapsed too far to select any of the sections to pull down.
Page setup in Crystal Reports -- works on the main page, but does not work for sub-reports.
Looking for Crystal bugs on the internet. I believe this to be a bug, but I haven't been able to find a source that confirms it.
Notes
I know there is data in the subreports, and mousing over the subreport will randomly highlight orange boxes around fields I can't see (the tooltip will then display the name of the data element for a split second)
This looks as though all of the sections within the report are suppressed or hidden, and you don't have the Show Hidden Sections option enabled.
I suggest enabling the Show Hidden Sections option - in older versions of Crystal this can be done by selecting Options... from the File menu, then checking the Show Hidden Sections checkbox in the Design view section of the Layout tab in the Options dialog.
Clicking OK after checking this option should result in all suppressed/hidden sections becoming visible.