Commit Graph

30 Commits

Author SHA1 Message Date
Will
b50ccc2baf fix typo in Chartist (#9701)
Signed-off-by: Will Soto <will.soto9@gmail.com>
2016-06-19 12:42:22 +09:00
Kevin Visscher
c02da04ba0 Allow import statement from Typescript (#8911) 2016-04-12 23:10:28 +09:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Matt Gibbs
9a9021d738 Forgot the [] on Object for extend() 2016-01-28 14:41:48 -05:00
Matt Gibbs
8b39d26623 Fixed Chartist.extend definition to support multiple parameters. 2016-01-28 14:02:33 -05:00
Forrest Peterson
4d99796247 Change to where plugins is 2016-01-21 15:45:33 -05:00
Matt Gibbs
e58251a8d3 Added an optional member for plugins
Just set to Array<any> for now until I have a better understanding of
all the possibilities for plugins.
2016-01-19 15:42:43 -05:00
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
Forrest Peterson
7edc447a5f Change to IChartistData interface in Chartist 2016-01-19 13:16:43 -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
8bf574716d Bumping chartist version to 0.9.5 2016-01-14 15:13:26 -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
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