mirror of
https://github.com/heavyai/heavyai-charting.git
synced 2026-01-25 14:57:45 +00:00
* Adds a first pass of a LatLonPolyLine class that will be used to draw the single line segment for a cross-section. * Adds an LineCrossSection example. * Adds some initial lasso-specific event handling for lasso shapes. This currently captures lasso shape create, delete, and draggable edit begin, end. * Adds a new onDrawEvent() method to raster-draw-mixin that's used as a conduit to adding event callbacks to the drawEngine instance that manages all the drawn lasso shapes. There's room for improvement here tho. * Adds new LassoToolSetTypes bitflag enum to control the visibility of which lasso tools you want to display on a raster-draw-mixin enabled chart.
69 lines
1.7 KiB
HTML
69 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<title>HEAVY.AI</title>
|
|
<meta charset="UTF-8">
|
|
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"
|
|
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
|
<link href='https://fonts.googleapis.com/css?family=Roboto:400,700,300' rel='stylesheet' type='text/css'>
|
|
<style>
|
|
.title {
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
|
|
.heavyai {
|
|
position: relative;
|
|
top: 2px;
|
|
}
|
|
|
|
.search {
|
|
display: inline-block;
|
|
margin-top: 12px;
|
|
margin-left: 50px;
|
|
}
|
|
|
|
.data-count {
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.filter-count {
|
|
font-weight: bold;
|
|
color: #45B1E8;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<nav class="navbar navbar-default">
|
|
<div class="container-fluid">
|
|
<div class="navbar-header" style="margin-top:10px">
|
|
<img alt="Brand" src="images/favicon.png" height="30" width="30">
|
|
<span class="heavyai">HEAVY.AI Demo</span>
|
|
</div>
|
|
<div class="navbar-text navbar-right">
|
|
<div class="data-count">
|
|
<span class="total"><span><span class="filter-count"></span></span>
|
|
<span>of <span class="total-count"></span> tweets</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="main-container">
|
|
<div class="title">Cross Section</div>
|
|
<div class="row">
|
|
<div class="col-xs-6">
|
|
<div id="crosssection-map"></div>
|
|
</div>
|
|
<div class="col-xs-6">
|
|
<div id="crosssection-chart"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="assets/linecrosssection.bundle.js"></script>
|
|
</body>
|
|
|
|
</html> |