{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["tabs","tab"]},"type":"markdown"},"seo":{"title":"Log Bar Visual","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":true,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"log-bar-visual","__idx":0},"children":["Log Bar Visual"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["LogBarVisual"]}," is another type of visual supported by WellLogJS. A LogBarVisual needs a well log data source either passed into its constructor or set using the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["setData"]}," method. The visual will not render if there is no data associated with it.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Properties like LineStyle, FillStyle, BarWidth(s), BarSpacing, etc. can be modified. The limits are calculated automatically by default, but manual limits can be set by disabling autolimits."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-log-bar-visuals","__idx":1},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#/WellLog/Visuals/LogBar/logBar#logBarVisual"},"children":["#"]}," Example Log Bar Visuals"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Here are three examples of LogBarVisuals: default (left), manual limits with custom bar widths (center), and overlapping bar widths using device units (right). See the code below."]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"label":"main","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"ts","header":{"controls":{"copy":{}}},"source":"import { Plot } from \"@int/geotoolkit/plot/Plot.ts\";\nimport { UnitFactory } from \"@int/geotoolkit/util/UnitFactory.ts\";\nimport { Range } from \"@int/geotoolkit/util/Range.ts\";\nimport { TrackType } from \"@int/geotoolkit/welllog/TrackType.ts\";\nimport { LogBarVisual } from \"@int/geotoolkit/welllog/LogBarVisual.ts\";\nimport { LogCurve } from \"@int/geotoolkit/welllog/LogCurve.ts\";\nimport { LogData } from \"@int/geotoolkit/welllog/data/LogData.ts\";\nimport { HeaderType } from \"@int/geotoolkit/welllog/header/LogAxisVisualHeader.ts\";\nimport { ScaleType } from \"@int/geotoolkit/welllog/data/ScaleType.ts\";\nimport { PatternFactory } from \"@int/geotoolkit/attributes/PatternFactory.ts\";\nimport { KnownScales } from \"@int/geotoolkit/util/ColorProvider.ts\";\nimport { DiscreteGradientColorProvider } from \"@int/geotoolkit/util/DiscreteGradientColorProvider.ts\";\nimport { LogGradientStyle } from \"@int/geotoolkit/welllog/attributes/LogGradientStyle.ts\";\nimport { loadResources } from \"/src/helpers/resources.ts\";\nimport { createWellLogWidget } from \"/src/code/WellLog/utils/common.ts\";\nloadResources(\"patterns\");\nfunction buildLogGradientStyle(data, scale) {\n  const colorProvider = new DiscreteGradientColorProvider({ \"bins\": 255 }).setScale(scale || KnownScales.Autumn, data.getMinValue(), data.getMaxValue());\n  return new LogGradientStyle().setColorProvider(colorProvider).setLogData(data);\n}\nfunction createScene(canvas) {\n  const widget = createWellLogWidget({\n    \"tools\": {\n      \"crosshair\": {\n        \"enabled\": false\n      }\n    }\n  }).setAxisHeaderType(HeaderType.Scale).setDepthLimits(100, 500);\n  const depths = [\n    100,\n    116,\n    132,\n    148,\n    164,\n    180,\n    196,\n    212,\n    228,\n    244,\n    260,\n    276,\n    292,\n    308,\n    324,\n    340,\n    356,\n    372,\n    388,\n    404,\n    420,\n    436,\n    452,\n    468,\n    484,\n    500\n  ];\n  const data1 = new LogData({\n    \"name\": \"CALI\",\n    \"depths\": depths,\n    \"values\": [20, 25, 30, 35, 30, 25, 40, 25, 30, 35, 40, 100, 80, 90, 100, 90, 95, 90, 40, 90, 40, 35, 40, 35, 40, 35]\n  });\n  const curve1 = new LogCurve(data1).setScaleType(ScaleType.Logarithmic).setLineStyle({\n    \"color\": \"#2196f3\",\n    \"width\": 2\n  });\n  const min = curve1.getMinimumNormalizationLimit(), max = curve1.getMaximumNormalizationLimit();\n  curve1.setNormalizationLimits(max, min);\n  const logBarVisual1 = new LogBarVisual({\n    \"data\": data1,\n    \"linestyle\": {\n      \"color\": \"#2196f3\",\n      \"width\": 2,\n      \"pixelsnapmode\": true\n    },\n    \"fillstyle\": \"#ef6c00\"\n  }).setScaleType(ScaleType.Logarithmic).setReverse(true);\n  widget.addTrack(TrackType.IndexTrack);\n  widget.addTrack(TrackType.LogTrack).addChild([\n    logBarVisual1,\n    curve1\n  ]);\n  const data2 = new LogData({\n    \"name\": \"GR\",\n    \"depths\": depths,\n    \"values\": [80, 75, 80, 60, 75, 60, 90, 75, 85, 70, 80, 50, 45, 50, 45, 50, 90, 10, 80, 76, 79, 40, 35, 40, 100, 80]\n  });\n  const curve2 = new LogCurve(data2).setLineStyle({\n    \"color\": \"#ef6c00\",\n    \"width\": 2\n  }).setNormalizationLimits(0, 150);\n  const logBarVisual2 = new LogBarVisual({\n    \"data\": data2,\n    \"linestyle\": {\n      \"color\": \"#ef6c00\",\n      \"width\": 2,\n      \"pixelsnapmode\": true\n    },\n    \"fillstyle\": {\n      \"color\": \"#fdd835\",\n      \"pattern\": PatternFactory.getInstance().getPattern(\"lime\")\n    },\n    \"limits\": new Range(0, 150),\n    \"enableautolimits\": false,\n    \"barwidth\": [5, 10, 15, 10, 5, 10, 15, 10, 5, 10, 15, 10, 5, 10, 15, 10, 5, 10, 15, 10, 5, 10, 15, 10, 5, 10]\n  });\n  widget.addTrack(TrackType.IndexTrack);\n  widget.addTrack(TrackType.LinearTrack).addChild([\n    logBarVisual2,\n    curve2\n  ]);\n  const curve3 = new LogCurve(data1).setLineStyle(\"#e64a19\");\n  const logBarVisual3 = new LogBarVisual({\n    \"data\": data1,\n    \"linestyle\": {\n      \"color\": \"#e64a19\",\n      \"pixelsnapmode\": true\n    },\n    \"fillstyle\": {\n      \"color\": \"#ef6c00\",\n      \"pattern\": PatternFactory.getInstance().getPattern(\"siltstone\")\n    },\n    \"unit\": UnitFactory.getInstance().getUnit(\"px\"),\n    \"barspacing\": 10,\n    \"barwidth\": 30\n  }).setGradientFillStyle(buildLogGradientStyle(data1));\n  widget.addTrack(TrackType.IndexTrack);\n  widget.addTrack(TrackType.LinearTrack).addChild([\n    logBarVisual3,\n    curve3\n  ]);\n  widget.addTrack(TrackType.IndexTrack);\n  widget.setHeaderHeight(\"auto\");\n  return new Plot({\n    \"canvaselement\": canvas,\n    \"root\": widget\n  });\n}\nexport { createScene };\n\ncreateScene(document.querySelector('[ref=\"plot\"]'));\n\n","lang":"ts"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"css","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"css","header":{"controls":{"copy":{}}},"source":"\n.cg-tooltip-holder {\n  position: relative;\n}\n\n.cg-tooltip {\n  position: absolute;\n  display: block;\n  padding: 2px 12px 3px 7px;\n  overflow: visible !important;\n  font-family: Roboto, Helvetica, Arial, sans-serif;\n  font-size: 13px;\n  background: white !important;\n  opacity: 0.9;\n  color: #333333;\n  border: solid 1px gray;\n  border-radius: 5px;\n  text-align: left;\n  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);\n  border-radius: 5px;\n  margin: 0 !important;\n  z-index: 10000;\n  max-width: 400px;\n  text-wrap: normal !important;\n  white-space: normal !important;\n}\n/* Default setting for tooltip */\n.cg-tooltip-container {\n  position: absolute;\n  display: block;\n  overflow: visible !important;\n  font-family: Roboto, Helvetica, Arial, sans-serif;\n  font-size: 12px;\n  padding: 3px 7px;\n  background: #f7f7f7;\n  color: #333333;\n  border: 1px solid #938e8e;\n  opacity: 0.8;\n  text-align: left;\n  box-shadow: 3px 3px 10px #888;\n  margin: 0 !important;\n  z-index: 10000;\n  max-width: 400px;\n  text-wrap: normal !important;\n  white-space: normal !important;\n  user-select: none;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .cg-tooltip-container {\n    border-radius: 0;\n  }\n}\n/* Default left arrow for tooltip */\n.cg-tooltip-arrow-left::before {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  left: 0;\n  top: 50%;\n  border: 5px solid transparent;\n  border-left: 0;\n  border-right: 5px solid  #938e8e;\n  transform: translate(calc(-100%), -50%);\n}\n.cg-tooltip-arrow-left::after {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  left: 0;\n  top: 50%;\n  border: 4px solid transparent;\n  border-left: 0;\n  border-right: 4px solid #f7f7f7;\n  transform: translate(calc(-100%), -50%);\n}\n/* Default top arrow for tooltip */\n.cg-tooltip-arrow-top::before {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  left: 50%;\n  top: 0;\n  border: 5px solid transparent;\n  border-top: 0;\n  border-bottom: 5px solid #938e8e;\n  transform: translate(-50%, -100%);\n}\n.cg-tooltip-arrow-top::after {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  left: 50%;\n  top: 0;\n  border: 4px solid transparent;\n  border-top: 0;\n  border-bottom: 4px solid #f7f7f7;\n  transform: translate(-50%, -100%);\n}\n/* Default right arrow for tooltip */\n.cg-tooltip-arrow-right::before {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  right: 0;\n  top: 50%;\n  border: 5px solid transparent;\n  border-right: 0;\n  border-left: 5px solid #938e8e;\n  transform: translate(100%, -50%);\n}\n.cg-tooltip-arrow-right::after {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  right: 0;\n  top: 50%;\n  border: 4px solid transparent;\n  border-right: 0;\n  border-left: 4px solid #f7f7f7;\n  transform: translate(100%, -50%);\n}\n/* Default bottom arrow for tooltip */\n.cg-tooltip-arrow-bottom::before {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  left: 50%;\n  bottom: 0px;\n  border: 5px solid transparent;\n  border-bottom: 0;\n  border-top: 5px solid #938e8e;\n  transform: translate(-50%, 100%);\n  z-index: 10000;\n}\n.cg-tooltip-arrow-bottom::after {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  left: 50%;\n  bottom: 0;\n  border: 4px solid transparent;\n  border-bottom: 0;\n  border-top: 4px solid #f7f7f7;\n  transform: translate(-50%, 100%);\n  z-index: 10000;\n}\n/* Tooltip item name */\n/* Tooltip item value */\n/* .cg-tooltip-item-value */\n/* Tooltip item value */\n.cg-tooltip-item-unit {\n  text-transform: none;\n}\n\n.cg-tooltip-item-name {\n    text-transform: capitalize;\n    white-space: nowrap;\n    vertical-align: middle;\n    font-size: 13px;\n}\n.cg-tooltip-row {\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  white-space: pre-wrap;\n  font-size: 12px;\n  line-height: 100%;\n  margin: 1px 0;\n}\n.cg-tooltip-title {\n  font-size: 13px;\n  height: 14px;\n  text-transform: capitalize;\n}\n.cg-tooltip-title .cg-tooltip-symbol {\n  margin-right: 0 !important;\n}\n.cg-tooltip-title-name {\n  vertical-align: middle;\n}\n.cg-tooltip-row + .cg-tooltip-row {\n  margin-top: 4px;\n}\n.cg-tooltip-row.cg-tooltip-title + .cg-tooltip-row {\n  margin-top: 5px;\n}\n.cg-tooltip-item-value + .cg-tooltip-item-unit {\n    margin-left: 1px;\n}\n/* Tooltip symbol */\n.cg-tooltip-symbol-cell {\n  display: inline-flex;\n  min-width: 13px; /* 10px size + 3px margin */\n}\n.cg-tooltip-symbol {\n  margin-right: 3px;\n  background-color: transparent;\n  display: block;\n}\n.cg-tooltip-symbol > img {\n  display: block;\n}\n.cg-tooltip-list-cell {\n  display: inline-flex;\n}\n.cg-tooltip-list-symbol {\n  display: block;\n  margin-right: 3px;\n  width: 6px;\n  height: 6px;\n  vertical-align: middle;\n  border-radius: 50%;\n  border: 1px solid rgba(0,0,0,.4);\n}\n.cg-tooltip-symbol-legacy {\n  border-radius: 4px;\n  margin-right: 5px;\n  height: 8px;\n  width: 8px;\n  display: inline-block;\n}\n.cg-tooltip-title-legacy {\n  font-weight: 900;\n}\n\n/* Tooltip symbol circle */\n.cg-tooltip-symbol.circle {\n  height: 10px;\n  width: 10px;\n  display: inline-block;\n  border-radius: 50%;\n  border: 1px solid rgba(0,0,0,.4);\n}\n/* Tooltip symbol line */\n.cg-tooltip-symbol.line {\n    height: 10px;\n    width: 10px;\n    display: inline-block;\n    transform: scale(1.2, 0.2);\n}\n/* Tooltip symbol diamond */\n.cg-tooltip-symbol.diamond {\n    height: 10px;\n    width: 10px;\n    display: inline-block;\n    transform: rotate(45deg);\n    border-radius: 0px;\n}\n/* Tooltip symbol square */\n.cg-tooltip-symbol.square {\n    height: 10px;\n    width: 10px;\n    display: inline-block;\n    border-radius: 0px;\n    border: 1px solid rgba(0,0,0,.4);\n}\n\n","lang":"css"},"children":[]}]}]},{"$$mdtype":"Tag","name":"iframe","attributes":{"src":"https://dc2-documentation.s3.amazonaws.com/documentation/slb-docs-test/5.0/examples/vue/tutorials/index.html#/WellLog/Visuals/LogBar/logBar?section=logBarVisual&extract=true","width":"100%","height":"488.5px","style":{"border":"none"}},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"stacked-bar","__idx":2},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#/WellLog/Visuals/LogBar/logBar#stackedBar"},"children":["#"]}," Stacked Bar"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This example shows how to create a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["geotoolkit/welllog/LogBarVisual"]}," with stacked bar."]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"label":"main","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"ts","header":{"controls":{"copy":{}}},"source":"import { Plot } from \"@int/geotoolkit/plot/Plot.ts\";\nimport { Range } from \"@int/geotoolkit/util/Range.ts\";\nimport { TrackType } from \"@int/geotoolkit/welllog/TrackType.ts\";\nimport { LogBarVisual } from \"@int/geotoolkit/welllog/LogBarVisual.ts\";\nimport { LogData } from \"@int/geotoolkit/welllog/data/LogData.ts\";\nimport { HeaderType } from \"@int/geotoolkit/welllog/header/LogAxisVisualHeader.ts\";\nimport { KnownColors } from \"@int/geotoolkit/util/ColorUtil.ts\";\nimport { createWellLogWidget } from \"/src/code/WellLog/utils/common.ts\";\nfunction createScene(canvas) {\n  const widget = createWellLogWidget({\n    \"tools\": {\n      \"crosshair\": {\n        \"enabled\": false\n      }\n    }\n  }).setAxisHeaderType(HeaderType.Scale).setDepthLimits(100, 500);\n  const depths = [\n    100,\n    116,\n    132,\n    148,\n    164,\n    180,\n    196,\n    212,\n    228,\n    244,\n    260,\n    276,\n    292,\n    308,\n    324,\n    340,\n    356,\n    372,\n    388,\n    404,\n    420,\n    436,\n    452,\n    468,\n    484\n  ];\n  const depths2 = [100, 132, 148, 164, 180, 196, 212, 228, 244, 260, 276, 292, 308, 324, 340, 356, 388, 404, 420, 436, 452, 468, 484];\n  const data1 = new LogData({\n    \"name\": \"CALI\",\n    \"depths\": depths,\n    \"values\": [20, 25, 30, 35, 30, 25, 40, 25, 30, 35, 40, 100, 80, 90, 100, 90, 95, 90, 40, 90, 40, 35, 40, 35, 40]\n  });\n  const logBarVisual1 = new LogBarVisual({\n    \"data\": data1,\n    \"linestyle\": {\n      \"color\": \"#2196f3\",\n      \"width\": 3,\n      \"pixelsnapmode\": true\n    },\n    \"enableautolimits\": false,\n    \"limits\": new Range(0, 400),\n    \"fillstyle\": KnownColors.Orange\n  });\n  const data2 = new LogData({\n    \"name\": \"GR\",\n    \"depths\": depths2,\n    \"values\": [80, 75, 80, 60, 75, 60, 90, 75, 85, 70, 80, 50, 45, 50, 45, 50, 90, 10, 80, 76, 79, 40, 35]\n  });\n  const logBarVisual2 = new LogBarVisual({\n    \"data\": data2,\n    \"linestyle\": {\n      \"color\": \"#2196f3\",\n      \"width\": 3,\n      \"pixelsnapmode\": true\n    },\n    \"fillstyle\": {\n      \"color\": \"#fdd835\"\n    },\n    \"limits\": new Range(0, 400),\n    \"enableautolimits\": false\n  });\n  const logBarVisual3 = new LogBarVisual({\n    \"data\": data1,\n    \"linestyle\": {\n      \"color\": \"#2196f3\",\n      \"width\": 3,\n      \"pixelsnapmode\": true\n    },\n    \"fillstyle\": KnownColors.Green,\n    \"enableautolimits\": false,\n    \"limits\": new Range(0, 400)\n  });\n  const logBarVisual4 = new LogBarVisual({\n    \"data\": data2,\n    \"linestyle\": {\n      \"color\": \"#2196f3\",\n      \"width\": 3,\n      \"pixelsnapmode\": true\n    },\n    \"fillstyle\": {\n      \"color\": KnownColors.Violet\n    },\n    \"limits\": new Range(0, 400),\n    \"enableautolimits\": false\n  });\n  widget.addTrack(TrackType.IndexTrack);\n  widget.addTrack(TrackType.LinearTrack).setWidth(400).addChild([\n    logBarVisual1,\n    logBarVisual2,\n    logBarVisual3,\n    logBarVisual4\n  ]);\n  logBarVisual2.setReferenceBar(logBarVisual1);\n  logBarVisual3.setReferenceBar(logBarVisual2);\n  logBarVisual4.setReferenceBar(logBarVisual3);\n  widget.addTrack(TrackType.IndexTrack);\n  widget.setHeaderHeight(\"auto\");\n  return new Plot({\n    \"canvaselement\": canvas,\n    \"root\": widget\n  });\n}\nexport { createScene };\n\ncreateScene(document.querySelector('[ref=\"plot\"]'));\n\n","lang":"ts"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"css","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"css","header":{"controls":{"copy":{}}},"source":"\n.cg-tooltip-holder {\n  position: relative;\n}\n\n.cg-tooltip {\n  position: absolute;\n  display: block;\n  padding: 2px 12px 3px 7px;\n  overflow: visible !important;\n  font-family: Roboto, Helvetica, Arial, sans-serif;\n  font-size: 13px;\n  background: white !important;\n  opacity: 0.9;\n  color: #333333;\n  border: solid 1px gray;\n  border-radius: 5px;\n  text-align: left;\n  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);\n  border-radius: 5px;\n  margin: 0 !important;\n  z-index: 10000;\n  max-width: 400px;\n  text-wrap: normal !important;\n  white-space: normal !important;\n}\n/* Default setting for tooltip */\n.cg-tooltip-container {\n  position: absolute;\n  display: block;\n  overflow: visible !important;\n  font-family: Roboto, Helvetica, Arial, sans-serif;\n  font-size: 12px;\n  padding: 3px 7px;\n  background: #f7f7f7;\n  color: #333333;\n  border: 1px solid #938e8e;\n  opacity: 0.8;\n  text-align: left;\n  box-shadow: 3px 3px 10px #888;\n  margin: 0 !important;\n  z-index: 10000;\n  max-width: 400px;\n  text-wrap: normal !important;\n  white-space: normal !important;\n  user-select: none;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .cg-tooltip-container {\n    border-radius: 0;\n  }\n}\n/* Default left arrow for tooltip */\n.cg-tooltip-arrow-left::before {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  left: 0;\n  top: 50%;\n  border: 5px solid transparent;\n  border-left: 0;\n  border-right: 5px solid  #938e8e;\n  transform: translate(calc(-100%), -50%);\n}\n.cg-tooltip-arrow-left::after {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  left: 0;\n  top: 50%;\n  border: 4px solid transparent;\n  border-left: 0;\n  border-right: 4px solid #f7f7f7;\n  transform: translate(calc(-100%), -50%);\n}\n/* Default top arrow for tooltip */\n.cg-tooltip-arrow-top::before {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  left: 50%;\n  top: 0;\n  border: 5px solid transparent;\n  border-top: 0;\n  border-bottom: 5px solid #938e8e;\n  transform: translate(-50%, -100%);\n}\n.cg-tooltip-arrow-top::after {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  left: 50%;\n  top: 0;\n  border: 4px solid transparent;\n  border-top: 0;\n  border-bottom: 4px solid #f7f7f7;\n  transform: translate(-50%, -100%);\n}\n/* Default right arrow for tooltip */\n.cg-tooltip-arrow-right::before {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  right: 0;\n  top: 50%;\n  border: 5px solid transparent;\n  border-right: 0;\n  border-left: 5px solid #938e8e;\n  transform: translate(100%, -50%);\n}\n.cg-tooltip-arrow-right::after {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  right: 0;\n  top: 50%;\n  border: 4px solid transparent;\n  border-right: 0;\n  border-left: 4px solid #f7f7f7;\n  transform: translate(100%, -50%);\n}\n/* Default bottom arrow for tooltip */\n.cg-tooltip-arrow-bottom::before {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  left: 50%;\n  bottom: 0px;\n  border: 5px solid transparent;\n  border-bottom: 0;\n  border-top: 5px solid #938e8e;\n  transform: translate(-50%, 100%);\n  z-index: 10000;\n}\n.cg-tooltip-arrow-bottom::after {\n  content: '';\n  position: absolute;\n  display: block;\n  width: 0px;\n  left: 50%;\n  bottom: 0;\n  border: 4px solid transparent;\n  border-bottom: 0;\n  border-top: 4px solid #f7f7f7;\n  transform: translate(-50%, 100%);\n  z-index: 10000;\n}\n/* Tooltip item name */\n/* Tooltip item value */\n/* .cg-tooltip-item-value */\n/* Tooltip item value */\n.cg-tooltip-item-unit {\n  text-transform: none;\n}\n\n.cg-tooltip-item-name {\n    text-transform: capitalize;\n    white-space: nowrap;\n    vertical-align: middle;\n    font-size: 13px;\n}\n.cg-tooltip-row {\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  white-space: pre-wrap;\n  font-size: 12px;\n  line-height: 100%;\n  margin: 1px 0;\n}\n.cg-tooltip-title {\n  font-size: 13px;\n  height: 14px;\n  text-transform: capitalize;\n}\n.cg-tooltip-title .cg-tooltip-symbol {\n  margin-right: 0 !important;\n}\n.cg-tooltip-title-name {\n  vertical-align: middle;\n}\n.cg-tooltip-row + .cg-tooltip-row {\n  margin-top: 4px;\n}\n.cg-tooltip-row.cg-tooltip-title + .cg-tooltip-row {\n  margin-top: 5px;\n}\n.cg-tooltip-item-value + .cg-tooltip-item-unit {\n    margin-left: 1px;\n}\n/* Tooltip symbol */\n.cg-tooltip-symbol-cell {\n  display: inline-flex;\n  min-width: 13px; /* 10px size + 3px margin */\n}\n.cg-tooltip-symbol {\n  margin-right: 3px;\n  background-color: transparent;\n  display: block;\n}\n.cg-tooltip-symbol > img {\n  display: block;\n}\n.cg-tooltip-list-cell {\n  display: inline-flex;\n}\n.cg-tooltip-list-symbol {\n  display: block;\n  margin-right: 3px;\n  width: 6px;\n  height: 6px;\n  vertical-align: middle;\n  border-radius: 50%;\n  border: 1px solid rgba(0,0,0,.4);\n}\n.cg-tooltip-symbol-legacy {\n  border-radius: 4px;\n  margin-right: 5px;\n  height: 8px;\n  width: 8px;\n  display: inline-block;\n}\n.cg-tooltip-title-legacy {\n  font-weight: 900;\n}\n\n/* Tooltip symbol circle */\n.cg-tooltip-symbol.circle {\n  height: 10px;\n  width: 10px;\n  display: inline-block;\n  border-radius: 50%;\n  border: 1px solid rgba(0,0,0,.4);\n}\n/* Tooltip symbol line */\n.cg-tooltip-symbol.line {\n    height: 10px;\n    width: 10px;\n    display: inline-block;\n    transform: scale(1.2, 0.2);\n}\n/* Tooltip symbol diamond */\n.cg-tooltip-symbol.diamond {\n    height: 10px;\n    width: 10px;\n    display: inline-block;\n    transform: rotate(45deg);\n    border-radius: 0px;\n}\n/* Tooltip symbol square */\n.cg-tooltip-symbol.square {\n    height: 10px;\n    width: 10px;\n    display: inline-block;\n    border-radius: 0px;\n    border: 1px solid rgba(0,0,0,.4);\n}\n\n","lang":"css"},"children":[]}]}]},{"$$mdtype":"Tag","name":"iframe","attributes":{"src":"https://dc2-documentation.s3.amazonaws.com/documentation/slb-docs-test/5.0/examples/vue/tutorials/index.html#/WellLog/Visuals/LogBar/logBar?section=stackedBar&extract=true","width":"100%","height":"638.5px","style":{"border":"none"}},"children":[]}]},"headings":[{"value":"Log Bar Visual","id":"log-bar-visual","depth":1},{"value":"Example Log Bar Visuals","id":"example-log-bar-visuals","depth":3},{"value":"Stacked Bar","id":"stacked-bar","depth":3}],"frontmatter":{"title":"Log Bar Visual","seo":{"title":"Log Bar Visual"}},"lastModified":"2026-02-11T19:54:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/geotoolkit/tutorials/well-log/visuals/log-bar","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}