mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
@@ -176,6 +176,10 @@ var options = {
|
||||
y:5
|
||||
},
|
||||
shape: 'ellipse',
|
||||
shapeProperties: {
|
||||
borderDashes: false, // only for shapes with a border
|
||||
borderRadius: 6 // only for box shape
|
||||
}
|
||||
size: 25,
|
||||
title: undefined,
|
||||
value: undefined,
|
||||
@@ -619,7 +623,23 @@ mySize = minSize + diff * scale;
|
||||
<td>Array or Boolean</td>
|
||||
<td><code>false</code></td>
|
||||
<td>This property applies to all shapes that have borders.
|
||||
You set the dashes by supplying an Array. Array formart: [dash length, gap length].
|
||||
You set the dashes by supplying an Array. Array formart: [dash length, gap length].
|
||||
You can also use a Boolean, false is disable and true is default [5,15].
|
||||
</td>
|
||||
</tr>
|
||||
<tr parent="shapeProperties" class="hidden">
|
||||
<td class="indent">shapeProperties.borderRadius</td>
|
||||
<td>Number</td>
|
||||
<td><code>6</code></td>
|
||||
<td>This property is used only for the <code>box</code> shape. It allows you to determine the roundness of the corners of the shape.
|
||||
</td>
|
||||
</tr>
|
||||
<tr parent="shapeProperties" class="hidden">
|
||||
<td class="indent">shapeProperties.useImageSize</td>
|
||||
<td>Boolean</td>
|
||||
<td><code>false</code></td>
|
||||
<td>This property only applies to the <code>image</code> and <code>circularImage</code> shapes. When false, the size option is used, when true, the size of the image is used. <br><i><b>Important</b>:
|
||||
if this is set to true, the image cannot be scaled with the value option!</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user