on 07-11-2016 9:40 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Elias,
For some reason I can't download your report. Try adding it again.
The new GDIPlus API Ido mentioned is this.
I created a drop downlist box and then I set the viewer to the one selected:
LstInterpolationMode.Enabled = false;
Array CRinterpolationMode = Enum.GetValues(typeof(System.Drawing.Drawing2D.InterpolationMode));
foreach (object obj in CRinterpolationMode)
{
//CRInterpolMode.GetTypeCode(CRinterpolationMode);
LstInterpolationMode.Items.Add(obj);
}
LstInterpolationMode.SelectedItem = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor;
Under the View report button I added this line:
crystalReportViewer1.InterpolationMode = (System.Drawing.Drawing2D.InterpolationMode)LstInterpolationMode.SelectedIndex;
The default should be NearestNeighbor, try setting it in code and see if they resolves the fuzzy chart.
The problem is we now take advantage of the GDIPlus resolution modes but the Charting dll is 3rd party and we have not kept it up to date so it can't take advantage of the new functionality.
By default DEV should have left it at NearestNeighbor so not sure why it would affect your report.
I'll do some testing when I get a chance...
Don
Hi Don,
I've tried to set CrystalReportViewer1.InterpolationMode to NearestNeighbor but it seems that InterpolationMode it is not a member of CrystalReportViewer class.
New files attached.
I couldn't upload the rpt file again but you can find it on http://www.filedropper.com/chartpie
Hi Elias,
I don't see it, actually it looks clearer on my Windows 10 and IE 11 image.
Firefox is about the same, I don't have any other browsers installed.
Definitely not a pixilated as what you pasted into the post.
May have something to do with your Monitor, DPI settings etc.
CR is hardware and software reliant.
Have you tried installing the latest Video Card drivers?
Don
Hi Don,
As I mentioned before this happened right away after I installed SP17 on my development machine and nothing else has been changed, so it was showing with no issues on SP15.
Currently If I'm viewing (by my development machine/screen) the report file through our production server which is still on SP15, the chart image is showing with no issues. but if I'm viewing the same report file from my development machine which is has SP17 the issue is there.
Attached screen shots and you will see the difference clearly on legend side.
Thanks.
Don,
I think you are focusing on the pie only!!! the pie itself doesn't look blurry very much but please look at the legend side and you will notice that it is.
The following http://www.filedropper.com/chartpie_1 is a report with a legend part contains text not numbers, please open it on your browser with CRViewer and when you compare it with the one from SP15 you will see the difference.
And remember, I got this issue after I've upgraded my dev. machine to SP17 and I have other dev. machines with same windows as mine but with CR SP15 showing the charts fine and clear (specially the legend), so I don't think it's something related to windows.
Thanks.
I know you are concerned with the pie edges, I'm just stating they do look better.
The legend is too small to begin with, it does not look very clear in CR Designer either.
Something is off in this report, if I simply edit the chart the legends becomes bigger and much clearer.
Actually it's because the Legend Title font size is set to 4, change it to 6 and then it's readable in both CRD and the WEB viewer
See if that works for you.
Don
Hi Elias,
Great, why it changed is unknown. R&D said they did nothing to the .NET WEB form Viewer. Possibly changes to the Browser Engine maybe... I also asked them if anything other than some alignment fixes in SP 17 where implemented, waiting for the update.
Unfortunately there are no API's to get into that 3rd party Charting dll, 3D Automation used to have a SDK package that would work in CR SDK's but we have not kept it up to date so it's no longer available from them.
Only option is to adjust the Legend font size manually.
Don
I saw the same issue but only when setting the new interpolationmode property to HighQualityBicubic.
Is that your situation too, or are you seeing the chart degradation without touching that property?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Elias,
Please share your Crystal Report with saved data in it.
Also is the report viewed in the CR Viewer or you are exporting it to PDF.
Regards,
Vinit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
11 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.