Skip to content

geom_GeomLinerangeBC(), geom_GeomRectCS(), geom_GeomSegmentBC() has yet to be implemented in plotly. #1094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fc1984 opened this issue Aug 2, 2017 · 1 comment

Comments

@fc1984
Copy link

fc1984 commented Aug 2, 2017

Hi,
When I try to run ggplotly() for these 2 charts, rStudio return the message that geom_GeomLinerangeBC(), geom_GeomRectCS(), geom_GeomSegmentBC() has yet to be implemented in plotly.
The rendered chart doesn't have any data.

	require(tidyquant)
	require(quantmod)
	xtsPrices2 <- getSymbols('FBK.MI', src='yahoo',  auto.assign=FALSE)
	xtsPrices2 <- xtsPrices2["2017-07"]
	dfPrices <- data.frame(Date=index(xtsPrices2),coredata(xtsPrices2))
	names(dfPrices)<- c("Date", "Open", "High", "Low", "Close", "Volume", "Adjusted")

	symbol <-'FBK.MI'
	p <- ggplot(data=dfPrices, aes(x=Date, y=Close)) +
		labs(title = symbol, subtitle="", y="Closing Price", x="Date") 
	p <- p+ geom_candlestick(aes(open=Open, high=High, low=Low, close=Close), na.rm = TRUE,
						 color_up = "darkgreen", color_down = "darkred",  fill_up  = "darkgreen", fill_down  = "darkred"
		)
	p1 <- p + geom_barchart(aes(open=Open, high=High, low=Low, close=Close), na.rm = TRUE,
					  color_up = "darkgreen", color_down = "darkred", size = 1) 

	ggplotly(p)	
	ggplotly(p1)
@cpsievert
Copy link
Collaborator

Thanks, added to #566

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants