Skip to content

About

TeeChart charting graphing plotting library for the R Language

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

TeeChart-for-R

Add Charts and Plots to your R projects

TeeChart for R is a free package that uses the TeeChart library.

The standard version includes most common chart styles:

image

Tested with R 4.6.1

Use R console, RGui or RStudio ide, set your default workspace or folder to this repository on your local machine, and run R:

> library("teechart")

Run a simple example to show a chart:

> source("demos/simple.R")

data <- c(10, 25, 15, 30, 22)
texts <- c("A", "B", "C", "D", "E")

chart <- TeeChart$new(y = data, texts = texts)
chart$show()
image

Infinite cosmetic configuration (fonts, colors, 2D or 3D etc)

data <- mtcars
data$names <- rownames(data)

chart <- TeeChart$new(data = data, x = data$hp, y = data$qsec, texts = data$names)
chart$set_title("Engine Performance")$show()
image

XYZ 3D with optional OpenGL GPU live charts

x <- seq(-3, 3, length.out = 30)
y <- seq(-3, 3, length.out = 30)

xyz <- expand.grid(x = x, y = y)
xyz$z <- sin(sqrt(xyz$x^2 + xyz$y^2))

chart <- TeeChart$new(x = x, y = y, z = xyz$z, commander = TRUE)
chart$set_title("XYZ 3D Surface")$show()
image

Fast OpenGL 3D rotation, zoom

TeeChart_xyz_Surface_OpenGL.mp4

Same demos in R Studio ide:

image

A pro version (not yet available) provides extended support with many more styles and functionality like 3D charts:

image image

About

TeeChart charting graphing plotting library for the R Language

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages