Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SIP-5] Refactor and update heatmap #5704

Merged
merged 7 commits into from
Aug 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions superset/assets/src/visualizations/heatmap.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,24 @@
}

.heatmap .axis text {
font: 10px sans-serif;
font: 12px sans-serif;
text-rendering: optimizeLegibility;
fill: #555;
}

.heatmap .background-rect {
stroke: #ddd;
fill-opacity: 0;
pointer-events: all;
}

.heatmap .axis path,
.heatmap .axis line {
fill: none;
stroke: #000;
stroke: #ddd;
shape-rendering: crispEdges;
}

.heatmap svg {
}

.heatmap canvas, .heatmap img {
image-rendering: optimizeSpeed; /* Older versions of FF */
image-rendering: -moz-crisp-edges; /* FF 6.0+ */
Expand All @@ -41,3 +45,8 @@
.heatmap .legendCells .cell:last-child text {
opacity: 1;
}

.dashboard .heatmap .axis text {
font-size: 10px;
opacity: .75;
}
Loading