A Pen by George Pligoropoulos on CodePen.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file has been truncated, but you can view the full 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
{"mSymbolInfo":{"Jumbo":{"mSymbolId":718,"mSymbolName":"Jumbo","mDescription":"Jumbo SA (BABr.AT)","mNoOfDecimals":3,"mSwapLong":-4.44,"mSwapShort":-5.56,"mSwapRollover3Days":3,"mMarginMultipliers":{"mInitialMarketLong":0.2,"mInitialMarketShort":0.2,"mInitialLimitLong":0.0,"mInitialLimitShort":0.0,"mInitialStopLong":0.0,"mInitialStopShort":0.0,"mInitialStopLimitLong":0.0,"mInitialStopLimitShort":0.0,"mMaintenanceMarketLong":0.2,"mMaintenanceMarketShort":0.2,"mMaintenanceLimitLong":0.0,"mMaintenanceLimitShort":0.0,"mMaintenanceStopLong":0.0,"mMaintenanceStopShort":0.0,"mMaintenanceStopLimitLong":0.0,"mMaintenanceStopLimitShort":0.0},"mInitialMargin":0.0,"mMaintenanceMargin":0.0,"mHedgedMargin":10.0,"mExpiryTime":0,"mStartTime":0,"mTradingHours":[{"mFrom":{"mDay":1,"mHour":10,"mMinute":40},"mTo":{"mDay":1,"mHour":16,"mMinute":55}},{"mFrom":{"mDay":2,"mHour":10,"mMinute":40},"mTo":{"mDay":2,"mHour":16,"mMinute":55}},{"mFrom":{"mDay":3,"mHour":10,"mMinute":40},"mTo":{"mDay":3,"mHour":16,"mMinute":55}},{"mFrom":{" |
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
{"mSymbolInfo":{"Jumbo":{"isPublic":false,"mSymbolId":718,"mSymbolName":"Jumbo","mDescription":"Jumbo SA (BABr.AT)","mNoOfDecimals":3,"mSwapLong":-4.44,"mSwapShort":-5.56,"mSwapRollover3Days":3,"mMarginMultipliers":{"mInitialMarketLong":0.2,"mInitialMarketShort":0.2,"mInitialLimitLong":0.0,"mInitialLimitShort":0.0,"mInitialStopLong":0.0,"mInitialStopShort":0.0,"mInitialStopLimitLong":0.0,"mInitialStopLimitShort":0.0,"mMaintenanceMarketLong":0.2,"mMaintenanceMarketShort":0.2,"mMaintenanceLimitLong":0.0,"mMaintenanceLimitShort":0.0,"mMaintenanceStopLong":0.0,"mMaintenanceStopShort":0.0,"mMaintenanceStopLimitLong":0.0,"mMaintenanceStopLimitShort":0.0},"mInitialMargin":0.0,"mMaintenanceMargin":0.0,"mHedgedMargin":10.0,"mExpiryTime":0,"mStartTime":0,"mTradingHours":[{"mFrom":{"mDay":1,"mHour":10,"mMinute":40},"mTo":{"mDay":1,"mHour":16,"mMinute":55}},{"mFrom":{"mDay":2,"mHour":10,"mMinute":40},"mTo":{"mDay":2,"mHour":16,"mMinute":55}},{"mFrom":{"mDay":3,"mHour":10,"mMinute":40},"mTo":{"mDay":3,"mHour":16,"mMinute" |
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
#for naming purposes alone | |
#learn more here: https://stackoverflow.com/questions/19896900/how-to-change-the-name-of-a-gist-in-github |
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
/** | |
* Created by pligor on 5/26/15. | |
*/ | |
///<reference path="./declarations/node.d.ts"/> | |
///<reference path="./declarations/gulp.d.ts"/> | |
var gulp = require("gulp") | |
//var plugins = require('gulp-load-plugins')(); // Load all gulp plugins | |
// automatically and attach |
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
/** | |
* Created by pligor on 4/17/15. | |
*/ | |
/// <reference path="./declarations/greensock.d.ts" /> | |
//declare a variable representing underscore so this typescript file will compile without errors | |
//declare var _: any; | |
declare | |
var ScrollMagic:any; |
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
/** | |
* Created by pligor on 5/2/15. | |
*/ | |
//DO NOT FORGET TO `npm install shelljs` in the same folder (locally) before executing | |
//YOU ALSO NEED TO DOWNLOAD THIS FROM HERE: https://github.com/borisyankov/DefinitelyTyped/tree/master/shelljs | |
///<reference path="shelljs.d.ts"/> | |
//var shelljs = require('shelljs')//require('shelljs/global') //this is only if you do not use the declaration file | |
import shelljs = require('shelljs') |
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
<html> | |
<head> | |
<script src="javascripts/jquery-1.7.1.min.js" type="text/javascript"></script> | |
<script type="text/javascript" src="http://canvg.googlecode.com/svn/trunk/rgbcolor.js"></script> | |
<script type="text/javascript" src="http://canvg.googlecode.com/svn/trunk/canvg.js"></script> | |
<script> | |
function getImgData(chartContainer) { | |
var grandchild = $(chartContainer).children(":first").children(":first"); | |
var chartArea = grandchild[0]; |