History

GSF.Web: Added an upside down triangle to the flot symbols package.

Billy Ernest committed 7 years ago

Commit 241a4bd1 parent 80ac4751 file · +1 −1Browse files

Unified · Split

Source/Libraries/GSF.Web/Shared/Scripts/flot/jquery.flot.symbol.min.js+1−1
@@ -1 +1 @@
1(function(o){function n(o,n,t){var a={square:function(o,t,i,a,s){var n=a*Math.sqrt(Math.PI)/2;o.rect(t-n,i-n,n+n,n+n)},diamond:function(o,n,t,a,s){var i=a*Math.sqrt(Math.PI/2);o.moveTo(n-i,t);o.lineTo(n,t-i);o.lineTo(n+i,t);o.lineTo(n,t+i);o.lineTo(n-i,t)},triangle:function(o,n,t,i,a){var s=i*Math.sqrt(2*Math.PI/Math.sin(Math.PI/3)),e=s*Math.sin(Math.PI/3);o.moveTo(n-s/2,t+e/2);o.lineTo(n+s/2,t+e/2);if(!a){o.lineTo(n,t-e/2);o.lineTo(n-s/2,t+e/2)}},cross:function(o,n,t,a,s){var i=a*Math.sqrt(Math.PI)/2;o.moveTo(n-i,t-i);o.lineTo(n+i,t+i);o.moveTo(n-i,t+i);o.lineTo(n+i,t-i)}};var i=n.points.symbol;if(a[i])n.points.symbol=a[i]};function t(o){o.hooks.processDatapoints.push(n)};o.plot.plugins.push({init:t,name:'symbols',version:'1.0'})})(jQuery);1(function (o) { function n(o, n, t) { var a = { square: function (o, t, i, a, s) { var n = a * Math.sqrt(Math.PI) / 2; o.rect(t - n, i - n, n + n, n + n) }, diamond: function (o, n, t, a, s) { var i = a * Math.sqrt(Math.PI / 2); o.moveTo(n - i, t); o.lineTo(n, t - i); o.lineTo(n + i, t); o.lineTo(n, t + i); o.lineTo(n - i, t) }, upsideDownTriangle: function (o, n, t, i, a) { var s = i * Math.sqrt(2 * Math.PI / Math.sin(Math.PI / 3)), e = s * Math.sin(Math.PI / 3); o.moveTo(n - s / 2, t - e / 2); o.lineTo(n + s / 2, t - e / 2); if (!a) { o.lineTo(n, t + e / 2); o.lineTo(n - s / 2, t - e / 2) } }, triangle: function (o, n, t, i, a) { var s = i * Math.sqrt(2 * Math.PI / Math.sin(Math.PI / 3)), e = s * Math.sin(Math.PI / 3); o.moveTo(n - s / 2, t + e / 2); o.lineTo(n + s / 2, t + e / 2); if (!a) { o.lineTo(n, t - e / 2); o.lineTo(n - s / 2, t + e / 2) } }, cross: function (o, n, t, a, s) { var i = a * Math.sqrt(Math.PI) / 2; o.moveTo(n - i, t - i); o.lineTo(n + i, t + i); o.moveTo(n - i, t + i); o.lineTo(n + i, t - i) } }; var i = n.points.symbol; if (a[i]) n.points.symbol = a[i] }; function t(o) { o.hooks.processDatapoints.push(n) }; o.plot.plugins.push({ init: t, name: 'symbols', version: '1.0' }) })(jQuery);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t