Commit Graph
14 Commits
Author SHA1 Message Date
Matt Gibbs 9867eb1aa4 Updating Chartist Axis types
There are three different types of Axes for line charts that project
their properties onto the axis type.  I am trying to emulate that here.
If you specifically declare a LineChartAxis, then you MUST attach the
axis type.  The library lets you play a little fast and loose with this,
but because we're going for some compile-time checks, the typing file is
going to enforce being specific.
2016-01-14 11:13:35 -05:00
Matt Gibbs b779873b3f Expanding Chartist Type Definitions 2016-01-12 16:24:28 -05:00
Matej Kormuth fc9d13a249 Fixes typo in IBarChartAxis 2015-10-03 14:38:25 +02:00
Matt Gibbs dbadd9b96d Fixed accidental missing optional markers
Also added the noop function to the Static Chartist
2015-09-25 18:02:47 -04:00
Matt Gibbs 4046880565 More explicit typing for test case examples. 2015-09-25 18:02:22 -04:00
Matt Gibbs 9aa926ee0e More Test coverage 2015-09-25 17:54:54 -04:00
Matt Gibbs 9e607119ab Restricting typing of data to Object
This should at least stop primitives until I can figure out the
structure of each type of data.
2015-09-25 17:53:42 -04:00
Matt Gibbs fca8506505 Adding in the four methods for Chartist.Base 2015-09-25 17:48:02 -04:00
Matt Gibbs 9dc1ff729f Trying to improve coverage in tests.
Still lots of implicit any catching me.  Having to be explicit in the
test.
2015-09-25 17:47:40 -04:00
Matt Gibbs c113a72c50 Messed up the "new" part in the typing file. 2015-09-25 17:28:41 -04:00
Matt Gibbs 7f02343898 More Test data
Had to add some explicit typing to some of the example functions just to
get the test to complete successfully.  Maybe that shouldn't be a
concern in the test files?
2015-09-25 17:28:29 -04:00
Matt Gibbs b5491028b2 Adding some examples from chartists' site for testing. 2015-09-25 17:01:50 -04:00
Matt Gibbs d02cd58fb1 Filling in some content. 2015-09-25 17:01:35 -04:00
Matt Gibbs 079fd7bc35 Adding stub of chartist.d.ts 2015-09-25 11:23:30 -04:00