1.0.1 • Published 10 years ago

iguanachart v1.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
10 years ago

iguanaChart

IguanaCharts is HTML5 jQuery Stock Charts library

You can download our open source library and setup powerful stock chart just in minutes.

Demo and docs

http://iguanacharts.com/

Examples

<div class="iChart" style="height: 550px; width: 1000px"></div>

<script type="text/javascript">
    iChartDataSource.host = "https://beta.tradernet.ru";

    $('.iChart').iguanaChart(
        {
            ticker: "AAPL.US",
            date_from: "01.01.2015",
            date_to: "01.01.2016",
            lib_path: "/scripts/iguanachart/",
            chartOptions: {
                minHeight: 500,
                uiTools: {top: true}
            },
            dataSource: $.extend(true, {}, iChartDataSource)
        }
    );
</script>

Installation

Download from

https://github.com/iguanaChart/iguanacharts/archive/master.zip

Or

git clone https://github.com/iguanaChart/iguanacharts.git

    <link rel="stylesheet" href="/iguanachart/iguanachart.min.css" media="all">
    <script type="text/javascript" src="/iguanachart/iguanachart.min.js"></script>

Dependencies

You can download all needed dependence from https://github.com/iguanaChart/dependencies/archive/master.zip

####Including dependencies example

    <script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.min.js"></script>

    <link rel="stylesheet" href="/scripts/uikit/css/uikit.min.css" media="all">
    <script type="text/javascript" src="/scripts/uikit/js/uikit.min.js"></script>

    <script type="text/javascript" src="/scripts/jquery.event.move.js"></script>
    <script type="text/javascript" src="/scripts/jquery.mousewheel.min.js"></script>
    <script type="text/javascript" src="/scripts/hammer.min.js"></script>
    <script type="text/javascript" src="/scripts/jquery.hammer.js"></script>
    <script type="text/javascript" src="/scripts/jsrender.min.js"></script>

    <link rel="stylesheet" href="/scripts/jquery.qtip.min.css" media="all">
    <script type="text/javascript" src="/scripts/jquery.qtip.min.js"></script>

    <link rel="stylesheet" href="/scripts/jquery-minicolors/jquery.minicolors.css" media="all">
    <script type="text/javascript" src="/scripts/jquery-minicolors/jquery.minicolors.min.js"></script>

require config

        require.config({
            paths: {
                jquery: 'https://code.jquery.com/jquery-1.12.4.min',
                uikit: '/dependencies/uikit/js/uikit.min',
                'jquery.eventmove': '/dependencies/jquery.event.move',
                'jquery.hammer': '/dependencies/jquery.hammer',
                'jsrender': "/dependencies/jsrender.min",
                'jquery.minicolors': '/dependencies/jquery-minicolors/jquery.minicolors.min',
                'iguanachart': '/dist/iguanachart',
                'hammerjs': '/dependencies/hammer.min'
            },
            shim: {
                'uikit': {
                    deps: [
                        'jquery'
                    ]
                },
                jsrender: {
                    deps: [
                        'jquery'
                    ]
                },
                iguanachart: {
                    deps: [
                        'jquery',
                        'uikit',
                        'jquery.eventmove',
                        'jquery.hammer',
                        'jsrender',
                        'jquery.minicolors'
                    ]
                }
            }
        })

License

License