2021-04-13 11:02:41 +02:00
|
|
|
<!--
|
|
|
|
Copyright: Ankitects Pty Ltd and contributors
|
|
|
|
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
-->
|
2021-10-26 00:43:02 +02:00
|
|
|
<script lang="ts">
|
2020-11-01 05:26:58 +01:00
|
|
|
import type { GraphBounds } from "./graph-helpers";
|
2021-03-21 13:47:52 +01:00
|
|
|
|
2020-06-23 07:38:54 +02:00
|
|
|
export let bounds: GraphBounds;
|
|
|
|
</script>
|
|
|
|
|
2021-05-26 01:21:33 +02:00
|
|
|
<g class="x-ticks" transform={`translate(0, ${bounds.height - bounds.marginBottom})`} />
|
|
|
|
<g class="y-ticks" transform={`translate(${bounds.marginLeft}, 0)`} />
|
|
|
|
<g class="y2-ticks" transform={`translate(${bounds.width - bounds.marginRight}, 0)`} />
|
|
|
|
|
2021-03-21 13:47:52 +01:00
|
|
|
<style lang="scss">
|
|
|
|
g :global(.domain) {
|
|
|
|
opacity: 0.05;
|
|
|
|
}
|
|
|
|
</style>
|