Opened 11 years ago

Closed 11 years ago

#584 closed enhancement (fixed)

Support legend output in PDF QuickPlot

Reported by: jng Owned by: jng
Priority: P2 Milestone: Future
Component: Widgets Version: 2.0
Severity: Major Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New

Description

The PDF QuickPlot should support the ability for a legend to be included as well.

Attachments (2)

DPI96.pdf (150.5 KB ) - added by steveg 11 years ago.
DPI300.pdf (261.6 KB ) - added by steveg 11 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by jng, 11 years ago

Resolution: fixed
Status: newclosed

Fixed r2748, r2749, r2750, r2751

by steveg, 11 years ago

Attachment: DPI96.pdf added

by steveg, 11 years ago

Attachment: DPI300.pdf added

comment:2 by steveg, 11 years ago

Resolution: fixed
Status: closedreopened

In the 2.6 Fusion preview the legend option was added to the QuickPlot widget, but there are some problems when you change the DPI of the plot. As you increase the DPI, the size of the legend decreases. I've attached two quickplot PDFs as examples.

Perhaps on line 253 of (PlotAsPDF.php) is where some of the problem exists:

function PxToIn($px, $dpi) {
        return ($px * 25.4) / $dpi;

Also, in Maestro, I've noticed under the Widget Management, when the DefaultDPI is set, the user is not given the option to change the DPI, but if DefaultDPI is blank then the user can choose the options. I think it would be more appropriate to provide a default DPI to the user, but also give the user the option to change it.

comment:3 by jng, 11 years ago

Resolution: fixed
Status: reopenedclosed

Fixed r2798

Note: See TracTickets for help on using tickets.