Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactored examples. integrated new charts data structure which power…
…s examples, tests, and chart wizard
- Loading branch information
1 parent
b0d6ac1
commit 8332c28
Showing
29 changed files
with
2,164 additions
and
818 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
DATA.BAR_DUAL_SERIES = [ | ||
{ | ||
title: 'Califonia', | ||
bars: [ | ||
{ | ||
title: 'Republicans', | ||
value: 5 | ||
}, | ||
{ | ||
title: 'Democrats', | ||
value: 95 | ||
} | ||
] | ||
}, | ||
{ | ||
title: 'New York', | ||
bars: [ | ||
{ | ||
title: 'Republicans', | ||
value: 15 | ||
}, | ||
{ | ||
title: 'Democrats', | ||
value: 85 | ||
} | ||
] | ||
}, | ||
{ | ||
title: 'Colorado', | ||
bars: [ | ||
{ | ||
title: 'Republicans', | ||
value: 25 | ||
}, | ||
{ | ||
title: 'Democrats', | ||
value: 75 | ||
} | ||
] | ||
}, | ||
{ | ||
title: 'Florida', | ||
bars: [ | ||
{ | ||
title: 'Republicans', | ||
value: 45 | ||
}, | ||
{ | ||
title: 'Democrats', | ||
value: 55 | ||
} | ||
] | ||
}, | ||
{ | ||
title: 'Texas', | ||
bars: [ | ||
{ | ||
title: 'Republicans', | ||
value: 85 | ||
}, | ||
{ | ||
title: 'Democrats', | ||
value: 15 | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
DATA.BAR_SERIES = [ | ||
{ | ||
title: 'Califonia', | ||
bars: [ | ||
{ | ||
title: 'Republicans', | ||
value: 10 | ||
} | ||
] | ||
}, | ||
{ | ||
title: 'New York', | ||
bars: [ | ||
{ | ||
title: 'Republicans', | ||
value: 15 | ||
} | ||
] | ||
}, | ||
{ | ||
title: 'Colorado', | ||
bars: [ | ||
{ | ||
title: 'Republicans', | ||
value: 25 | ||
} | ||
] | ||
}, | ||
{ | ||
title: 'Florida', | ||
bars: [ | ||
{ | ||
title: 'Republicans', | ||
value: 45 | ||
} | ||
] | ||
}, | ||
{ | ||
title: 'Texas', | ||
bars: [ | ||
{ | ||
title: 'Republicans', | ||
value: 85 | ||
} | ||
] | ||
} | ||
] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
DATA.LINE_SERIES = [ | ||
{ | ||
title: 'Series 1', | ||
points: [ | ||
-100, -100, | ||
100, 100, | ||
200, 50 | ||
] | ||
}, | ||
{ | ||
title: 'Series 2', | ||
points: [ | ||
0, 100, | ||
100, 200, | ||
200, 150, | ||
300, 200 | ||
] | ||
} | ||
]; |
Oops, something went wrong.