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

Declarative UI region based plots - spec & builder #212

Merged
merged 1 commit into from
Nov 23, 2018

Conversation

jlisee
Copy link
Contributor

@jlisee jlisee commented Nov 20, 2018

This allows you to plot regions in an X, Y space, with defined upper
and lower Y bounds over a provided range of X values. These are
helpful when reasoning about particular complex optimization problems.

These are created by specifying the 3 XVIZ variable streams that
define the x coordinates, y minimum, and y maximum. These streams can
have multiple objects as long as the same objects exist on all
streams.

Styling is done by applying styles to the x variable stream objects.


| **Name** | **Type** | **Description** |
| -------- | ----------- | ---------------------------------------------------------------------------------- |
| `x` | `stream_id` | The X axis values of the regions. Style's on this stream apply to the full region. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might worth mentioning the type of the stream that is expected here?

obj.independentVariable = this._independentVariable;
obj.dependentVariables = this._dependentVariables;
} else {
obj.regions = this._regions;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to not support line plots and area plots at the same time?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was just an oversight I will fix it up.

This allows you to plot regions in an X, Y space, with defined upper
and lower Y bounds over a provided range of X values.  These are
helpful when reasoning about particular complex optimization problems.

These are created by specifying the 3 XVIZ variable streams that
define the x coordinates, y minimum, and y maximum.  These streams can
have multiple objects as long as the same objects exist on all
streams.

Styling is done by applying styles to the `x` variable stream objects.
@jlisee jlisee changed the base branch from master to docs November 21, 2018 19:39
@jlisee jlisee changed the base branch from docs to master November 21, 2018 19:39
@jlisee jlisee merged commit a32742b into master Nov 23, 2018
@jlisee jlisee deleted the jlisee/plot-region-updates branch November 23, 2018 19:17
twojtasz pushed a commit that referenced this pull request Jan 22, 2019
This allows you to plot regions in an X, Y space, with defined upper
and lower Y bounds over a provided range of X values.  These are
helpful when reasoning about particular complex optimization problems.

These are created by specifying the 3 XVIZ variable streams that
define the x coordinates, y minimum, and y maximum.  These streams can
have multiple objects as long as the same objects exist on all
streams.

Styling is done by applying styles to the `x` variable stream objects.
twojtasz pushed a commit that referenced this pull request Jan 22, 2019
This allows you to plot regions in an X, Y space, with defined upper
and lower Y bounds over a provided range of X values.  These are
helpful when reasoning about particular complex optimization problems.

These are created by specifying the 3 XVIZ variable streams that
define the x coordinates, y minimum, and y maximum.  These streams can
have multiple objects as long as the same objects exist on all
streams.

Styling is done by applying styles to the `x` variable stream objects.
@KevinYuk
Copy link

ng styl

Hi @jlisee ,

Could you please give a sample code for Region mode plot you describe here?

Thanks a lot.

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

Successfully merging this pull request may close these issues.

3 participants