UNPKG

@domoinc/arrow-single-value-indicator

Version:

ArrowSingleValueIndicator - Domo Widget

435 lines (216 loc) 14.7 kB
<a name="v4.0.0"></a> ## v4.0.0 (2016-01-15) #### Bug Fixes * fixed default value of the decimal config ([e6dc8614](https://git.empdev.domo.com/DA/yoWidget/commit/e6dc8614126644b3892e63bd19f0c1532c1b3462)) * changed decimal place config to dropdown ([a6da268f](https://git.empdev.domo.com/DA/yoWidget/commit/a6da268fd42c26cd2908f2819cb507074737f35c)) * fixed number format bugs ([ef0fd605](https://git.empdev.domo.com/DA/yoWidget/commit/ef0fd6051643f2e4b97079403ad452e5bfb11d43)) #### Features * using summary number instead of i18n, added config to show num of decimals ([acf35dab](https://git.empdev.domo.com/DA/yoWidget/commit/acf35dabb5baf5b8b339aeda59aa6d3b293211ef)) <a name="v3.0.5"></a> ### v3.0.5 (2015-12-03) <a name="v3.0.4"></a> ### v3.0.4 (2015-12-03) #### Bug Fixes * fixed sample data to match ([30d4f8b7](https://git.empdev.domo.com/DA/yoWidget/commit/30d4f8b752b506575c506a82215aa8285b2de08e)) #### Features * changed color for indicator without arrow ([ed38f47a](https://git.empdev.domo.com/DA/yoWidget/commit/ed38f47a30dccf98b5167782042e4bb21dd2687a)) * Creating an actual trend for the arrow widget: ([c702f90b](https://git.empdev.domo.com/DA/yoWidget/commit/c702f90bb9dfb73bd677330719add5777fac001e)) <a name="v3.0.3"></a> ### v3.0.3 (2015-12-03) #### Bug Fixes * fixed sample data to match ([30d4f8b7](https://git.empdev.domo.com/DA/yoWidget/commit/30d4f8b752b506575c506a82215aa8285b2de08e)) #### Features * changed color for indicator without arrow ([ed38f47a](https://git.empdev.domo.com/DA/yoWidget/commit/ed38f47a30dccf98b5167782042e4bb21dd2687a)) * Creating an actual trend for the arrow widget: ([c702f90b](https://git.empdev.domo.com/DA/yoWidget/commit/c702f90bb9dfb73bd677330719add5777fac001e)) <a name="v3.0.2"></a> ### v3.0.2 (2015-12-03) #### Bug Fixes * fixed sample data to match ([30d4f8b7](https://git.empdev.domo.com/DA/yoWidget/commit/30d4f8b752b506575c506a82215aa8285b2de08e)) #### Features * changed color for indicator without arrow ([ed38f47a](https://git.empdev.domo.com/DA/yoWidget/commit/ed38f47a30dccf98b5167782042e4bb21dd2687a)) * Creating an actual trend for the arrow widget: ([c702f90b](https://git.empdev.domo.com/DA/yoWidget/commit/c702f90bb9dfb73bd677330719add5777fac001e)) <a name="v3.0.1"></a> ### v3.0.1 (2015-12-03) #### Bug Fixes * fixed sample data to match ([30d4f8b7](https://git.empdev.domo.com/DA/yoWidget/commit/30d4f8b752b506575c506a82215aa8285b2de08e)) #### Features * changed color for indicator without arrow ([ed38f47a](https://git.empdev.domo.com/DA/yoWidget/commit/ed38f47a30dccf98b5167782042e4bb21dd2687a)) * Creating an actual trend for the arrow widget: ([c702f90b](https://git.empdev.domo.com/DA/yoWidget/commit/c702f90bb9dfb73bd677330719add5777fac001e)) <a name="v3.0.0"></a> ## v3.0.0 (2015-12-03) #### Features * changed color for indicator without arrow ([ed38f47a](https://git.empdev.domo.com/DA/yoWidget/commit/ed38f47a30dccf98b5167782042e4bb21dd2687a)) * Creating an actual trend for the arrow widget: ([c702f90b](https://git.empdev.domo.com/DA/yoWidget/commit/c702f90bb9dfb73bd677330719add5777fac001e)) <a name="v2.0.18"></a> ### v2.0.18 (2015-11-12) #### Bug Fixes * removed unnecessary config options, updated naming convention ([7e3ffe23](https://git.empdev.domo.com/DA/yoWidget/commit/7e3ffe235a8a2b1d7b55c70a54f0d8eb5a6daa63)) #### Features * readded number format config option ([e58076d6](https://git.empdev.domo.com/DA/yoWidget/commit/e58076d6b3cea593139ad7d2dee4a2d7872ce28f)) <a name="v2.0.17"></a> ### v2.0.17 (2015-10-27) #### Bug Fixes * fixed bug with counter scaling arrow off hover, removed arrow configs ([a6b4ca00](https://git.empdev.domo.com/DA/yoWidget/commit/a6b4ca003a69c98574f4469044a0f6c1094d381a)) * reverting to 2.0.16 code, no chartart ([66011e85](https://git.empdev.domo.com/DA/yoWidget/commit/66011e8555a32fa89da4e3eaf46348f9348eb99a)) <a name="v2.0.15"></a> ### v2.0.15 (2015-06-24) #### Bug Fixes * fixed two alignment bugs ([a1010757](https://git.empdev.domo.com/DA/yoWidget/commit/a1010757c3299819280568e3d08633f13ccec649)) <a name="v2.0.14"></a> ### v2.0.14 (2015-06-05) #### Bug Fixes * accesing value of the option for ternary condition ([6b0b2b90](https://git.empdev.domo.com/DA/yoWidget/commit/6b0b2b90d407de7fe869d24b513c651c566e1e02)) * just kidding, now the bug is fixed ([246eee13](https://git.empdev.domo.com/DA/yoWidget/commit/246eee13d1b775667a95586090190e87544cbc49)) * fixed bug so it translates pos to neg rather than pos and switch sign on data ch ([749175ea](https://git.empdev.domo.com/DA/yoWidget/commit/749175ea3988b56dc950909a749fa4e60438a878)) * negative number will not show when arrow is shown ([1e1e2029](https://git.empdev.domo.com/DA/yoWidget/commit/1e1e20293d62468e0f78cf3e2a7fe2d35af55719)) <a name="v2.0.13"></a> ### v2.0.13 (2015-05-05) <a name="v2.0.12"></a> ### v2.0.12 (2015-05-05) #### Bug Fixes * updated descriptions of the prefix and the suffix font size ([e8847d62](https://git.empdev.domo.com/DA/yoWidget/commit/e8847d625f51dc8c46d82fa3258f4617a538269c)) <a name="v2.0.11"></a> ### v2.0.11 (2015-04-07) #### Bug Fixes * updated tween so it tween from whole number to whole number ([5aa4b302](https://git.empdev.domo.com/DA/yoWidget/commit/5aa4b302ccd085e49aeffb9e027aec5786de8222)) <a name="v2.0.10"></a> ### v2.0.10 (2015-04-07) #### Bug Fixes * removed description for the text size config ([910b8b05](https://git.empdev.domo.com/DA/yoWidget/commit/910b8b05f11de18740b7626a90009fd731565f98)) <a name="v2.0.9"></a> ### v2.0.9 (2015-04-07) #### Bug Fixes * got the number to tween properly when the value is changed ([12b02073](https://git.empdev.domo.com/DA/yoWidget/commit/12b02073170560b3cfa05c021f66492a28ed23ed)) <a name="v2.0.8"></a> ### v2.0.8 (2015-04-06) #### Bug Fixes * cleared desc value for text color` ([aa98a34f](https://git.empdev.domo.com/DA/yoWidget/commit/aa98a34f65fb7f445620b6f1dbececeae5c91aa0)) <a name="v2.0.7"></a> ### v2.0.7 (2015-04-06) #### Bug Fixes * removed desc for text color ([679b0741](https://git.empdev.domo.com/DA/yoWidget/commit/679b0741d6d5c857d52338bfa032ab70e51bb755)) <a name"v2.0.6"></a> ### v2.0.6 (2015-04-06) #### Bug Fixes * delete extra call to transition() ([34c35216](https://git.empdev.domo.com/DA/yoWidget/commit/34c35216)) <a name="v2.0.5"></a> ### v2.0.5 (2015-04-06) #### Bug Fixes * removed name being set for the indicatorColor in the DomoWidget.js file ([20200dce](https://git.empdev.domo.com/DA/yoWidget/commit/20200dcea670f7ca05ea5e236feca4c3d9613213)) <a name="v2.0.4"></a> ### v2.0.4 (2015-04-06) #### Bug Fixes * added a condition that if the fontsize of an element is 0, it ([2d48b651](https://git.empdev.domo.com/DA/yoWidget/commit/2d48b65192dd349c60eb2816d2337072cdc137a6)) <a name="v2.0.3"></a> ### v2.0.3 (2015-04-02) #### Bug Fixes * config ordering ([8d114b0f](https://git.empdev.domo.com/DA/yoWidget/commit/8d114b0f8f161ae0929ce931ae17b5da3e4918da)) * updated magnitudeFontSize name ([6ae60e60](https://git.empdev.domo.com/DA/yoWidget/commit/6ae60e6071532e9b9ace4eb72e95601f5fbcfd1f)) <a name="v2.0.2"></a> ### v2.0.2 (2015-04-02) #### Bug Fixes * added in default check to all extra font sizes ([a843becb](https://git.empdev.domo.com/DA/yoWidget/commit/a843becbe481d6b00c92a9f162f0361b4d4d5acf)) <a name="v2.0.1"></a> ### v2.0.1 (2015-04-02) #### Bug Fixes * update of hover rect ([3d03d645](https://git.empdev.domo.com/DA/yoWidget/commit/3d03d6459d4b28fa00554b05b784418950d7f1cd)) <a name="v2.0.0"></a> ## v2.0.0 (2015-04-02) #### Bug Fixes * fix position error on tween ([70d045e0](https://git.empdev.domo.com/DA/yoWidget/commit/70d045e05c9f313c581093ae24cc29d1a2c398ef)) * updated create ([c6e27ac7](https://git.empdev.domo.com/DA/yoWidget/commit/c6e27ac75c67318b53b477da34fbc067b3d3dbf8)) * moved to i18n format ([4277cd23](https://git.empdev.domo.com/DA/yoWidget/commit/4277cd23eee89e60e5ee8d02540d4aafe66bf8cd)) * added proper tracking to suffix on number tween ([e205c47d](https://git.empdev.domo.com/DA/yoWidget/commit/e205c47d89129b962371a2891b10d884eaac54c2)) * added function to set width and height of none existing elements ([74c01a33](https://git.empdev.domo.com/DA/yoWidget/commit/74c01a336c5a4e1a03b0d5e8ebfabec6c6b45b1d)) <a name="v1.5.1"></a> ### v1.5.1 (2015-04-02) <a name="v1.5.0"></a> ## v1.5.0 (2015-04-02) #### Bug Fixes * updated placeArrowAndText function to align the text properly ([857a5045](https://git.empdev.domo.com/DA/yoWidget/commit/857a50450d07a2b9369a98cd9282c7f09367ba77)) * working commit ([2deb895a](https://git.empdev.domo.com/DA/yoWidget/commit/2deb895a87a43a5964d0fa17b6853ae8e97ca98d)) * intermediate alignment fix ([85ae60fc](https://git.empdev.domo.com/DA/yoWidget/commit/85ae60fc52483d503a0931a961d126b8a42c6695)) <a name="v1.4.3"></a> ### v1.4.3 (2015-04-01) #### Bug Fixes * moved all text from tspans to actual text elements ([71913595](https://git.empdev.domo.com/DA/yoWidget/commit/71913595a55e067165e25ed5994d2551f826a169)) * updated svg files ([817b055a](https://git.empdev.domo.com/DA/yoWidget/commit/817b055a8423a85314c464c17eefb0addc17adaf)) <a name="v1.4.2"></a> ### v1.4.2 (2015-04-01) #### Bug Fixes * reverted last changes as they break the plugin ([ddc5d208](https://git.empdev.domo.com/DA/yoWidget/commit/ddc5d20874eae5523de4b8442ce0be8031bd46bd)) * grab the sized for each tspan individually instead of from the text's font-size ([2f3e617c](https://git.empdev.domo.com/DA/yoWidget/commit/2f3e617c619e80d1dcf39da374479d0b67638d14)) * set font-size to the individual tspans when the widget is resized ([61749aba](https://git.empdev.domo.com/DA/yoWidget/commit/61749aba24b6b002bc93ede8d666d8e7b29a39c4)) <a name="v1.4.1"></a> ### v1.4.1 (2015-03-31) #### Bug Fixes * set each of the font size configs to their own size ([0ec3d417](https://git.empdev.domo.com/DA/yoWidget/commit/0ec3d417e8d5c1d432ea82b50f535d9b5eb1b795)) <a name="v1.4.0"></a> ## v1.4.0 (2015-03-31) #### Features * seperated text into tspans and added configs for them ([da4a377f](https://git.empdev.domo.com/DA/yoWidget/commit/da4a377f755472d2c5f8162f90174b70ccb7883a)) <a name="v1.3.0"></a> ## v1.3.0 (2015-03-31) #### Bug Fixes * added descriptive names to the good/bad color configs ([d97e0bab](https://git.empdev.domo.com/DA/yoWidget/commit/d97e0bab5d01eebe1296075a60c7b4e2230a3c85)) * set name to the showArrow config so it will show in the plugin ([e92c3a82](https://git.empdev.domo.com/DA/yoWidget/commit/e92c3a82680a1a1e0a04452972ab72fb3e81cd73)) * color now changes on whether the number is negative or positive ([1f646567](https://git.empdev.domo.com/DA/yoWidget/commit/1f6465675f3527563493083a81785f81dbf6a783)) #### Features * add config to check if the good/bad colors are being used ([c595c308](https://git.empdev.domo.com/DA/yoWidget/commit/c595c3085b282e5a52bc0b5223e3eb064465914f)) * added generalFillGoodColor/generalFillBadColor ([65057957](https://git.empdev.domo.com/DA/yoWidget/commit/65057957736c38a1abbc50bca2b6d9a0ebef1213)) <a name="v1.2.3"></a> ### v1.2.3 (2015-03-26) <a name="v1.2.2"></a> ### v1.2.2 (2015-03-23) <a name="v1.2.1"></a> ### v1.2.1 (2015-03-11) <a name="v1.2.0"></a> ## v1.2.0 (2015-03-11) <a name="v1.1.5"></a> ### v1.1.5 (2015-02-27) <a name="v1.1.4"></a> ### v1.1.4 (2015-02-26) <a name="v1.1.3"></a> ### v1.1.3 (2015-02-26) <a name="v1.1.2"></a> ### v1.1.2 (2015-02-24) <a name="v1.1.1"></a> ### v1.1.1 (2015-02-23) <a name="v1.1.0"></a> ## v1.1.0 (2015-02-11) #### Features * added fix for decimal numbers ([6219cf82](https://git.empdev.domo.com/DA/yoWidget/commit/6219cf82f17944e6d8f9ad3f01742b4155fc9cbc)) <a name="v1.0.3"></a> ### v1.0.3 (2015-02-10) #### Bug Fixes * not position text correctly on center, right ([ecbb51df](https://git.empdev.domo.com/DA/yoWidget/commit/ecbb51dfe092dea9c1765b53dacca44bb48217ec)) <a name="v1.0.2"></a> ### v1.0.2 (2015-02-10) #### Bug Fixes * erronious read of 'showArrow' config ([ef7fa8f7](https://git.empdev.domo.com/DA/yoWidget/commit/ef7fa8f79ced32b164d2f49274415355c2faa4ce)) <a name="v1.0.1"></a> ### v1.0.1 (2015-02-10) <a name="v1.0.0"></a> ## v1.0.0 (2015-02-09) #### Bug Fixes * added % to sample widget ([7bceca97](https://git.empdev.domo.com/DA/yoWidget/commit/7bceca97bbd5ef295ca4ea81efb165ba251a25f2)) * hide arrow configs on single value chart ([d9aba4e2](https://git.empdev.domo.com/DA/yoWidget/commit/d9aba4e2eb37cb5f4624f1bdbf7a72fac5a25ec4)) * Upadted configs elements ([8a9ad887](https://git.empdev.domo.com/DA/yoWidget/commit/8a9ad887ab9aa681a864bb7c84c35aab666beeb6)) * move off of theme textSize ([9622175f](https://git.empdev.domo.com/DA/yoWidget/commit/9622175f1d9879d3a4a662b3a2a23586c078efe1)) * add update arrowOffset on transform ([f96d4476](https://git.empdev.domo.com/DA/yoWidget/commit/f96d4476cd9db4c1c1b7aade73c600a5d7a95211)) * set units on animation duration to ms from px ([c1eeb755](https://git.empdev.domo.com/DA/yoWidget/commit/c1eeb755f3362386fd7596e31bb50b60c09f881e)) * added height and widget to widget to remove name ([7abdb49a](https://git.empdev.domo.com/DA/yoWidget/commit/7abdb49ae5add89730a87c047d51f45ee2fef216)) * updated gruntfile for docGen ([6c0b16e3](https://git.empdev.domo.com/DA/yoWidget/commit/6c0b16e399b329d3b93168298361ea2efd73be6a)) * updated gruntfile to fix doc gen ([3c41f98e](https://git.empdev.domo.com/DA/yoWidget/commit/3c41f98e1fdad5a631cd341b844d6a350c0bf295)) * config showArrow ([77267d7c](https://git.empdev.domo.com/DA/yoWidget/commit/77267d7c020d86634f53b8eacc686e3ba568099a)) #### Features * added additional config to arrow draw ([dbba2e84](https://git.empdev.domo.com/DA/yoWidget/commit/dbba2e8459a5ee38322250048a6250ab5d964905)) * added configs offsetArrowLength, offsetArrowWidth ([81effccf](https://git.empdev.domo.com/DA/yoWidget/commit/81effccfcae3618658fe2c2afd4be619702ec0da)) * Added AnchorPoint to chart bounds ([3d3bbf89](https://git.empdev.domo.com/DA/yoWidget/commit/3d3bbf898e5369025e106b4e01549a5208b0f04c)) * added auto widget svgs ([4b82b9b1](https://git.empdev.domo.com/DA/yoWidget/commit/4b82b9b1d001b09e21710ad2912c28e404fafbda)) * added initial auto widget code and base svg ([6e4f1d00](https://git.empdev.domo.com/DA/yoWidget/commit/6e4f1d00b76a08058bc4baa948fb6670e568f4c7)) * updated config ([0b2c56ee](https://git.empdev.domo.com/DA/yoWidget/commit/0b2c56eecc3565eedd370d3b780f945edc44a394)) * updated template files ([df2ee6fa](https://git.empdev.domo.com/DA/yoWidget/commit/df2ee6fa2d5d1ea1522725fc2c6490170e9271e7)) #### Breaking Changes * updated congif elements ([0b2c56ee](https://git.empdev.domo.com/DA/yoWidget/commit/0b2c56eecc3565eedd370d3b780f945edc44a394))