score:1
Changing "Highcharts"
to "highcharts"
inside showOutput()
fixes it for me (using rCharts version 0.4.5):
require(rCharts)
require(shiny)
runApp(list(
ui = pageWithSidebar(
headerPanel("rCharts: Highcharts"),
sidebarPanel(selectInput(
inputId = "x",
label = "Choose X",
choices = c('SepalLength', 'SepalWidth', 'PetalLength', 'PetalWidth'),
selected = "SepalLength"
)),
mainPanel(showOutput("myChart", "highcharts"))
),
server = function(input, output){
output$myChart <- renderChart2({
h1 <- Highcharts$new()
h1$chart(type = "spline")
h1$series(data = c(1, 3, 2, 4, 5), dashStyle = "longdash")
h1$series(data = c(NA, 4, 1, 3, 4), dashStyle = "shortdot")
h1$legend(symbolWidth = 80)
return(h1)
})
}
))
Source: stackoverflow.com
Related Query
- rCharts highlight charts in shiny not working
- HighStock Charts not Working over SSL ie https
- JavaScript code inside TypeScript file .ts not working
- High Charts not working
- c# WPF Webbrowser with Highchart, Javascript from external source not working "An error has occurred in the script on this page"
- High charts draggable not working for log scale
- Rcharts hplot (Highcharts) colors attribute not working
- High charts (Time Series Zoomable) not working with my data
- rCharts and highcharts with shiny plot does not update correctly
- render a dynamic number of highcharts charts is not working
- highcharts zooming over line charts not working properly
- Highchart jquery charts not working SetAttribute is not a function
- minPointLength is not working for horizontal Trellis bar charts in Highcharts
- High Charts Stacked column with drilldown not working properly
- Highcharts - tickInterval not working for bar/column charts
- Dateformat not working for stacked column charts
- HighCharts Stacked Charts xAxis with json not working
- Tree Map in high charts fourth level is not working
- Dynamically changing Highcharts Theme through Jquery code not working
- Rcharts Shiny : not reload all variables after just one variable update
- Highcharts yAxis max not working
- Highcharts Error #16: charts not showing on the same page
- Highcharts does not resize charts inside tabs
- rCharts with Highcharts as shiny application
- Drill Down (Highcharts) not working in Angular 5
- Resize highcharts using react-grid-layout not working
- React-highcharts scrollbar feature not working
- Angular HighCharts ParlimentChart is not working
- Why ReactHighcharts SolidGauge's rounded is not working in react
- Highchart is not working on Google chrome
More Query from same tag
- Highcharts losing smooth zoom effect
- Using Highmaps with React
- Highcharts funnel graph constructor
- White lines between heatmap cells when zooming in (browser zoom)
- how do I edit/customize tooltip
- Group records in Rails for a chart?
- Highcharts: Heatmap using CSV
- Vue encountering problem when importing highcharts-more
- Highcharts not displaying series data for graph with multiple Y-axes
- How to disable the on-hover color change in Highcharts?
- Adding color to the max value in a dynamically generated chart?
- Chart is recreated using the old data
- How to fix Highchart Sparkline tooltip not showing
- How to visualize a set of identical flows?
- Custom buttons on Highstock not enabled
- Missing series name as label in highcharts heatmaps
- highcharts draw datetime a week earlier
- top yAxis overlaps the bottom one
- How can I change granularity in highcharts?
- Highcharts are not redraw
- JSQuery.load Highchart
- Highcharts Export Service Gantt Chart not working
- Binding empty array to chart
- Highmap not displaying map with angular-highcharts in Angular5
- Highcharts shared tooltip(for line series) - Change on hover ACCORDING TO PLOTBAND
- Spline line is very curved, how to smooth it?
- Using different list for names of each point in highcharts in javascripts
- Higchart to set hidden value
- Highcharts Categories Bug?
- Highcharts - Column Chart: Compare corresponding values to change color