Comments (6)
OMG
I tested and tested some hacks like:
data <- data_frame(
y = c(1,2,3,4,5,4,5),
marker = list(symbol = "square")
)
data$marker[[3]] <- list(symbol = 'url(https://www.highcharts.com/samples/graphics/sun.png)')
ds <- list.parse2(data)
ds
hc <- highchart()
hc <- hc_title(hc, text = "A nice chart")
hc_add_series(hc, data = ds)
Which works, so its nice, but then I change the c
by list
and it WORKS 😌
hc <- highchart()
hc <- hc_title(hc, text = "A nice chart")
hc <- hc_add_series(hc, data = list(7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2,list(y= 26.5, marker=list(symbol='url(https://www.highcharts.com/samples/graphics/sun.png)'))))
hc
from highcharter.
Thanks, actually I think the hc_add_series_flags might be more useful.
There seems to be a bug with using OHLC bars and the placement of the flag:
x <- getSymbols("AAPL", auto.assign = FALSE);
dates <- as.Date(c("2007-01-08", "2007-01-10"),format = "%Y-%m-%d")
highchart() %>%
hc_add_series_ohlc(x, id = "AAPL")%>%
hc_add_series_flags(dates,title = c("E1", "E2"), id = "AAPL")
Also, I imagine the dates parameter of hc_add_series_flags will not allow it work with an intraday OHLC xts object
from highcharter.
This example works for you? http://jsfiddle.net/KDP87/14/
from highcharter.
That would be cool.
Click response would also be cool but I imagine that would require crosstalk :)
from highcharter.
What do you mean? Have you an example?
from highcharter.
Sorry, I was referencing the crosstalk work rstudio is working on. Thats outside the scope of this issue on hc_add_series_flags
from highcharter.
Related Issues (20)
- Drilldown breadcrumbs
- Installation issues witth the package highcharter HOT 4
- Timezone adjustment via time object, using hchart()
- deprecated function unite_()
- Upgarde to HighchartsJS 11.2.0 HOT 1
- Output valid JSON only
- hc_exporting converts plot to dark mode HOT 2
- Docker build fail HOT 2
- Different scales for different variables in polar charts HOT 1
- Highcharter under r-shinylive HOT 1
- hcaes_string() doesn't work due to conflicts with other packages HOT 1
- Pie chart onPoint option not working as expected on hcmap/Feature request: update highcharts
- Create wordcloud output like wordcloud2 output style
- Add title to `hw_grid`
- Feature: enable color sea / oceans option - hc_add_series
- in Maps, the dashed borders have a scaling issue when zooming in and which only disappears if you hover your mouse over the lines.
- `unite_()` was deprecated in tidyr 1.2.0.
- Error when publishing to connect
- Add border radius features HOT 2
- Highcharter Correlation Matrix - can't move the x axis labels from top to bottom of chart.
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 highcharter.