This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setColClass(e) { | |
var t, a = e.find(".col-sm-4").length, | |
i = e.find(".col-sm-4").last().index(); | |
if (3 !== a) { | |
if (a > 3) | |
for (; a > 3;) a -= 3; | |
for (t = 12 / a; a;) --a, e.find($("[class*='col-sm-']")).eq(i - a).removeClass("col-sm-4").addClass("col-sm-" + t) | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
<script src="https://cdn.anychart.com/js/7.14.3/anychart-bundle.min.js"></script> | |
<script src="https://cdn.anychart.com/js/7.14.3/data-adapter.min.js"></script> | |
<link rel="stylesheet" href="https://cdn.anychart.com/css/7.14.3/anychart-ui.min.css" /> | |
<style> | |
html, body, #container { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date | Open Price | High Price | Low Price | Close Price | Turnover | |
---|---|---|---|---|---|---|
2015-10-01 | 1354.5 | 1375 | 1352 | 1363.1 | 198099089.7 | |
2015-10-05 | 1372.2 | 1378 | 1362.1 | 1369.7 | 242138483.8 | |
2015-10-06 | 1377 | 1380 | 1343 | 1350.4 | 388755644.2 | |
2015-10-07 | 1353.5 | 1357 | 1329.2 | 1352.25 | 335672221.4 | |
2015-10-08 | 1354 | 1361.5 | 1345 | 1356.2 | 279707161.3 | |
2015-10-09 | 1363.2 | 1384.8 | 1342 | 1347.35 | 271566246.3 | |
2015-10-12 | 1350 | 1359.95 | 1340.6 | 1344.35 | 282407292.3 | |
2015-10-13 | 1344.35 | 1358 | 1343 | 1352.2 | 304851856.5 | |
2015-10-14 | 1352 | 1378 | 1351.9 | 1376.25 | 320439915.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width,initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title>Technical Indicators</title> | |
<!-- Normalize CSS --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setColClass(e) { | |
var t, a = e.find(".col-sm-4").length, | |
i = e.find(".col-sm-4").last().index(); | |
if (3 !== a) { | |
if (a > 3) | |
for (; a > 3;) a -= 3; | |
for (t = 12 / a; a;)--a, e.find($("[class*='col-sm-']")).eq(i - a).removeClass("col-sm-4").addClass("col-sm-" + t) | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FunnelChartActivity extends AppCompatActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_chart_common); | |
AnyChartView anyChartView = findViewById(R.id.any_chart_view); | |
Funnel funnel = AnyChart.funnel(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Route.extend({ | |
// chart instance | |
chart: undefined, | |
model: function() { | |
let self = this; | |
// load data from file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createProcessor(strings, ...args) { | |
return function(...symbols){ | |
return args.map(i => `${strings[i]}${symbols[i] || ' '}`).join(''); | |
}; | |
} | |
const processor = createProcessor`this${0}is${1}fucking${2}awesome${3}`; | |
console.log(processor(' q ', ' w ', ' e ', ' r ')); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createProcessor(strings, ...args) { | |
return function (...symbols) { | |
let str = ''; | |
for (let i = 0; i < args.length; i++) { | |
str += `${strings[i]}`; | |
if (symbols[i] || symbols[i] === 0) | |
str += `${symbols[i]}`; | |
} | |
return str; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AnyChartView anyChartView = findViewById(R.id.any_chart_view); | |
Cartesian cartesian = AnyChart.bar(); //Anychart Bar returns the Cartesian Object | |
cartesian.animation(true); | |
cartesian.title("Persönliche Auswertung - Motivationprofil"); | |
cartesian.padding(10d, 20d, 5d, 20d); | |
cartesian.yScale().stackMode(ScaleStackMode.VALUE); | |
cartesian.yAxis(0).labels().format( | |
"function() {return Math.abs(this.value);}"); | |
cartesian.xAxis(1) | |
.enabled(true) |
OlderNewer