{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Working With Histogram Layers","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":false}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"working-with-histogram-layers","__idx":0},"children":["Working With Histogram Layers"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"creating-a-seismic-histogram-window","__idx":1},"children":["Creating a Seismic Histogram window"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note"]},": you will need to include Histogram, SeismicHistogram, SeismicData and Seismic2D in your ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/intviewer/intviewer-platform-and-modules/module-dependencies"},"children":["Module Dependencies"]}," list in addition to Viewer2D."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"ILayeredWindowFactory histogramf = IHistogramWindow.factory;\nISeismicHistogramWindow histogramWindow = histogramf.createWindow();\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"creating-a-seismic-histogram-layer","__idx":2},"children":["Creating a Seismic Histogram Layer"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note"]},": you will need to include Histogram, SeismicHistogram, SeismicData and Seismic2D in your Module Dependencies list in addition to Viewer2D."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In this example, we assume you have already created a seismic layer seismicLayer and a histogram window histogramWindow."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"histogramWindow.setReferenceLayer(seismicLayer);\nNamedProps layerProperties = new NamedProps();\nlayerProperties.putProperty(ISeismicHistogramLayer.USE_FULL_SECTION, true);\nISeismicHistogramLayer layer = ISeismicHistogramLayer.factory.createLayer(histogramWindow, seismicLayer.getData(), layerProperties, false);\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"creating-a-well-histogram-window","__idx":3},"children":["Creating a Well Histogram window"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note"]},": you will need to include Histogram, WellHistogram, WellData and Well2D in your Module Dependencies list in addition to Viewer2D."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"IWellHistogramWindow histogramWindow = IWellHistogramWindow.factory.createWindow();\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"creating-a-well-histogram-layer","__idx":4},"children":["Creating a Well Histogram Layer"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note"]},": you will need to include Histogram, WellHistogram, WellData and Well2D in your Module Dependencies list in addition to Viewer2D."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In this example, we assume you have already created a well layer wellLayer and a histogram window histogramWindow."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"NamedProps layerProperties = new NamedProps();\nlayerProperties.putProperty(IWellHistogramLayer.CURVE_NAME, \"VSH\");\nIWellHistogramLayer layer = IWellHistogramLayer.factory.createLayer(histogramWindow, wellLayer.getData(), layerProperties, false);\n"},"children":[]}]},"headings":[{"value":"Working With Histogram Layers","id":"working-with-histogram-layers","depth":1},{"value":"Creating a Seismic Histogram window","id":"creating-a-seismic-histogram-window","depth":3},{"value":"Creating a Seismic Histogram Layer","id":"creating-a-seismic-histogram-layer","depth":3},{"value":"Creating a Well Histogram window","id":"creating-a-well-histogram-window","depth":3},{"value":"Creating a Well Histogram Layer","id":"creating-a-well-histogram-layer","depth":3}],"frontmatter":{"title":"Working With Histogram Layers","pageId":"intviewer-api-for-layers/working-with-histogram-layers","seo":{"title":"Working With Histogram Layers"}},"lastModified":"2026-10-22T14:32:05.574Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/intviewer/intviewer-api-for-layers/working-with-histogram-layers","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}