12 Commits
Author SHA1 Message Date
Matt Gibbs f9b189a873 Made 'type' optional to avoid problems with Chartist defaults
When forced to define the type, Chartist won't default to all of the
other options.  So if you just want to do something like not show the
grid, you'll end up having to define all of the axis options because of
the strict typing that was there before.
2016-01-19 15:32:11 -05:00
Matt Gibbs 059319a033 Defining Chartist Interpolation Options 2016-01-14 15:46:42 -05:00
Matt Gibbs 21f5129d25 Adding more tests for bar charts 2016-01-14 15:20:43 -05:00
Matt Gibbs 2e5f3e2db4 Added Interpolation definitions and tests 2016-01-14 15:10:55 -05:00
Matt Gibbs fe08f93533 Further expanding Chartist type definitions. 2016-01-14 14:52:05 -05:00
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
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 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 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