Comments (8)
Themable Options
- boottheme bootstrap theme to use
- highlighter highlighter to use (prettify, highlightjs)
- hitheme highlighter theme to use
from rcharts.
Other Elements
- data_file
- README
- title
- subtitle
- footer
from rcharts.
I can achieve this using Slidify (the complicated route), or by passing a different template file. The change is easy to make here in the render method. I would like to avoid having too many different templates.
render = function(chartId = NULL, cdn = F){
if (!is.null(chartId)) params$dom <<- chartId else chartId <- params$dom
template = read_template('rChart.html')
html = render_template(template, list(
params = params,
assets = get_assets(lib, cdn),
chartId = chartId,
script = .self$html(chartId))
)
}
from rcharts.
I would side with a few controlled templates for some consistency. I think you as lead get to chose. I would like for all users to channel their design, layout, and creativity into the final rendered chart.
from rcharts.
Another candidate for an example page. The key is the layout. I think the chart has to be at the center of it all, with the code coming second. A README can be in the sidebar. I need to find some inspiring examples from visualization gurus to make a wise choice. The good thing is that any of these layouts are really easy to code up, given bootstrap.
from rcharts.
Here is a small tweak to the layout. I want to add the following to the mix
- Data Source
- Attribution
- Title
- Subtitle
- Links
It is easy to do, but the challenge is to do it in a way that keeps things simple. There are multiple ways to achieve this:
- R file with metadata in comments (YAML)
- Rmd file
- R file and string arguments to the function
The question is which would be easy from a user workflow point of view and lead to ease of use.
from rcharts.
Here is a more enhanced version
from rcharts.
Features to Add
- Disqus Comments
- Social Sharing
from rcharts.
Related Issues (20)
- Domain expiry of rcharts.io HOT 2
- Installation failed:comand failed(1) on windows 10
- Is there a way for me to modify the size of the circle in nvd3's interactive layer? HOT 1
- rCharts no longer works in a shiny application while using highcharter also
- dyLegend showZeroValues is broken HOT 1
- Remove legend from rChart
- nPlot prints text instead of graph
- Handling Cyclic or Circular data
- Why does it keep trying to install a new version of 'yaml'?? HOT 2
- rCharts dormant? HOT 2
- Hide all series EXCEPT selected series from legend HOT 1
- x axis wih Date variable shown in numbers rather than "Y-m-d" format
- rPlot no compatible with R 4.0 ?
- rCharts: Error in UseMethod("rPlot") : HOT 2
- Can't use rPlot for anything.
- Can't install packages(rCharts) for mac OS X 11.1 R4.0
- exporting function does not work anymore
- nPyramid function
- rCharts::Highcharts radar plot only renders legends in shiny
- r stock type r
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rcharts.