app: html version almost done

This commit is contained in:
k
2024-09-10 09:39:06 +02:00
parent e206b40468
commit 5edb8111a2
40 changed files with 5900 additions and 1919 deletions
@@ -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";
+3 -3
View File
File diff suppressed because one or more lines are too long