1 /*global JXG:true, define: true*/ 2 3 define([ 4 'jxg', 'options' 5 ], function (JXG, Options) { 6 7 "use strict"; 8 9 JXG.extend(Options, { 10 11 infobox: { 12 strokeColor: 'black' 13 }, 14 15 axes3d: { 16 axesPosition: 'center', // Possible values: 'center', otherwise: border 17 18 // Main axes 19 xAxis: { visible: true, point2: {name: 'x'}}, 20 yAxis: { visible: true, point2: {name: 'y'}}, 21 zAxis: { visible: true, point2: {name: 'z'}}, 22 23 // Planes 24 xPlaneRear: { visible: true, layer: 0, mesh3d: { layer: 1 } }, 25 yPlaneRear: { visible: true, layer: 0, mesh3d: { layer: 1 } }, 26 zPlaneRear: { visible: true, layer: 0, mesh3d: { layer: 1 } }, 27 28 xPlaneFront: { visible: false, layer: 0, mesh3d: { layer: 1 } }, 29 yPlaneFront: { visible: false, layer: 0, mesh3d: { layer: 1 } }, 30 zPlaneFront: { visible: false, layer: 0, mesh3d: { layer: 1 } }, 31 32 // Axes on the planes 33 xPlaneRearYAxis: {visible: true, strokeColor: '#888888'}, 34 xPlaneRearZAxis: {visible: true, strokeColor: '#888888'}, 35 xPlaneFrontYAxis: {visible: false, strokeColor: '#888888'}, 36 xPlaneFrontZAxis: {visible: false, strokeColor: '#888888'}, 37 38 yPlaneRearXAxis: {visible: true, strokeColor: '#888888'}, 39 yPlaneRearZAxis: {visible: true, strokeColor: '#888888'}, 40 yPlaneFrontXAxis: {visible: false, strokeColor: '#888888'}, 41 yPlaneFrontZAxis: {visible: false, strokeColor: '#888888'}, 42 43 zPlaneRearXAxis: {visible: true, strokeColor: '#888888'}, 44 zPlaneRearYAxis: {visible: true, strokeColor: '#888888'}, 45 zPlaneFrontXAxis: {visible: false, strokeColor: '#888888'}, 46 zPlaneFrontYAxis: {visible: false, strokeColor: '#888888'} 47 48 }, 49 50 axis3d: { 51 highlight: false, 52 strokecolor: 'black', 53 strokeWidth: 1, 54 tabindex: null, 55 56 point1: { visible: false, name: '' }, 57 point2: { visible: false, name: '', label: { visible: true } } 58 }, 59 60 mesh3d: { 61 strokeWidth: 1, 62 strokeColor: '#9a9a9a', 63 strokeOpacity: 0.6, 64 highlight: false, 65 fillColor: '#9a9a9a', 66 fillOpacity: 0.1, 67 tabindex: null, 68 69 visible: 'inherit' 70 }, 71 72 line3d: { 73 strokeWidth: 1, 74 strokeColor: 'black', 75 fixed: true, 76 tabindex: null, 77 78 gradient: 'linear', 79 gradientSecondColor: '#ffffff', 80 81 point1: {visible: false, name: ''}, 82 point2: {visible: false, name: ''} 83 }, 84 85 plane3d: { 86 strokeWidth: 0, 87 strokeColor: 'black', 88 strokeOpacity: 1, 89 highlight: false, 90 tabindex: null, 91 92 gradient: 'linear', 93 gradientSecondColor: '#ffffff', 94 gradientAngle: Math.PI, 95 fillColor: '#a7a7a7', 96 fillOpacity: 0.6 97 }, 98 99 point3d: { 100 strokeWidth: 0, 101 gradient: 'radial', 102 gradientSecondColor: '#555555', 103 fillColor: 'yellow', 104 highlightStrokeColor: '#555555' 105 }, 106 107 surface3d: { 108 highlight: false, 109 tabindex: -1, 110 strokeWidth: 1, 111 stepsU: 30, 112 stepsV: 30 113 }, 114 115 view3d: { 116 needsRegularUpdate: true 117 } 118 119 }); 120 121 return JXG.Options; 122 }); 123 124