mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-28 11:18:17 -07:00
app: html version almost done
This commit is contained in:
@@ -155,16 +155,16 @@ export function Chart({
|
||||
createEffect(on([exactRange, dark], debouncedSetMinMaxMarkers));
|
||||
|
||||
if (chartIndex === 0) {
|
||||
const datasetPath: AnyDatasetPath = `${scale}-to-price`;
|
||||
|
||||
const dataset = datasets.getOrImport(scale, datasetPath);
|
||||
|
||||
// Don't trigger reactivity by design
|
||||
activeDatasets().push(dataset);
|
||||
|
||||
const title = "Price";
|
||||
|
||||
function createPriceSeries(seriesType: PriceSeriesType) {
|
||||
const datasetPath: AnyDatasetPath = `${scale}-to-price`;
|
||||
|
||||
const dataset = datasets.getOrImport(scale, datasetPath);
|
||||
|
||||
// Don't trigger reactivity by design
|
||||
activeDatasets().push(dataset);
|
||||
|
||||
const title = "Price";
|
||||
|
||||
let seriesConfig: SeriesConfig;
|
||||
|
||||
if (seriesType === "Candlestick") {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { dateToString, getNumberOfDaysBetweenTwoDates } from "../utils/date";
|
||||
import { createLineSeries } from "./line";
|
||||
|
||||
export const GENESIS_DAY = "2009-01-03";
|
||||
|
||||
|
||||
Vendored
+3
-3
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user