Jump to: navigation, search

Nebula/Releases/1.3.0/NaN

Release 1.3.0 New and Noteworthy


Visualization


Turn off focus rectangle on scaled slider figure The scaled slider figure can now have the focus rectangle turned off via the ScaledSliderFigure.setDrawFocus(boolean) API call. The screenshot on the left shows the focus rectangle, on the right it is disabled. Bug 513916


Nebula N&N 1.3 - Drawfocus.png


Custom image data for Color Map Ramp The color map ramp can have custom image data applied with ColorMapRamp.setImageData(ImageData). A new example for the Color Map Ramp has also been contributed in git. Bug 513999


Nebula N&N 1.3 - Custom image data smaller.png


API Changes/Deprecations

The following API changes have been made in Visualization:

  • Some API had a spelling mistake (e.g. setLable instead of setLabel). The existing misspelled API has been deprecated with new methods of the correct name added. Bug 513911

XY Graph


Inverted Axis support A new method was added Axis.setInverted(boolean) that allows ability to invert the axis by switching the minimum and maximum in the axis range. A new checkbox is also on the Axis page of the Configure Graph Setting UI. Bug 513317


Nebula N&N 1.3 - Invert axis smaller.png


Filled Circle Point Style A new point style was provided that allows a filled circle as a point style. The new point style, PointStyle.FILLED_CIRCLE, can be set by calling Trace.setPointStyle(PointStyle) or by editing the trace configuration in the user interface as shown in the screenshot. Bug 513868


Nebula N&N 1.3 - Filled circle point style screenshot.png


Better mouse cursors on dark plots The cursor in XYGraph when zooming can sometimes be near-impossible to see over the current plot. Improved mouse cursors make it easier to see the cursor in these situations. Bug 514117


Nebula N&N 1.3 - improved mouse cursors.png


Show legend button added to toolbar A new button has been added to the toolbar to toggle the Legend. Bug 514124


[[File:Nebula N&N 1.3 - Legend_button_small.png|border]


Disable editing ranges of axes A new constructor has been added to AxisConfigPage that allows the min/max range fields of individual Axis to be enabled. When disabled an information message is displayed below the disabled fields. Bug 514173


Nebula N&N 1.3 - Enable ranges on axis config smaller.png


Axis can be shown/hidden in Configure Graph Setting UI The Axis Configuration Page has a new checkbox to show/hide the individual axis. Bug 514174


Nebula N&N 1.3 - Show axis in config.png


Trace can be shown/hidden in Configure Graph Setting UI The Trace Configuration Page has a new checkbox to show/hide the individual trace. Bug 514178


Nebula N&N 1.3 - Trace config visible checkbox.png


A new tick mark algorithm has been contributed from Diamond Light Source Diamond Light Source contribution includes a new tick mark algorithm (with scientific notation support) and a tick mark generator mechanism that enable the addition of new tick mark algorithms (See API changes). The screenshot shows the default tick marks (top) and the Diamond Light Source one (bottom). Bug 514432


Nebula N&N 1.3 - Axis default and dls.PNG


Ability to pan with the mousewheel button Clicking on the mousewheel / middle button of the mouse enables panning of the plot around the cursor. Bug 516521

API Changes/Deprecations

The following API changes have been made in XY Graph:

  • Diamond Light Source classes for generating axes tick marks have been contributed Bug 514432
    • LinearScale now implements IScaleProvider. A tick mark generator has also been contributed and which can provide alternative tick marks for XYGraph. The existing tick mark generation has been kept (most of the tick mark algorithms that were in LinearScaleTickLabels are now in a class called LinearScaleTicks which implements ITickProvider).
    • The alternative tick mark generator can be found in LinearScaleTicks2 and is used by LinearScaleTickLabels2.
    • GraphDemo shows an example on how to use the Diamond Light Source axis implementation (which uses LinearScaleTicks2) instead of the default one.
  • Some API had a spelling mistake (e.g. setLable instead of setLabel). The existing misspelled API has been deprecated with new methods of the correct name added. Bug 513911

Bugs Fixed in this Release

See 1.3.0 project bugs page or the Bugzilla report Bugs Fixed in Nebula 1.3.0