All Projects → Karasiq → scalajs-highcharts

Karasiq / scalajs-highcharts

Licence: MIT license
Scala.js static typed facades for Highcharts library

Programming Languages

scala
5932 projects

Projects that are alternatives of or similar to scalajs-highcharts

React Jsx Highcharts
Highcharts built with proper React components
Stars: ✭ 336 (+1020%)
Mutual labels:  charts, highcharts, graphs
Livechart
Android library to draw beautiful and rich line charts.
Stars: ✭ 78 (+160%)
Mutual labels:  charts, graphs
Vscode Vega Viewer
VSCode extension for Interactive Preview of Vega & Vega-Lite maps 🗺️ & graphs 📈
Stars: ✭ 75 (+150%)
Mutual labels:  charts, graphs
Anychart Android
AnyChart Android Chart is an amazing data visualization library for easily creating interactive charts in Android apps. It runs on API 19+ (Android 4.4) and features dozens of built-in chart types.
Stars: ✭ 1,762 (+5773.33%)
Mutual labels:  charts, charting
echarty
Minimal R/Shiny Interface to ECharts.js
Stars: ✭ 49 (+63.33%)
Mutual labels:  charts, graphs
Daru View
daru-view is for easy and interactive plotting in web application & IRuby notebook. daru-view is a plugin gem to the existing daru gem.
Stars: ✭ 65 (+116.67%)
Mutual labels:  charts, graphs
Apexcharts.js
📊 Interactive JavaScript Charts built on SVG
Stars: ✭ 10,991 (+36536.67%)
Mutual labels:  charts, graphs
React Native Pathjs Charts
Android and iOS charts based on react-native-svg and paths-js
Stars: ✭ 877 (+2823.33%)
Mutual labels:  charts, graphs
Life Calendar
A look at the big picture.
Stars: ✭ 139 (+363.33%)
Mutual labels:  charts, graphs
Highcharts Ng
AngularJS directive for Highcharts
Stars: ✭ 1,741 (+5703.33%)
Mutual labels:  charts, highcharts
Matplotplusplus
Matplot++: A C++ Graphics Library for Data Visualization 📊🗾
Stars: ✭ 2,433 (+8010%)
Mutual labels:  charts, graphs
Unity Ugui Xcharts
A charting and data visualization library for Unity. 一款基于UGUI的数据可视化图表插件。
Stars: ✭ 1,086 (+3520%)
Mutual labels:  charts, charting
React Google Sheet To Chart
📊 React component that renders Google Sheets as attractive charts with minimum effort
Stars: ✭ 45 (+50%)
Mutual labels:  charts, charting
React Fusioncharts Component
ReactJS component for FusionCharts JavaScript Charting library.
Stars: ✭ 73 (+143.33%)
Mutual labels:  charts, graphs
Ggnet
GG.Net Data Visualization
Stars: ✭ 45 (+50%)
Mutual labels:  charts, charting
Schoolerp
SchoolERP Project is School ERP System which has various features as students management,accounts management,attendance management,faculty management,HR management,other expenses management
Stars: ✭ 95 (+216.67%)
Mutual labels:  charts, graphs
Squid
A Ruby library to plot charts in PDF files
Stars: ✭ 205 (+583.33%)
Mutual labels:  charts, graphs
Vue Apexcharts
📊 Vue.js component for ApexCharts
Stars: ✭ 889 (+2863.33%)
Mutual labels:  charts, graphs
Amcharts4
The most advanced amCharts charting library for JavaScript and TypeScript apps.
Stars: ✭ 907 (+2923.33%)
Mutual labels:  charts, charting
Dxr
DXR is a Unity package for rapid prototyping of immersive data visualizations in augmented, mixed, and virtual reality (AR, MR, VR) or XR for short.
Stars: ✭ 134 (+346.67%)
Mutual labels:  charts, graphs

scalajs-highcharts Build Status Scala.js Maven Central Scaladoc

Scala.JS static typed facades for Highcharts library

Links

How to use

Add dependency to your build.sbt

libraryDependencies += "com.github.karasiq" %%% "scalajs-highcharts" % "1.2.1"

Include the JavaScript files in the <head> section of your web page as shown below

<script src="http://code.highcharts.com/highcharts.js"></script>

Basic example

import scalajs.js, js.UndefOr
import org.scalajs.jquery.jQuery
import com.highcharts.HighchartsUtils._
import com.highcharts.HighchartsAliases._
import com.highcharts.config._

jQuery("#container").highcharts(new HighchartsConfig {
  // Chart config
  override val chart: Cfg[Chart] = Chart(`type` = "bar")

  // Chart title
  override val title: Cfg[Title] = Title(text = "Demo bar chart")

  // X Axis settings
  override val xAxis: CfgArray[XAxis] = js.Array(XAxis(categories = js.Array("Apples", "Bananas", "Oranges")))

  // Y Axis settings
  override val yAxis: CfgArray[YAxis] = js.Array(YAxis(title = YAxisTitle(text = "Fruit eaten")))

  // Series
  override val series: SeriesCfg = js.Array[AnySeries](
    SeriesBar(name = "Jane", data = js.Array[Double](1, 0, 4)),
    SeriesBar(name = "John", data = js.Array[Double](5, 7, 3))
  )
})

Full example

License

The MIT License (MIT)

Copyright (c) 2016 Karasiq

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].