Skip to content

ggplotly does not support negative values #874

Closed
@mubashirqasim

Description

@mubashirqasim

Hi there,

I have just found that ggplotly take absolution of values before plotting. In other words it seems it does not support negative values.

p <- ggplot(dft, aes(x=id, y=value, fill=value)) + geom_bar(stat="identity") +
geom_abline(intercept = x, slope = 0, color = "blue", size = .3) +
geom_text(aes(15,x,label = "Avg. value", vjust = -1))

plot(p)
ggplotly(p)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions