-
Notifications
You must be signed in to change notification settings - Fork 981
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When a chart is exported as a PNG file, instead of applying the selec…
…ted View properties for the current chart, the application reloads the definitions found on gcviewer.properties. This small fix corrects this behaviour, capturing the current view configurations for the chart (E.g. if a specific GC line is visible or not) while exporting a PNG file.
- Loading branch information
Showing
4 changed files
with
34 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
* @author <a href="mailto:[email protected]">Hendrik Schreiber</a> | ||
*/ | ||
public class DataWriterFactory { | ||
public static final String GC_PREFERENCES = "gcPreferences"; | ||
|
||
/** | ||
* Standard factory method to retrieve one of the <code>DataWriter</code> implementations. | ||
|
@@ -53,7 +54,7 @@ public static DataWriter getDataWriter(File file, DataWriterType type, Map<Strin | |
case CSV_TS : return new CSVTSDataWriter(outputStream); | ||
case SIMPLE : return new SimpleGcWriter(outputStream); | ||
case SUMMARY : return new SummaryDataWriter(outputStream, configuration); | ||
case PNG : return new PNGDataWriter(outputStream); | ||
case PNG : return new PNGDataWriter(outputStream, configuration); | ||
default : throw new IOException(LocalisationHelper.getString("datawriterfactory_instantiation_failed") + " " + file); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters