Code Monkey home page Code Monkey logo

Comments (8)

edelarua avatar edelarua commented on June 24, 2024 1

I have opened a PR for this in tern: insightsengineering/tern#1244

from chevron.

w316liu avatar w316liu commented on June 24, 2024

One more improvement for numeric x-aix: allow ticks and ticks labels.

from chevron.

barnett11 avatar barnett11 commented on June 24, 2024

I thought we had continuous x-axis from this request below?
#360

from chevron.

w316liu avatar w316liu commented on June 24, 2024

@barnett11 you're right, after updating citril/chevron to the latest version, I can get the numeric x-axis. However, the ticks and tick labels still cannot be cusomized

from chevron.

clarkliming avatar clarkliming commented on June 24, 2024

ah ok, my bad; this is the variable name conversion, not the x value conversion

from chevron.

BFalquet avatar BFalquet commented on June 24, 2024

I think we need an update in tern::g_lineplot to be able to pass the tick labels while keeping the table. What do you think @edelarua ?

from chevron.

edelarua avatar edelarua commented on June 24, 2024

Currently the user can add these customizations in themselves using scale_x_continuous(), but we should be able to add this in to g_lineplot as well, similarly to the xticks argument to g_km.

from chevron.

BFalquet avatar BFalquet commented on June 24, 2024

I am closing this issue because changes in tern now allow this customization in chevron without further changes needed, e.g.

run(mng01, syn_data, dataset = "adlb", x_var = c("AVISITN"), xticks = c("a" = -3, "b" = 0, "c" = 3), xlim = c(-2, 8))

observedresults
image

from chevron.

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.