4 Commits

Author SHA1 Message Date
Timothy Wojtaszek
a8cfc2bc29
Change specification enumerations to ALLCAPS (#477)
Follow the convention that constant enumerated values should be in ALLCAPS. This is a spec change for XVIZ, but retains compatibility with lowercase by forcing a case conversion at the appropriate places within the modules.

Spec change locations:
declarative ui properties
- component type
- layout
- interactions

xviz message
- type
  - xviz/start
    - session_type
    - message_format
    - log
  - xviz/metadata
    - stream metadata
      - category
      - scalar type, for time_series & variables
      - primitive type, for time_series & variables 
      - annotation_type, for annotations
    - stream style
      - text_anchor
      - text_baseline
  - xviz/state_update
    - update_type
  - xviz/reconfigure
    - update_type
2019-06-07 18:42:09 -04:00
Joseph Lisee
dec02fd972 Declarative UI region based plots - spec & builder (#212)
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.
2018-11-23 14:17:27 -05:00
Joseph Lisee
67dda3fb81 Uniformly name Plot's property "dependentVariables" (#210)
The declarative UI plot component has a single "independentVariable" and
multiple "dependentVariables".  In many places we forgot the "s".
That is not fixed with both the spec and the builder updated and tested.
2018-11-20 15:49:45 -05:00
Joseph Lisee
8c8bda5fcd Declarative UI schema (#158)
This lets us validate declarative UI content before it gets sent to
the front end.  Right now we are just going with camel case to match
the existing builders.

Declarative UI itself lets you generate panels from your XVIZ data
with no custom code.
2018-10-22 16:46:07 -04:00