Граф коммитов

20 Коммитов

Автор SHA1 Сообщение Дата
Ilfat Galiev beac5dabe5
Fluent UI (#477)
* Replace text input, number input, slider

* Fluent UI Manager

* Add margin to color display

* Init basic icons

* Add checkbox

* Revert "Replace text input, number input, slider"

This reverts commit 6397041fc7.

* Add Fluent UI based components

* Update icon names for Rect, Legend objects

* Set color display border to black

* Add alignment icons from Office UI Fabric

* Remove unused code

* Add styled-components

* Fix input expression

* Update view for mapping editor

* Update clear button, set button, inputSelect

* Update "Conditioned by" component

* Use old components for Canvas toolbar

* Update inputNumber

* Update text editor in value editor

* Remove unused reports

* Update inputBoolean

* Set DropZoneView height to 32px

* Update yarn.lock

* Add labels to components

* Add Fluent UI labels support

* Fix rect component attributes panel layout

* Fix axis style attributes panel

* Fix PlotSegment (cartesian) attributes panel layout

* Fix Legend attributes panel layout

* Fix PlotSegment (polar), Polar guide coordinator attributes panel layout

* Fix Text/TextBox attributes panel layout

* Fix Dataaxis attributes panel layout

* Fix Link attributes panel layout

* Fix PlotSegment (curve) attributes panel layout

* Fix Chart attributes panel layout

* Fix axis style attribute panel

* Fix data expression widgets

* Fix mappingEditor displaying text

* Fix layout of attributes headers

* Update orderByWidget

* Update Filter by, Group by buttons

* Fix canvas toolbar select component background

* Fix merge issue

* Fix scale export properties layout

* Change icon names to match with Fluent UI lib icons

* Fix interactivity options layout

* Update inputDate

* Update Filter by, Group by buttons layout of plot segment

* Update inputNumer layout

* Fix layout of Gap property for Grid

* Add icons to "Group by" and "Filter by" buttons

* Add MainContext provider. Main toolbar

* Update data binding icon of mapping editor

* Decrease toolbar height

* Add custom icons

* Fix icon colors

* Fix scaffold buttons

* Fix buttons color on dropdown menu

* Merge master

* Update hammer initialization on changing tool

* Fix polar guide coordinator icon

* Align context menu property of chart object

* Fix attribute panels header

* Recreate hammer instance on changing tool mode

* Set default contextMenu property for default Chart object

* Set default values for interactivity properties of objects

* Set value for checkbox component

* Fix error on canvas resizing

* Set max width for legend dialog

* Set normal font weight to labels

* Add margins to axis header labels

* Fix reorder widget position

* Set packing icon stroke color

* Remove unused imports

* Set MultiObjectButton icons stroke color

* Fix import

* Remove context provider

* Fix active element background in attribute panel

* Remove comment

* Fix flipping property widget

* Fix context menu of data selector

* Fix Undo/Redo buttons states

* Fix popup widgets alignment

* Fix label of inputs

* Apply getAlignment for color selector popup window

* Hide overflowed text in input

* Fix text input for mapping editor

* Fix data binding from button

* Remove value properties

* Fix mapping popup position for scale editor on click text box

* Fix linear scale editor layout. Fix SpinButton label font wright

* Update FLuent UI library

* Fix spin value changing

* Add key properties to React components

* Fix set state error in ImportDataView component

* Fix converting color to RGB
2021-04-05 06:53:08 -07:00
Ilfat Galiev 8268a413fc
Jitter layout (#476)
* Jitter layout

* Fix default chart

* Add const for radius
2021-04-02 07:11:54 -07:00
Ilfat Galiev ec17d7582f Update state of save button after saving the chart 2021-03-17 19:33:46 +03:00
Ilfat Galiev 458cc56eb9 Highlight save button if changes are unsaved 2021-03-17 17:50:17 +03:00
Ilfat Galiev d07271b839
Update icons for sublayout, polar plot segment and scaffold (#399) 2021-02-05 09:48:15 -08:00
Ilfat Galiev 9e1115222f
UI fixes (#390)
* Fix canvas popup toolbar icons

* Fix toolbar undo redo buttons

* Group plot segments and scaffold buttons

* Update menubar. Add text to delete button. Set font weight to main

* Remove margin right of button label on toolbar

* Fix chevron icon alignment

* Update icons (update reset of icons)

* Update icons

* Display export template button on embedded mode

* Update canvas popup tool layout

* Add default HTML tooltips

* Set border to column elements on data view. Set font size for toolbar to 14px

* Fix class name

* Rename Columns to Fields

* Fix canvas tool icon highlight

* Update canvas toolbar border

* Add padding to dropdown items

* Update padding for field selector

* Update panel header text font

* Resize cross icon

* Set light gray to disabled button background

* Update colors and font

Co-authored-by: Dan Marshall <danmar@microsoft.com>
2021-02-01 19:04:39 -08:00
Ilfat Galiev fc7872968d
Replace minus and dots icon by chevron icon in dataset view (#380)
* Replace minus and dots icon by chevron icon

* Fix polar plot segment template parameters
2020-12-18 11:21:07 -08:00
Ilfat Galiev b81121532e
Update colors (#364)
* Update theme colors and icon colors

* Add new icons

* Fix toolbar delimiter

* Scale icons

* Update layout and icons

* Fix tool buttons alignment

* Update styles for mapping view

* Update toolbar label left margin

* Fix import template data mapping layout

* Fix toolbar button and vertical separator

* Matching template and dataset columns by name and type then by type only

* Remove comments

* Change legend items icon size

* Fix merge issue

* Update rest of icons

* Update primary/raised button color

* Fix scales updating on replace dataset
2020-12-07 07:32:28 -08:00
Ilfat Galiev 84080dca64
Allow to move panels to right (#332)
* Allow to move panels to right

* Split params

* Vertical toolbar

* Corner icon for buttons

* Configurable main view

* Align toolbar-labels

* Vertical toolbar

* Add default config for main view

* Group tool buttons by category

* Align toolbar content

* Set defaults

* Set defaults directly

* Configure app header

* Fix drag & drop of tool buttons

* Change attributes panel for Legend and Plot Segment

* Align mapping editor popups to left

* Fix icon for color scale

* Fix toolbar items indexes

* Expose widgets

* Update rest dialog for embedded mode

* Change attributes panel for Legend

* Add checks for links rows

* Expose addSVGIcon, getSVGIcon functions

* Import & export template buttons on toolbar

* Align plot segment attribute buttons

* Remove "nice" for date axes scales

* Add timezone shift to dates

* Fix tslint

* Fix lint issues

* Update typescript and tslint

* Run prettify

* Fix merge issue

Co-authored-by: Ilfat Galiev <v-ilga@microsoft.com>
Co-authored-by: Ilfat Galiev <v-ilgal@microsoft.com>
2020-10-22 12:01:01 -07:00
Dan Marshall e670cb9a7a
Add stroke style to mark (#245)
* add strokeStyle

* common StrokeStyle

* formatting

* remove strokeStyle

* remove comments

* strokeStyle on triangle & ellipse

* whiespace

* added stroke icons
2020-05-20 08:03:38 -07:00
Donghao Ren 46e9c91ed0
Support packing in numerical axes (#160)
* Packing in numerical axes (as suggested in #157):
* More reasonable packing for polar coordinates
* Improve widgets for sublayouts
* Fix migrator bug
2019-02-25 09:47:09 -08:00
Donghao Ren d39b0e1a67
Replace dataset (#118)
* Allow replacing data table with compatible csv files

* Remove unnecessary comments
2018-11-12 12:38:54 -08:00
Donghao Ren 7f457c4a3d
Add point-anchored image mark (#111) 2018-11-07 12:22:16 -08:00
Donghao Ren 5c4ae40853
Let open/save/export actions go through the dispatcher (#65)
* Let open/save/export actions go through the dispatcher

* Change the export icon to a download icon in the "Open" panel
2018-09-20 14:41:57 -07:00
Donghao Ren ed4c701e2b
Fix & enhance data-driven guides (mark.data-axis) (#56)
* Show & edit the expressions bound to a data axis

* When adding a new column to a data axis, re-infer the axis range by all currently bound columns

* In the exported template, infer axis range by all columns, instead of just the first one
2018-09-18 10:28:17 -07:00
Donghao Ren 883017e00b
Better handling data types and other enhancements (#50)
* Better distinguish in-memory data types and abstract data kinds
* Use enum for data type and kind for better type checking
* Add template parameters to Object and ObjectStates to avoid extending them everywhere in the prototypes folder
* Cleanup unused fields from AttributeDescription
* Add a AttrBuilder class to centralize the creation of AttributeDescriptions
* Use UTC consistently for date parse and format.
* Support date axis
* Support logarithmic axis
* Add a HSV color picker
* Fix chrome bug in color picker
* Add a "none" option to color picker to remove the color
2018-09-17 13:45:58 -07:00
Donghao Ren 5b090be4cd Support small multiples; fix template export and chart container (#44)
* First working version on small multiples

* Fix nested chart icon

* Fix render static image

* Show working status for small multiples

* Renamed a few files to match the current naming style

* Update multirun to 3.0.2 (minor)

* Render each mark in a separate layer, instead of each glyph

* Fix filename and remove dead code

* Add column name map to nested chart

* Add reverse and sort to categorical axis ordering

* Add doc for adding sample datasets in config.yml

* Start fixing template export

* Icon for nested chart; add tooltip for a few buttons

* Work in progress

* Add more error boundary; add version to help menu

* Template export almost fixed

* Fix container and selection

* Use 2 spaces indentation for HTML files

* Fix glyph/mark selection

* Fix React incorrect nesting warning

* Fix scale inference when values are the same

* Enhance nested chart editor

* Fix container code for Power BI visual

* Upgrade packages and build script

* Changes according to PR comments

* Show message in glyph/attribute editor when plot segment is not available for a glyph

* Prettify scss files as well, run prettier on all files

* Add license for scss files

* Update license format to use // instead of /* */

* Use two space indent for webpack config
2018-09-10 14:20:20 -07:00
Donghao Ren fd03c88471 Add ellipse and triangle shaped marks 2018-08-21 20:43:12 -07:00
Donghao Ren 32beb5e355 Add new icons for additional mark types and UI controls 2018-08-20 17:38:49 -07:00
bongshin df98f19ad3 first commit 2018-05-07 15:23:35 -07:00