Commit Graph

33 Commits

Author SHA1 Message Date
Nathan McRae
4394d26184 Reverse axes 1 and 3
Because we want axis 1 to increase to the right, and axis 3 to increase
up
2025-09-03 21:40:39 -07:00
Nathan McRae
9859938df7 Swap typefaces 2025-09-03 21:27:27 -07:00
Nathan McRae
62fefb0cb1 Fix some alignment 2025-09-03 21:27:09 -07:00
Nathan McRae
6a4a0f5719 Add download button 2025-08-27 21:15:20 -07:00
Nathan McRae
5e795ac9f3 Fix alignment of even number of ticks
Without this, it created a hexagram type shape in the graph and the tick
marks didn't all intersect together at one point.
2025-08-24 19:03:26 -07:00
Nathan McRae
da1e6f32a5 Initial styling
Change from default increment/decrement buttons to custom ones since
that's easier to style.
2025-08-24 13:32:12 -07:00
Nathan McRae
6541d65f3a Add other graph parameters to interface 2025-08-20 22:55:11 -07:00
Nathan McRae
aa7b0813c4 Simplify adding event listeners 2025-08-20 22:42:20 -07:00
Nathan McRae
5b4cf834a0 Remove redundant code from main 2025-08-20 22:19:14 -07:00
Nathan McRae
2a4b5702af Add tick size control 2025-08-20 21:49:23 -07:00
Nathan McRae
124132fdc7 Center layout better 2025-08-20 20:29:54 -07:00
Nathan McRae
6d8d32c8eb Set tick label offsets better 2025-08-20 20:29:23 -07:00
Nathan McRae
2fabfa3415 Fix text offset calculation 2025-08-19 20:15:57 -07:00
Nathan McRae
99cc71e330 Reimplement getAllTextDimensions
Create SVG text elements so that the dimensions are representative
2025-08-19 19:05:50 -07:00
Nathan McRae
d26f7778ba Fix text styling and rotation
Had the units wrong
2025-08-15 20:54:21 -07:00
Nathan McRae
1b13f3ba38 Fix text dimension styles 2025-08-15 20:52:31 -07:00
Nathan McRae
77942030ef Get text centering working
Required significant architectural changes
2025-08-13 22:51:47 -07:00
Nathan McRae
9cd101ee4f Start implementing text style/dimensions 2025-08-09 23:06:06 -07:00
Nathan McRae
4c23fbfb03 Add import for <= 2025-08-07 22:05:23 -07:00
Nathan McRae
87d7be2688 Alphabetize imports 2025-08-07 22:03:14 -07:00
Nathan McRae
659196dacd Add functions to calculate text dimension 2025-08-07 22:02:48 -07:00
Nathan McRae
4abba3f503 Adjust axis 1 layout 2025-08-07 22:01:32 -07:00
Nathan McRae
392200f82e Add tickLabelStrings
To be able to get string dimensions from DOM
2025-08-07 22:01:14 -07:00
Nathan McRae
4f4acfe6b2 Import Int as module namespace 2025-08-07 21:59:51 -07:00
Nathan McRae
c21baccba9 Remove nested error handling and clean up some 2025-07-27 15:28:57 -07:00
Nathan McRae
833fbf27d7 Get basic graph display 2025-07-27 14:07:15 -07:00
Nathan McRae
3efa7b4339 Remove some comments 2025-07-21 22:35:28 -07:00
Nathan McRae
57d422f885 Factor out TernaryGraph module 2025-07-20 21:53:54 -07:00
Nathan McRae
c091beac4e Add maybe lib 2025-07-20 16:48:48 -07:00
Nathan McRae
9c24c884a6 Get basic output working 2025-07-20 16:48:39 -07:00
Nathan McRae
445a976f2e Get primary function compiling 2025-07-19 22:47:34 -07:00
Nathan McRae
9f64037bec Add math operators
I didn't realize before that you had to import them
2025-07-14 18:52:54 -07:00
Nathan McRae
60a0cc74a3 Add initial files 2025-07-14 18:21:18 -07:00