Coder Social home page Coder Social logo

Comments (6)

mcmonkey4eva avatar mcmonkey4eva commented on August 17, 2024

Added, under grid:

    # Optionally, also specify default choices for the webpage.
    show descriptions: true
    autoscale: false
    sticky: false
    x axis: sampler
    y axis: steps
    x super axis: 'None'
    y super axis: 'None'

from sd-infinity-grid-generator-script.

Feanix-Fyre avatar Feanix-Fyre commented on August 17, 2024

Can this be added to the example config files and/or the README.md? I just spent a good few days looking for the exact syntax required.

from sd-infinity-grid-generator-script.

mcmonkey4eva avatar mcmonkey4eva commented on August 17, 2024

it is in the readme, under https://github.com/mcmonkeyprojects/sd-infinity-grid-generator-script#1-grid-definition-file

It can optionally define show descriptions, autoscale, and sticky as true or false to change default web-viewer settings.
It can optionally define x axis, y axis, x super axis, and y super axis as axis IDs to change the default web-viewer axes.

As well as set within short_example.yml

from sd-infinity-grid-generator-script.

Feanix-Fyre avatar Feanix-Fyre commented on August 17, 2024

I haven't yet been able to get it to work but I'm going to assume I'm doing something wrong, as opposed to something being wrong with the advice. I've just been editing the data.js output file to make the html look the way I want it each time cause that was easiest for me.

from sd-infinity-grid-generator-script.

mcmonkey4eva avatar mcmonkey4eva commented on August 17, 2024

If you can't get it working, post a yml file you tried?

from sd-infinity-grid-generator-script.

Feanix-Fyre avatar Feanix-Fyre commented on August 17, 2024

It's been a while so it'll be difficult to find one. I had tried both the megagrid.yml format and the short_example.yml format. I followed the formats exactly. I copy pasted what you had suggested below directly under grid and changed the values of x axis/y axis/x super axis/ y super axis to, for example, Sampler or sampler (or another category as shown in megagrid.yml. I tried both upper-case and lower-case. It wouldn't adjust the default axes when I loaded the webpage.

I'm providing this information in case it affects anybody else. I have made alterations to my procedure and methods in order to achieve my goals, so I don't need your attention on the matter. That being said, I am grateful for your attention and responses.

Added, under grid:

    # Optionally, also specify default choices for the webpage.
    show descriptions: true
    autoscale: false
    sticky: false
    x axis: sampler
    y axis: steps
    x super axis: 'None'
    y super axis: 'None'

from sd-infinity-grid-generator-script.

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.