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

Dimension wildcard for <Line> #69

Open
borismarin opened this issue Jun 26, 2015 · 0 comments
Open

Dimension wildcard for <Line> #69

borismarin opened this issue Jun 26, 2015 · 0 comments

Comments

@borismarin
Copy link
Contributor

In

<ComponentType name="Line">
        <Parameter name="scale" dimension="*"/>
         <Parameter name="timeScale" dimension="*"/>
        <Path name="quantity"/>
        <Text name="color"/>
        <Simulation>
            <Record quantity="quantity" timeScale="timeScale" scale="scale" color="color"/>
        </Simulation>
    </ComponentType>

we should say that scale takes the dimension of <Path name='quantity'>, whereas timescale should point to the "magic" universal time (magic in the sense that it has "special" behaviour in e.g. TimeDerivatives).

Ideally, we should be able to use any other variable in the "x-axis", so the same reasoning as above applies. And I guess that the scaling factors should be made adimensional, and all dimensinality delegated to the timeseries being plotted.

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

No branches or pull requests

1 participant