Socket
Socket
Sign inDemoInstall

anychart-jquery

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

3

bower.json

@@ -43,4 +43,5 @@ {

"test",
"tests"
"tests",
"yarn.lock"
]
}
{
"name": "anychart-jquery",
"version": "1.0.1",
"version": "1.0.2",
"description": "JQuery plugin for AnyChart JavaScript charting library",

@@ -41,3 +41,7 @@ "main": "./dist/anychart-jquery.min.js",

"VML"
]
],
"devDependencies": {
"anychart": "^7.14.0",
"jquery": "^3.2.1"
}
}
[<img src="https://cdn.anychart.com/images/logo-transparent-segoe.png?2" width="234px" alt="AnyChart - Robust JavaScript/HTML5 Chart library for any project">](http://www.anychart.com)
jQuery plugin for AnyChart.
jQuery Plugin for AnyChart.
=========

@@ -13,2 +13,3 @@

* [Examples Overview](#examples-overview)
* [API Overview](#api-overview)
* [Contacts](#contacts)

@@ -28,3 +29,3 @@ * [Links](#links)

You can install AnyChart-React using **npm**, **bower** or **yarn**:
You can install AnyChart-jQuery using **npm**, **bower** or **yarn**:

@@ -42,3 +43,3 @@ * `npm install anychart-jquery`

<head>
<!-- Add jQuery -->
<!-- Add jQuery -->
<script src="js/vendor/jquery-3.1.1.min.js"></script>

@@ -53,3 +54,3 @@ <!-- Add anychart-bundle -->

<script>
// Render column chart to #container
// Render a column chart to a #container
$('#container').anychart('column', [3, 1, 2]);

@@ -63,3 +64,3 @@ </script>

#### `$(selector).anychart();`
Returns instance of a chart if it was rendered to continer, `null` otherwise.
Returns an instance of a chart if it is rendered to a container. Returns `null` otherwise.

@@ -73,3 +74,3 @@ ```

#### `$(selector).anychartStage();`
Returns instance of a stage if it was rendered to container, `null` otherwise.
Returns an instance of a stage if it was rendered to a container. Returns `null` otherwise.

@@ -85,20 +86,20 @@ ```

#### `$(selector).anychart(type, var_args);`
Renders `type` chart to container.
Renders `type` chart to a container.
`type` can be either any of AnyChart chart types or `stock`, `ganttProject`, `ganttResource`.
`type` can be any of AnyChart chart types or `stock`, `ganttProject`, `ganttResource`.
`var_args` are data that will be passed to a chart constructor.
`var_args` are data that is passed to the chart constructor.
```
// create line chart with 2 series
// create a line chart with 2 series
$(selector).anychart('line', [3, 1, 2], [5, 4, 3]);
```
Other use cases you can find in [`examples`](https://github.com/AnyChart/AnyChart-jQuery/tree/master/examples) folder
Other use cases you can find in [AnyChart jQuery examples](https://github.com/AnyChart/AnyChart-jQuery/tree/master/examples) folder
#### `$(selector).anychart(type, geoData, var_args);`
Renders map chart to container.
Renders a map to a container.
`type` can be one of `bubbleMap`, `choropleth`, `connector`, `markerMap`, `seatMap`
`type` can be: `bubbleMap`, `choropleth`, `connector`, `markerMap`, `seatMap`
`geoData` can be string or Object with geo data.
`geoData` can be a string or an object with geo data.

@@ -108,3 +109,3 @@ `var_args` are chart data.

```
// create choroplet map with australia geodata.
// create a choropleth series on the australia map
$(selector).anychart('choropleth', 'anychart.maps.australia', data);

@@ -116,3 +117,3 @@ ```

`var_args` are charts that will be rendered to stage.
`var_args` are charts to be rendered to on a stage.

@@ -122,3 +123,3 @@ ```

// ....
// Render it to stage.
// Render them to a stage.
$(selector).anychartStage(chart1, chart2, chart3);

@@ -130,11 +131,11 @@ ```

## Examples Overview
See these examples to learn how things work:
See examples to learn how things work:
* **[async_data_load.html](https://github.com/anychart/anychart-jquery/blob/master/examples/async_data_load.html)**: Example of async data load.
* **[choropleth_map.html](https://github.com/anychart/anychart-jquery/blob/master/examples/choropleth_map.html)**: Example of choropleth map.
* **[gantt.html](https://github.com/anychart/anychart-jquery/blob/master/examples/gantt.html)**: Example of gantt chart.
* **[multiple_charts.html](https://github.com/anychart/anychart-jquery/blob/master/examples/multiple_charts.html)**: Example of working with multiple charts.
* **[async_data_load.html](https://github.com/anychart/anychart-jquery/blob/master/examples/async_data_load.html)**: Async data loading.
* **[choropleth_map.html](https://github.com/anychart/anychart-jquery/blob/master/examples/choropleth_map.html)**: Choropleth (colored) map.
* **[gantt.html](https://github.com/anychart/anychart-jquery/blob/master/examples/gantt.html)**: A gantt chart.
* **[multiple_charts.html](https://github.com/anychart/anychart-jquery/blob/master/examples/multiple_charts.html)**: Handling multiple charts.
* **[simple_chart_update.html](https://github.com/anychart/anychart-jquery/blob/master/examples/simple_chart_update.html)**: Simple chart which can be updated (switch type, change background).
* **[simple_dashboard.html](https://github.com/anychart/anychart-jquery/blob/master/examples/simple_dashboard.html)**: Example of simple dashboard.
* **[stock.html](https://github.com/anychart/anychart-jquery/blob/master/examples/stock.html)**: Example of stock chart.
* **[simple_dashboard.html](https://github.com/anychart/anychart-jquery/blob/master/examples/simple_dashboard.html)**: A simple dashboard.
* **[stock.html](https://github.com/anychart/anychart-jquery/blob/master/examples/stock.html)**: A stock chart.

@@ -156,3 +157,3 @@

* [AnyChart Support](http://www.anychart.com/support/)
* [Report Issues](http://github.com/AnyChart/anychart/issues)
* [Report Issues](https://github.com/AnyChart/AnyChart-jQuery/issues)
* [AnyChart Playground](http://playground.anychart.com)

@@ -166,2 +167,2 @@ * [AnyChart Documentation](http://docs.anychart.com)

[© AnyChart.com - JavaScript charts](http://www.anychart.com). Released under the [Apache 2.0 License](https://github.com/anychart-integrations/ruby-sinatra-mysql-template/blob/master/LICENSE).
[© AnyChart.com - JavaScript charts](http://www.anychart.com). AnyChart jQuery plugin is released under the [Apache 2.0 License](https://github.com/AnyChart/AnyChart-jQuery/blob/master/LICENSE).

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc