-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trim '0' groups from sunburst paths to show null groups. add ability …
…to map color to sunburst groupby groups. add fancier breadcrumbs to sunburst.
- Loading branch information
1 parent
2aa0e0d
commit 0c045a9
Showing
3 changed files
with
187 additions
and
91 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,45 @@ | ||
.sunburst text.middle{ | ||
text-anchor: middle; | ||
.sunburst text { | ||
shape-rendering: crispEdges; | ||
} | ||
.sunburst path { | ||
stroke: #fff; | ||
stroke-width: 1px; | ||
} | ||
|
||
.sunburst #sequence { | ||
.sunburst .center-label { | ||
text-anchor: middle; | ||
fill: #000; | ||
} | ||
.sunburst .path-percent { | ||
font-size: 4em; | ||
} | ||
.sunburst .path-metrics { | ||
font-size: 1.75em; | ||
} | ||
.sunburst .path-ratio { | ||
font-size: 1.2em; | ||
} | ||
|
||
.sunburst #legend { | ||
padding: 10px 0 0 3px; | ||
.sunburst .breadcrumbs { | ||
fill: #00D1C1; /*default*/ | ||
} | ||
|
||
.sunburst #sequence text, #legend text { | ||
.sunburst .breadcrumbs text { | ||
font-weight: 600; | ||
font-size: 1.2em; | ||
text-anchor: middle; | ||
fill: #fff; | ||
} | ||
|
||
.sunburst path { | ||
stroke: #fff; | ||
.sunburst .breadcrumbs text.end-label { | ||
fill: #000; | ||
} | ||
|
||
.sunburst #percentage { | ||
.dashboard .sunburst text { | ||
font-size: 1em; | ||
} | ||
.dashboard .sunburst .path-percent { | ||
font-size: 2.5em; | ||
} | ||
|
||
.dashboard .sunburst .path-metrics { | ||
font-size: 1em; | ||
} |
Oops, something went wrong.