Skip to content

Commit 6f248d2

Browse files
somiajpstaabp
authored andcommitted
Add arrow_size and adjust default colors.
* Add option to configure the arrow head size when using start_mark or end_mark equal to "arrow". * Update default color definitions to be less stark. Used the W3 schools red, yellow, blue color wheel for the color definitions of the six primary colors. In addition remove background color (this should always be white) and nearwhite colors, these are hold overs from WWPlot. * Disable dragging elements in the JSXGraph board by default (labels were draggable). * Set useMathJax to true for JSXGraph labels.
1 parent 7012e58 commit 6f248d2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/Plots/JSXGraph.pm

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ sub HTML {
4848
$self->{JS}
4949
$self->{JSend}
5050
board.unsuspendUpdate();
51-
// This is a workaround for an issue when the magnified graph is drawn in the imageview dialog.
52-
// In that case something is messing up the bounding box, so it needs to be reset.
53-
board.setBoundingBox(board.attr.boundingbox, board.keepaspectratio, 'keep');
5451
return board;
5552
}
5653

0 commit comments

Comments
 (0)