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

15 Коммитов

Автор SHA1 Сообщение Дата
Ramil Minyukov b1201a6188
Apply unit testing to the latest master (#747)
* Apply unit testing to the latest master

* Updated browser

* Updated browser

* Added babel-loader

* Added pre-commit hook

* Added ts-node

* Added puppeteer

* Added karma-coverage

* Added raw-loader

* Update snapshot

* Udpated tests

* Removed done

* Update serialize

* Removed unused import

* Updated tolerance

* Updated tolerance

* Updated tolerance and added round numbers

* Added logging

* Change compare order

* Changed compare order

* Updated path 'd' parser

* Added types

* Updated tests order

* Updated tests order

* Added error wrepper

* Updated snapshoot

* Changed test order

* Added docker image

* Update runnner

* Updated github runnner

* Uncomment tests

* Updated __snapshots__

* Added plotsegment axis test

* Added polar plot segment unit tests

* Updated docker file

* Updated tests

* Updated application tests

* Updated application tests

* Updated application tests

* Added new chart tests

* Removed population test

* Updated snapshot

* Updated build.js file

* Updated build.js

* Updated test app version

* Fixed comment

Co-authored-by: Ramil Minyukov (Akvelon INC) <v-rminyukov@microsoft.com>
Co-authored-by: Ilfat Galiev <zBritva@users.noreply.github.com>
Co-authored-by: bongshin <bongshin@microsoft.com>
2022-01-17 06:11:18 -08:00
Ilfat Galiev ccb2154620
Disable preact for extensions (#866)
Co-authored-by: Ilfat Galiev <v-igaliev@microsoft.com>
2021-12-06 09:50:45 -08:00
Ilfat Galiev af04427fb2
Virtual scroll (#709)
* Render PlotSegment interactive controls. Render virtual scrollbar track

* Replace line with rect

* Fix event names

* Scroll position attribute

* Render react component for controls instead charticulator virtual DOM

* Add interactivity

* Format code

* Fix scroll direction for Y axis

* Apply scrolling to plot segment state

* Add checks

* Fix issues on scrolling in container and improve scrolling in editor.

* Replace constant

* Add scrolling for numerical axes

* Remove comments

* Fix TS errors

* Fix eslint issue

* Fix d3 import

* Fix merge issue

* Apply string constants from strings.ts

* Remove import

* Fix handler position

* Remove import

* Add buttons on scrollbar

* Fix condition

* Add arrow icons to  scrollbar

* Decrease size of track

* Set windows size

* Update plotsegment graphics on change scroll property

* Fix lint issues

* Fix unit tests

* Add scrollbar offset property

* Set scrolling on loading template

Co-authored-by: Ilfat Galiev <v-igaliev@microsoft.com>
2021-08-30 16:45:47 -07:00
Ilfat Galiev ac48df758e
Add timezone shift to dates. (#343)
* Add timezone shift to dates. Fix inferParameters to handle non date values.

* Handle null on converting expression values to string

* Increase file size limit to embedding

* Use utcFormat instead getTimeZoneOffset and timeFormat

* Fix merge errors

Co-authored-by: Ilfat Galiev <v-ilgal@microsoft.com>
2020-10-23 08:03:13 -07: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
Ilfat Galiev 52402d7aa4
Allow load chart without remounting container (#322)
* Allow load chart without remounting container. Allow mount as react component

* Embeddeding editor

* Add esModule=false for icon's url-loader

* Add generating config.json

* Configure url-loader

* Fix url-loader parameter

* Remove exposing force update

* Add checks for onSave and onInitialized

Co-authored-by: Ilfat Galiev <v-ilgal@microsoft.com>
Co-authored-by: Ilfat Galiev <v-ilga@microsoft.com>
2020-09-16 09:42:18 -07:00
Donghao Ren 89d41ebbb1
Allow zip download to build (#94)
* Allow zip download to build
* Show commit ID in about page
2018-10-02 17:50:45 -07:00
Donghao Ren 321d9d951d
Add ui test code (#47)
Now in development mode, we can test UI components and rendering code with localhost:4000/test.html.
2018-09-11 15:27:37 -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 a43d8e7966 Bump version to 1.1.0, add version to about page 2018-09-03 18:22:45 -07:00
David Tittsworth d3b32ba54c
Added basic selection support to the container class (#27)
* Added basic selection eventing to the container class
  - Also added hit detection to the canvas renderer

* Removed canvas renderer, and updated container to use the svg renderer, removed some code duplication

* Updated to use object properties rather than attributes for emphasis data

* Updated to use preact in the container bundle
2018-08-29 12:08:14 -07:00
David Tittsworth 804588fe62 Updated to use webpack mode rather than NODE_ENV 2018-08-14 12:22:36 -07:00
David Tittsworth d110e4568d Updated the template export to only show in development mode 2018-08-13 10:42:07 -07:00
David Tittsworth 032e11f859 Added some basic polish, and added some theming 2018-07-24 17:01:38 -07:00
bongshin df98f19ad3 first commit 2018-05-07 15:23:35 -07:00