summaryrefslogtreecommitdiff
path: root/chart_test.go
Commit message (Collapse)AuthorAge
* Support to create bubble and 3D bubble chartxuri2019-06-19
|
* Add surface 3D, wireframe Surface 3D, contour, and wireframe contour chart ↵xuri2019-06-15
| | | | support
* support to create cone, pyramid and cylinder series chart for column and ↵xuri2019-06-14
| | | | bar types
* Fix #422, avoid accent theme color index overflowxuri2019-06-09
|
* add unit tests to functionsxuri2019-04-16
|
* Huge refactorig for consistent col/row numbering (#356)Veniamin Albaev2019-03-20
| | | | | | | | | | | | | | | | | | | * Huge refactorig for consistent col/row numbering Started from simply changing ToALphaString()/TitleToNumber() logic and related fixes. But have to go deeper, do fixes, after do related fixes and again and again. Major improvements: 1. Tests made stronger again (But still be weak). 2. "Empty" returns for incorrect input replaces with panic. 3. Check for correct col/row/cell naming & addressing by default. 4. Removed huge amount of duplicated code. 5. Removed ToALphaString(), TitleToNumber() and it helpers functions at all, and replaced with SplitCellName(), JoinCellName(), ColumnNameToNumber(), ColumnNumberToName(), CellNameToCoordinates(), CoordinatesToCellName(). 6. Minor fixes for internal variable naming for code readability (ex. col, row for input params, colIdx, rowIdx for slice indexes etc). * Formatting fixes
* Tests refactoringVeniamin Albaev2018-12-27
| | | | | | | | | | | Primary motivation: Avoid statefull tests with not ignorable git file tree changes. Multiple tests reads and overwrites signle file for won needs. Multiple tests reads and overwrites file under version control. Secondary motivation: Minimal tests logic aligment, separate error expectation and not error expectation tests. Introduce sub-test over test data sets and so far. This commit is not ideal but necessary (IMHO)
* Use format string for chart dimension.Eugene Dzhurinsky2018-05-09
| | | | Signed-off-by: Eugene Dzhurinsky <jdevelop@gmail.com>
* Custom chart size.Eugene Dzhurinsky2018-05-08
Added helper functions to set the chart size. Added the unit test Signed-off-by: Eugene Dzhurinsky <jdevelop@gmail.com>