Giter Site home page Giter Site logo

Preferences about krona HOT 10 OPEN

marbl avatar marbl commented on September 28, 2024
Preferences

from krona.

Comments (10)

ondovb avatar ondovb commented on September 28, 2024

Hi Lee- I think the closest thing available is adding GET variables to the URL, e.g.:
http://marbl.github.io/Krona/examples/phymmbl.krona.html?font=15

If that works for you, the best way to see what's available is just using the "link" button in a chart. There is no chart size variable, unfortunately.

from krona.

lskatz avatar lskatz commented on September 28, 2024

Thanks Brian! It's something I can do short term. If I can figure it out (big if), would you accept a pull request for cookies or command line parameters?

from krona.

ondovb avatar ondovb commented on September 28, 2024

Definitely! The code is not well documented but I can try to walk you through anything that doesn't make sense.

from krona.

khyox avatar khyox commented on September 28, 2024

Hi! I think it would be very nice to have those preferences (or any other) also available through the Krona XML specification. Maybe I can help with that part. I am currently working in a python interface to Krona by the 2.0 XML specification so I would see very interesting to have all the new functionality available this way. So, Brian, if you find this also useful, I would be glad to contribute!

from krona.

ondovb avatar ondovb commented on September 28, 2024

Sure, anything through the command line would pretty much have to alter the XML spec. It should stay backwards compatible as long as we're just adding things though.

from krona.

lskatz avatar lskatz commented on September 28, 2024

I defer to @khyox if he or she knows how to code this! Or was your offer for only the documentation?

from krona.

ondovb avatar ondovb commented on September 28, 2024

I can answer any questions about the code or architecture as needed. @khyox do you want to propose the xml changes here, and if it works for @lskatz move forward with a PR?

from krona.

khyox avatar khyox commented on September 28, 2024

@ondovb, @lskatz, all right, so I understand that the XML spec should be changed as a prerequisite for including those options in the command line, is that right? In that case, yes, I think we had better clarify here the xml changes that include those options (and maybe some other) and then try to go ahead with a PR.

from krona.

lskatz avatar lskatz commented on September 28, 2024

That can work. From what I can tell it might be easiest to work through ktImportText since I mostly want to embed the defaults into the file. All I can tell so far is that I would want to mess with writeTree()

from krona.

ondovb avatar ondovb commented on September 28, 2024

That's right. More specifically, dataHeader(), called from writeTree(). You can see there is already a collapse option that functions more or less how we want, but is not exposed to the command line.

from krona.

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.