Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subValues #12

Open
danieloostra opened this issue Mar 18, 2013 · 2 comments
Open

subValues #12

danieloostra opened this issue Mar 18, 2013 · 2 comments

Comments

@danieloostra
Copy link

Moritz,

Great product, I love it. Question though: how do I implement the subValues and what do they do? I've tried playing with it a number of ways, this is what I have there now.

I'm working with the example code...

Any advice please.

Thank you!

--dano

I'm trying to do something like this:

... contentitems....


<title>Monthly Aerosol Optical Depth</title> Atmosphere Aerosols MISR N/A 2000

...facets...

        <facetValue>
            <label>Atmosphere</label>
            <name>atmosphere</name>

            <subValues>
            <label>Aerosols</label>
            <name>aerosols</name>
            </subValues>

            <subValues>
            <label>Air Quality</label>
            <name>airquality</name>
            </subValues>

            <subValues>
            <label>Atmospheric Pressure</label>
            <name>atmosphericpressure</name>
            </subValues>

            <subValues>
            <label>Atmospheric Temperature</label>
            <name>atmospherictemperature</name>
            </subValues>

            <subValues>
            <label>Atmospheric Water Vapor</label>
            <name>atmosphericwatervapor</name>
            </subValues>

            <subValues>
            <label>Clouds</label>
            <name>clouds</name>
            </subValues>

            <subValues>
            <label>Precipitation</label>
            <name>precipitation</name>
            </subValues>
        </facetValue>
@MoritzStefaner
Copy link
Owner

Hi, I have to answer from memory, but I think that worked only for hierarchical facets. So you could have a geo facet, and "Spain" would be a subvalue of the "Europe" facet. Does that make sense?

@danieloostra
Copy link
Author

Thanks, I'll play around with it some more and see how I can implement it. So, to add on to my last question, I'd also like to do some color tabs and things the way you've done it in the "5 years of inforgraphics". Would you make that code available for me to look at as well?

Thanks again for your great work.

dano

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants