diff --git a/example-data/facies3wells.json b/example-data/facies3wells.json index 1ae696dc0..0e84235ec 100644 --- a/example-data/facies3wells.json +++ b/example-data/facies3wells.json @@ -1857,7 +1857,7 @@ "name": "discrete", "type": "stacked", "color": "red", - "colorFunction": "Stratigraphy" + "colorMapFunction": "Stratigraphy" }, { "name": "categorical", "type": "stacked", "color": "green" } ] diff --git a/example-data/welllog_template_2.json b/example-data/welllog_template_2.json index 2322b4dfd..e1dd13d63 100644 --- a/example-data/welllog_template_2.json +++ b/example-data/welllog_template_2.json @@ -191,7 +191,7 @@ { "name": "discrete", "type": "stacked", - "colorFunction": "Stratigraphy" + "colorMapFunction": "Stratigraphy" } ] } \ No newline at end of file diff --git a/typescript/packages/well-log-viewer/src/SyncLogViewer.stories.tsx b/typescript/packages/well-log-viewer/src/SyncLogViewer.stories.tsx index 7b10aa0ca..917378a49 100644 --- a/typescript/packages/well-log-viewer/src/SyncLogViewer.stories.tsx +++ b/typescript/packages/well-log-viewer/src/SyncLogViewer.stories.tsx @@ -2,7 +2,7 @@ import type { Meta, StoryObj } from "@storybook/react"; import React from "react"; -import type { ColorMapFunction } from "./components/ColorTableTypes"; +import type ColorMapFunction from "./components/ColorMapFunction"; import { colorTables } from "@emerson-eps/color-tables"; const exampleColorMapFunctions = colorTables as ColorMapFunction[]; import wellpickColorTables from "../../../../example-data/wellpick_colors.json"; @@ -21,7 +21,7 @@ import type { } from "./components/WellLogView"; const ComponentCode = - ' { +const TemplateWithSelection = (args: SyncLogViewerProps) => { const [showWell1, setShowWell1] = React.useState(true); const [showWell2, setShowWell2] = React.useState(true); const [showWell3, setShowWell3] = React.useState(true); @@ -614,8 +614,6 @@ const TemplateWithSelection = (args: { welllogs: WellLog[] }) => {
- {/* - // @ts-expect-error TS2739 */} {
Scale: {
Zoom: