2020-06-23 07:38:54 +02:00
|
|
|
<script lang="typescript">
|
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-03-21 13:47:52 +01:00
|
|
|
<style lang="scss">
|
|
|
|
g :global(.domain) {
|
|
|
|
opacity: 0.05;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<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)`} />
|