Opened 6 years ago

Closed 6 years ago

#1611 closed enhancement (done)

Allow better configuration of charts for use in publications

Reported by: abeham Owned by: abeham
Priority: medium Milestone: HeuristicLab 3.3.6
Component: Visualization.ChartControlsExtensions Version: 3.3.6
Keywords: Cc:

Description (last modified by ascheibe)

The VisualProperties are nice as they allow you to save the visual state, however for every chart you have to implement these anew. I would like to do a few things to every EnhancedChart before using it in a publication:

  • Change the text of the axis descriptions and title.
  • Change the font size of axis labels, scales and title as they're illegible in a print.
  • Define the size of the image in centimeters.
  • Define the resolution of the image in DPI.
  • Allow to change the font size of legend items.
  • Disable the chart area combo box when there's only one chart area
  • Allow to specify axis labels

I don't mind not being able to save this if this is quick to configure.

Change History (18)

comment:1 Changed 6 years ago by abeham

  • Status changed from new to accepted

comment:2 Changed 6 years ago by abeham

  • Description modified (diff)

r6640

  • committed first version of a slightly more advanced export dialog

comment:3 Changed 6 years ago by abeham

r6641

  • allow to specify font size of legend items
  • cleaned up code a little (dpi/dpcm, cm/inch)
  • added detection for region settings to select either cm or inch
  • improved preview view (now doesn't scale images beyond 100%)

comment:4 Changed 6 years ago by abeham

  • Description modified (diff)
  • Owner changed from abeham to mkommend
  • Status changed from accepted to reviewing

comment:5 Changed 6 years ago by abeham

r6644

  • removed unnecessary folder
  • fixed chart serialization

now it should be ready for review

comment:6 Changed 6 years ago by mkommend

The export dialog is really a convenient feature. I have not reviewed the implementation yet, but I came across one missing detail. The tick marks as well as the axis label interval should also be configurable, as the scaling is rarely optimal (e.g., 0.9999999 instead of 1.0 as axis label).

comment:7 Changed 6 years ago by abeham

  • Description modified (diff)

comment:8 Changed 6 years ago by ascheibe

  • Owner changed from mkommend to ascheibe

comment:9 Changed 6 years ago by ascheibe

  • Owner changed from ascheibe to abeham
  • Status changed from reviewing to assigned

Reviewing comments:

  • As discussed before there should be boundaries for the size of the image. When trying to save an image with a size of 100x100 cm @ 600 dpi an exception is thrown. When setting the size to 90x100 cm @ 600 dpi, no exception is thrown and the file save dialog is shown but this takes a lot of time and needs a lot of memory. So as discussed before, I think something around 30 cm should be reasonable as boundary?
  • The dialog can be maximized by double-clicking the window bar. I think this should be disabled because the gui controls don't resize accordingly.

comment:10 Changed 6 years ago by abeham

r7216

  • added warning and added label to show image size
  • fixed controls resizing

comment:11 Changed 6 years ago by ascheibe

  • Owner changed from abeham to ascheibe
  • Status changed from assigned to reviewing

comment:12 Changed 6 years ago by ascheibe

  • Owner changed from ascheibe to abeham
  • Status changed from reviewing to readytorelease

Works perfect, thanks!

comment:13 Changed 6 years ago by ascheibe

  • Owner changed from abeham to ascheibe
  • Status changed from readytorelease to assigned

comment:14 Changed 6 years ago by ascheibe

  • Description modified (diff)
  • Owner changed from ascheibe to abeham
  • Status changed from assigned to reviewing

r7221

  • switched VisualPropertiesDialog to non-resizeable
  • corrected space between textboxes and made them also anchor to the right
  • the name of the chart can now be changed

comment:15 Changed 6 years ago by ascheibe

r7224 readded code which got lost in commit r7223

comment:16 Changed 6 years ago by abeham

  • Owner changed from abeham to ascheibe

Thanks!

I fixed a backwards compatibility issue in r7229. Please have a look and set it to release.

comment:17 Changed 6 years ago by ascheibe

  • Owner changed from ascheibe to abeham
  • Status changed from reviewing to readytorelease

comment:18 Changed 6 years ago by swagner

  • Resolution set to done
  • Status changed from readytorelease to closed
  • Version changed from 3.3.5 to 3.3.6
Note: See TracTickets for help on using tickets.