# NOT RUN {
if (interactive()) {
library(shiny)
library(gentelellaShiny)
shinyApp(
ui = gentelellaPageCustom(
gentelellaBody(
box(
title = "pieChart",
"If you've decided to go in development mode and
tweak all of this a bit, there are few things
you should do.",
pieChart(id = "chart1", value = 10),
pieChart(
id = "chart2",
value = 20,
barColor = "#0000FF",
trackColor = "#FFA500",
scaleColor = "#dfe0e0",
scaleLength = 10,
lineCap = "square",
lineWidth = 6,
rotate = 180
)
)
)
),
server = function(input, output, session) {}
)
}
# }
Run the code above in your browser using DataLab