เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Customizing the stock display

Let's customize our stock display by specifying a wider plot having an aspect ratio of 2, and let's give it a custom description.

Note that the data frame by_symbol has already been computed and contains the panel column and all the cognostics that we desire for our display.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Visualizing Big Data with Trelliscope in R

ดูคอร์ส

คำแนะนำการฝึกหัด

Create a trelliscope display, p, that has a custom description (desc) of your choosing and has an aspect ratio of 2 with a width of 600 (obtained by appropriately specifying height and width). Specify a name of "ohlc_top500".

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

library(trelliscopejs)

# Create the trelliscope display
p <- ___

# View the display
p
แก้ไขและรันโค้ด