You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [VisBuilder] Add Capability to generate dynamic vega
In this PR, we add the capability for Visbuilder to generate dynamic Vega and Vega-Lite
specifications based on user settings and aggregation configurations.
* developed functions buildVegaSpecViaVega and buildVegaSpecViaVegaLite
that can create either Vega or Vega-Lite specifications depending on the complexity
of the visualization.
* added VegaSpec and VegaLiteSpec interfaces to provide better type checking
* broken down the specification building into smaller, reusable components
(like buildEncoding, buildMark, buildLegend, buildTooltip) to make the code
more maintainable and easier to extend.
* added flattenDataHandler to prepare and transform data for use in Vega visualizations
Issue Resolveopensearch-project#7067
Signed-off-by: Anan Zhuang <ananzh@amazon.com>
* fix PR comments
* update file and functions names
* fix type errors
* fix area chart
Signed-off-by: Anan Zhuang <ananzh@amazon.com>
* add unit tests
Signed-off-by: Anan Zhuang <ananzh@amazon.com>
* enable embeddable for useVega
Signed-off-by: Anan Zhuang <ananzh@amazon.com>
* remove buildVegaScales due to split it to smaller modules
Signed-off-by: Anan Zhuang <ananzh@amazon.com>
* fix date for vega
Signed-off-by: Anan Zhuang <ananzh@amazon.com>
* fix test
Signed-off-by: Anan Zhuang <ananzh@amazon.com>
* Changeset file for PR opensearch-project#7288 created/updated
---------
Signed-off-by: Anan Zhuang <ananzh@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
0 commit comments