forked from akveo/blur-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e027c0
commit 1606d87
Showing
7 changed files
with
116 additions
and
69 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,50 @@ | ||
<section ng-controller="morrisCtrl"> | ||
<div class="row"> | ||
<div class="col-md-6 "> | ||
<div class="col-md-6"> | ||
<blur-panel title="Line Charts" class-container="with-scroll"> | ||
<h5>Simple Line Chart</h5> | ||
<div | ||
line-chart | ||
line-data='lineData' | ||
line-xkey='y' | ||
line-ykeys='["a", "b"]' | ||
line-labels='["Serie A", "Serie B"]' | ||
line-colors='colors'> | ||
</div> | ||
<h5 class="area-morris-header">Area Chart</h5> | ||
<div | ||
area-chart | ||
area-data='areaData' | ||
area-xkey='y' | ||
area-ykeys='["a", "b"]'% | ||
area-labels='["Serie A", "Serie B"]' | ||
line-colors='colors'> | ||
</div> | ||
</blur-panel> | ||
</div> | ||
<div class="col-md-6 col-sm-12"> | ||
<blur-panel title="Bar Chart" class-container="with-scroll "> | ||
<div | ||
bar-chart | ||
bar-data='[ | ||
{ y: "2006", a: 100, b: 90 }, | ||
{ y: "2007", a: 75, b: 65 }, | ||
{ y: "2008", a: 50, b: 40 }, | ||
{ y: "2009", a: 75, b: 65 }, | ||
{ y: "2010", a: 50, b: 40 }, | ||
{ y: "2011", a: 75, b: 65 }, | ||
{ y: "2012", a: 100, b: 90 } | ||
]' | ||
bar-data='barData' | ||
bar-x='y' | ||
bar-y='["a", "b"]' | ||
bar-labels='["Series A", "Series B"]' | ||
bar-colors='colors'> | ||
</div> | ||
</blur-panel> | ||
</div> | ||
<div class="col-md-6 "> | ||
<blur-panel title="Donut" class-container="with-scroll "> | ||
</div> | ||
<div class="row morris-up"> | ||
<div class="col-md-6 col-md-offset-6 col-sd-offset-0 col-sm-12"> | ||
<blur-panel title="Donut Chart" class-container="with-scroll "> | ||
<div | ||
donut-chart | ||
donut-data='[ | ||
{label: "Download Sales", value: 12}, | ||
{label: "In-Store Sales",value: 30}, | ||
{label: "Mail-Order Sales", value: 20} | ||
]' | ||
donut-data='donutData' | ||
donut-colors='colors' | ||
donut-formatter='"currency"'> | ||
</div> | ||
</blur-panel> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-6 "> | ||
<blur-panel title="Line Chart" class-container="with-scroll "> | ||
<div | ||
line-chart | ||
line-data='[ | ||
{ y: "2006", a: 100, b: 90 }, | ||
{ y: "2007", a: 75, b: 65 }, | ||
{ y: "2008", a: 50, b: 40 }, | ||
{ y: "2009", a: 75, b: 65 }, | ||
{ y: "2010", a: 50, b: 40 }, | ||
{ y: "2011", a: 75, b: 65 }, | ||
{ y: "2012", a: 100, b: 90 } | ||
]' | ||
line-xkey='y' | ||
line-ykeys='["a", "b"]' | ||
line-labels='["Serie A", "Serie B"]' | ||
line-colors='colors'> | ||
</div> | ||
</blur-panel> | ||
</div> | ||
<div class="col-md-6 "> | ||
<blur-panel title="Area Chart" class-container="with-scroll "> | ||
<div | ||
area-chart | ||
area-data='[ | ||
{ y: "2006", a: 100, b: 90 }, | ||
{ y: "2007", a: 75, b: 65 }, | ||
{ y: "2008", a: 50, b: 40 }, | ||
{ y: "2009", a: 75, b: 65 }, | ||
{ y: "2010", a: 50, b: 40 }, | ||
{ y: "2011", a: 75, b: 65 }, | ||
{ y: "2012", a: 100, b: 90 } | ||
]' | ||
area-xkey='y' | ||
area-ykeys='["a", "b"]' | ||
area-labels='["Serie A", "Serie B"]' | ||
line-colors='colors'> | ||
</div> | ||
</blur-panel> | ||
</div> | ||
</div> | ||
</section> |
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,10 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title></title> | ||
</head> | ||
<body> | ||
|
||
</body> | ||
</html> |
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,3 @@ | ||
/** | ||
* Created by alex on 12/21/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
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