Code Monkey home page Code Monkey logo

echarts's Introduction

UNMAINTAINED

version AppVeyor Build Status Travis-CI Build Status

echarts

sticker

R htmlwidget for Baidu's ECharts 2.2.7

Check out echarts for ECharts version 4: echarts4r

Installation

You can install echarts from github with:

# install.packages("devtools")
devtools::install_github("JohnCoene/echarts")

Features

  1. bar charts
  2. line charts
  3. area charts
  4. pie & donut charts
  5. heatmaps
  6. chord diagrams
  7. venn diagrams
  8. gauges
  9. force networks
  10. word-clouds
  11. maps
  12. candlestick charts
  13. themes
  14. responsive
  15. animations
  16. data loading effects
  17. tons of options

echarts's People

Contributors

johncoene avatar jpcoene avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

echarts's Issues

Error with e*_ functions

Hi,
Very nice htmlwidget ! Great package !

Functions with an underscore, doesn't seem to work :

library("echarts")
df <- data.frame(x = 1:50, y = runif(50, 5, 10), z = runif(50, 7, 12), w = runif(50, 10, 13))
df %>%
  echart_("x") %>%
  eline_("y", stack = "grp") %>%
  eline_("z", stack = "grp", symbol = "emptyDroplet", showAllSymbol = TRUE, symbolSize = 5) %>%
  eline_("w", showAllSymbol = TRUE, symbolSize = 4, symbol = "emptyHeart", stack = "grp2") %>%
  etooltip() %>%
  elegend() %>%
  etoolbox_magic(type = list("line", "bar"))

Gives following error :

Error in yaml.load(readLines(con), error.label = error.label, ...) : 
  argument "error.label" is missing, with no default

Same for :

df <- data.frame(x = LETTERS[1:10], y = runif(10, 30, 70), z = runif(10, 10, 50))
df %>%
  echart_("x") %>%
  earea_("y", smooth = FALSE, symbol = "emptyRectangle", symbolSize = 5)

No issues with their counterpart without underscore.

Thanks !

Victor

auto resize of charts

When I create a chart in Rstudio window or Shiny app there is no option for the charts to automatically resize to fit my window.

For example if I launch my app on browser when I make my browser full screen or smaller the chart doesnt seem to resize automatically

I even tried the following in ui
tags$head(tags$style( type = 'text/css', '#plot{ overflow-x: scroll; }')),
echartsOutput('plot')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.