Giter Site home page Giter Site logo

Comments (7)

happyshows avatar happyshows commented on August 15, 2024

Also, maybe the 'open/close/low/high' can be changed to other names?

from ramcharts.

ElenaDatak avatar ElenaDatak commented on August 15, 2024

Hi,

The column "category" could be a character, it works. For example :

data("data_candleStick1")
data_test <- data_candleStick1
data_test$category <- LETTERS[1:13]
amCandlestick(data_test)

To try this please go to the amFunctions branch.

from ramcharts.

happyshows avatar happyshows commented on August 15, 2024

@ElenaDatak The category part works great, can candlestick function to be more flexible to accept names other than 'open/close/low/high'? For example, I want to change it to beginning on hand, ending on hand, low , high. I'm trying to create a visualization to tackle inventory problem.

thanks.

from ramcharts.

ElenaDatak avatar ElenaDatak commented on August 15, 2024

If you want to display different names in the tooltip, you can do it thanks to the 'names' argument.

For example :

data("data_candleStick1")
amCandlestick(data = data_candleStick1, names = c("min", "begin", "end", "max"))

from ramcharts.

ElenaDatak avatar ElenaDatak commented on August 15, 2024

You will find data_candleStick1.rda in the data directory

from ramcharts.

happyshows avatar happyshows commented on August 15, 2024

very cool, will this feature be pulled in to the master branch soon?

from ramcharts.

happyshows avatar happyshows commented on August 15, 2024

@ElenaDatak can you make sure all amFunctions will accept tbl_df as input data class?

from ramcharts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.