Commit graph

13 commits

Author SHA1 Message Date
4bb4
8a171e9528 Refactored ticks setting code, still not great. 2020-09-20 21:21:19 +02:00
4bb4
ed02caed56 Got tick label setting to work, but inelegantly 2020-09-20 20:34:19 +02:00
4bb4
9814e86d64 Cleaned up examples code more. 2020-09-13 16:11:57 +02:00
4bb4
03f9fefba7 Added bar plot support 2020-09-13 16:09:21 +02:00
4bb4
ff96a07ef3 Added scatter plot support 2020-09-13 15:06:59 +02:00
4bb4
f05d681d25 Added a text plot example 2020-09-13 14:40:53 +02:00
4bb4
e847f23fb2 Refactored example and added to README. 2020-09-06 16:59:25 +02:00
4bb4
a257332f59 Added marker, stylevar and querying support 2020-08-30 11:01:28 +02:00
4bb4
a43a58d819 Added plot style colors and some misc utils. See comments.
- Also exposed the sys crate's ImPlotRange, ImPlotLimits and ImPlotPoint
  to the user as well as changing the limit-setting interface to using
  those. I'm not super sure about doing this yet though, because it is
  more verbose for no real reason to the user and for the purposes of
  the abstraction it may be better to add facade types anyway.

- There is no protection against calling things like `is_hovered` from
  outside a plot. Will need to think about how to make this impossible
  by design - we could for example pass an object to Plot's closure
  that has these methods, and that object is not created anywhere
  else.
2020-08-23 21:26:27 +02:00
4bb4
90f7dba1a7 Added text plot support 2020-08-23 20:31:28 +02:00
4bb4
84d10092be Added axis and plot flag support 2020-08-23 20:10:24 +02:00
4bb4
411086483e Added x and y limit setting API 2020-08-09 13:16:48 +02:00
4bb4
70eff2e3bf Updated readme, renamed example 2020-08-08 16:01:51 +02:00