mirror of
https://github.com/nasa/openmct.git
synced 2025-06-23 01:18:57 +00:00
[Plots] Allow user to change marker style (#3135)
* lineWidth is not supported in modern browsers * allow marker shape selection in plot inspector add shapes for canvas2d - point, cross, star * change line style to line method in anticipation of adding true line style attribute * add canvas2d circle marker shape * allow point shapes for webGL plots add circle shape * refactor for clarity * refactor shape to shape code * add missing semi-colon * helper function for marker options display in inspector refactor for clarity * access correct file * add diamond marker shape * add triangle shape to canvas * add webgl draw triangle marker shape * refactor fragment shader for clarity
This commit is contained in:
@ -44,7 +44,7 @@
|
||||
</li>
|
||||
<li class="grid-row">
|
||||
<div class="grid-cell label"
|
||||
title="The line rendering style for this series.">Line Style</div>
|
||||
title="The rendering method to join lines for this series.">Line Method</div>
|
||||
<div class="grid-cell value">{{ {
|
||||
'none': 'None',
|
||||
'linear': 'Linear interpolation',
|
||||
@ -56,7 +56,7 @@
|
||||
<div class="grid-cell label"
|
||||
title="Whether markers are displayed, and their size.">Markers</div>
|
||||
<div class="grid-cell value">
|
||||
{{series.get('markers') ? "Enabled: " + series.get('markerSize') + "px" : "Disabled"}}
|
||||
{{ series.markerOptionsDisplayText() }}
|
||||
</div>
|
||||
</li>
|
||||
<li class="grid-row">
|
||||
|
Reference in New Issue
Block a user