[{"data":1,"prerenderedAt":446},["ShallowReactive",2],{"navigation_docs":3,"-guides-active-state":172,"-guides-active-state-surround":441},[4,21,77,132],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":20},"Getting Started","i-lucide-rocket","/getting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","/getting-started/introduction","1.getting-started/1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","/getting-started/installation","1.getting-started/2.installation","i-lucide-download",false,{"title":22,"icon":23,"path":24,"stem":25,"children":26,"page":20},"Guides","i-lucide-book-open","/guides","2.guides",[27,32,37,42,47,52,57,62,67,72],{"title":28,"path":29,"stem":30,"icon":31},"Customize","/guides/customize","2.guides/01.customize","i-lucide-paintbrush",{"title":33,"path":34,"stem":35,"icon":36},"Active Index","/guides/active-state","2.guides/02.active-state","i-lucide-mouse-pointer",{"title":38,"path":39,"stem":40,"icon":41},"Domain and Ticks","/guides/domain-and-ticks","2.guides/03.domain-and-ticks","i-lucide-ruler",{"title":43,"path":44,"stem":45,"icon":46},"Axis Ticks","/guides/axis-ticks","2.guides/04.axis-ticks","i-lucide-hash",{"title":48,"path":49,"stem":50,"icon":51},"Chart Size","/guides/chart-size","2.guides/05.chart-size","i-lucide-maximize",{"title":53,"path":54,"stem":55,"icon":56},"Z-Index and Layers","/guides/z-order-and-layers","2.guides/06.z-order-and-layers","i-lucide-layers",{"title":58,"path":59,"stem":60,"icon":61},"Coordinate Systems","/guides/coordinate-systems","2.guides/07.coordinate-systems","i-lucide-crosshair",{"title":63,"path":64,"stem":65,"icon":66},"Performance","/guides/performance","2.guides/08.performance","i-lucide-zap",{"title":68,"path":69,"stem":70,"icon":71},"Rounded Bar Corners","/guides/rounded-bar-corners","2.guides/09.rounded-bar-corners","i-lucide-square",{"title":73,"path":74,"stem":75,"icon":76},"Bar Alignment","/guides/bar-alignment","2.guides/10.bar-alignment","i-lucide-align-center",{"title":78,"icon":79,"path":80,"stem":81,"children":82,"page":20},"Charts","i-lucide-bar-chart-3","/charts","3.charts",[83,88,93,98,103,108,113,118,123,128],{"title":84,"path":85,"stem":86,"icon":87},"Area Chart","/charts/area-chart","3.charts/1.area-chart","i-lucide-area-chart",{"title":89,"path":90,"stem":91,"icon":92},"Treemap","/charts/treemap","3.charts/10.treemap","i-lucide-layout-grid",{"title":94,"path":95,"stem":96,"icon":97},"Bar Chart","/charts/bar-chart","3.charts/2.bar-chart","i-lucide-bar-chart",{"title":99,"path":100,"stem":101,"icon":102},"Line Chart","/charts/line-chart","3.charts/3.line-chart","i-lucide-trending-up",{"title":104,"path":105,"stem":106,"icon":107},"Pie Chart","/charts/pie-chart","3.charts/4.pie-chart","i-lucide-pie-chart",{"title":109,"path":110,"stem":111,"icon":112},"Radar Chart","/charts/radar-chart","3.charts/5.radar-chart","i-lucide-radar",{"title":114,"path":115,"stem":116,"icon":117},"Radial Bar Chart","/charts/radial-bar-chart","3.charts/6.radial-bar-chart","i-lucide-circle-dot",{"title":119,"path":120,"stem":121,"icon":122},"Scatter Chart","/charts/scatter-chart","3.charts/7.scatter-chart","i-lucide-scatter-chart",{"title":124,"path":125,"stem":126,"icon":127},"Funnel Chart","/charts/funnel-chart","3.charts/8.funnel-chart","i-lucide-filter",{"title":129,"path":130,"stem":131,"icon":56},"Composed Chart","/charts/composed-chart","3.charts/9.composed-chart",{"title":133,"icon":134,"path":135,"stem":136,"children":137,"page":20},"Components","i-lucide-code","/components","4.components",[138,143,148,153,158,162,167],{"title":139,"path":140,"stem":141,"icon":142},"Tooltip","/components/tooltip","4.components/1.tooltip","i-lucide-message-square",{"title":144,"path":145,"stem":146,"icon":147},"Legend","/components/legend","4.components/2.legend","i-lucide-list",{"title":149,"path":150,"stem":151,"icon":152},"CartesianGrid","/components/cartesian-grid","4.components/3.cartesian-grid","i-lucide-grid-3x3",{"title":154,"path":155,"stem":156,"icon":157},"Axes","/components/axis","4.components/4.axis","i-lucide-move",{"title":159,"path":160,"stem":161,"icon":61},"Reference Elements","/components/reference-elements","4.components/5.reference-elements",{"title":163,"path":164,"stem":165,"icon":166},"Text","/components/text","4.components/6.text","i-lucide-type",{"title":168,"path":169,"stem":170,"icon":171},"Customized","/components/customized","4.components/7.customized","i-lucide-pencil-ruler",{"id":173,"title":33,"body":174,"description":434,"extension":435,"links":436,"meta":437,"navigation":438,"path":34,"seo":439,"stem":35,"__hash__":440},"docs/2.guides/02.active-state.md",{"type":175,"value":176,"toc":427},"minimark",[177,186,191,197,203,210,214,221,226,229,233,242,298,302,318,385,389,396,423],[178,179,180,181,185],"p",{},"The active index determines which data point the tooltip highlights. vccs manages this internally — you control it through the ",[182,183,184],"code",{},"\u003CTooltip>"," component's props.",[187,188,190],"h2",{"id":189},"default-index","Default index",[178,192,193,194,196],{},"Show a tooltip on initial render by setting ",[182,195,189],{},":",[198,199],"chart-demo",{"description":200,"name":201,"src":202},"Bar chart with tooltip pre-selected at index 2 on initial render.","Default Index","guide-charts/default-index-chart",[178,204,205,206,209],{},"The tooltip will appear at index ",[182,207,208],{},"2"," when the chart first renders. Users can still hover to change the active index.",[187,211,213],{"id":212},"click-based-activation","Click-based activation",[178,215,216,217,220],{},"Use ",[182,218,219],{},"trigger=\"click\""," so the tooltip only appears when the user clicks:",[198,222],{"description":223,"name":224,"src":225},"Bar chart where tooltip activates on click. Click any bar to see.","Click Tooltip","guide-charts/click-tooltip-chart",[178,227,228],{},"The tooltip stays visible until the user clicks elsewhere.",[187,230,232],{"id":231},"controlled-tooltip","Controlled tooltip",[178,234,235,236,239,240,196],{},"Force the tooltip to always show by combining ",[182,237,238],{},"active"," with ",[182,241,189],{},[243,244,249],"pre",{"className":245,"code":246,"language":247,"meta":248,"style":248},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003CTooltip :active=\"true\" :default-index=\"3\" />\n","vue","",[182,250,251],{"__ignoreMap":248},[252,253,256,260,263,266,269,272,275,279,281,283,285,287,289,293,295],"span",{"class":254,"line":255},"line",1,[252,257,259],{"class":258},"sMK4o","\u003C",[252,261,139],{"class":262},"swJcz",[252,264,265],{"class":258}," :",[252,267,238],{"class":268},"spNyl",[252,270,271],{"class":258},"=",[252,273,274],{"class":258},"\"",[252,276,278],{"class":277},"sfNiH","true",[252,280,274],{"class":258},[252,282,265],{"class":258},[252,284,189],{"class":268},[252,286,271],{"class":258},[252,288,274],{"class":258},[252,290,292],{"class":291},"sbssI","3",[252,294,274],{"class":258},[252,296,297],{"class":258}," />\n",[187,299,301],{"id":300},"shared-vs-item-tooltips","Shared vs item tooltips",[178,303,304,305,309,310,313,314,317],{},"By default, tooltips show data from ",[306,307,308],"strong",{},"all series"," at the hovered index (",[182,311,312],{},"shared"," mode). Set ",[182,315,316],{},":shared=\"false\""," to only show data from the nearest series:",[243,319,321],{"className":245,"code":320,"language":247,"meta":248,"style":248},"\u003C!-- Show all series at index (default) -->\n\u003CTooltip :shared=\"true\" />\n\n\u003C!-- Show only the hovered series -->\n\u003CTooltip :shared=\"false\" />\n",[182,322,323,329,350,357,363],{"__ignoreMap":248},[252,324,325],{"class":254,"line":255},[252,326,328],{"class":327},"sHwdD","\u003C!-- Show all series at index (default) -->\n",[252,330,332,334,336,338,340,342,344,346,348],{"class":254,"line":331},2,[252,333,259],{"class":258},[252,335,139],{"class":262},[252,337,265],{"class":258},[252,339,312],{"class":268},[252,341,271],{"class":258},[252,343,274],{"class":258},[252,345,278],{"class":277},[252,347,274],{"class":258},[252,349,297],{"class":258},[252,351,353],{"class":254,"line":352},3,[252,354,356],{"emptyLinePlaceholder":355},true,"\n",[252,358,360],{"class":254,"line":359},4,[252,361,362],{"class":327},"\u003C!-- Show only the hovered series -->\n",[252,364,366,368,370,372,374,376,378,381,383],{"class":254,"line":365},5,[252,367,259],{"class":258},[252,369,139],{"class":262},[252,371,265],{"class":258},[252,373,312],{"class":268},[252,375,271],{"class":258},[252,377,274],{"class":258},[252,379,380],{"class":277},"false",[252,382,274],{"class":258},[252,384,297],{"class":258},[187,386,388],{"id":387},"tooltip-event-types","Tooltip event types",[178,390,391,392,395],{},"Charts have a ",[182,393,394],{},"tooltip-event-type"," that determines how the tooltip activates:",[397,398,399,406],"ul",{},[400,401,402,405],"li",{},[182,403,404],{},"'axis'"," (default for most charts): Activates when hovering anywhere along the axis, showing all items at that index",[400,407,408,411,412,415,416,415,419,422],{},[182,409,410],{},"'item'"," (default for ",[182,413,414],{},"ScatterChart",", ",[182,417,418],{},"PieChart",[182,420,421],{},"FunnelChart","): Activates when hovering directly over an item",[424,425,426],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":248,"searchDepth":331,"depth":331,"links":428},[429,430,431,432,433],{"id":189,"depth":331,"text":190},{"id":212,"depth":331,"text":213},{"id":231,"depth":331,"text":232},{"id":300,"depth":331,"text":301},{"id":387,"depth":331,"text":388},"Control which data point is highlighted in the tooltip","md",null,{},{"icon":36},{"title":33,"description":434},"pfK0-En3C3oaGXiKu5qX6f5-UT1sCJPz3t97iTMuYws",[442,444],{"title":28,"path":29,"stem":30,"description":443,"icon":31,"children":-1},"Learn how to customize chart appearance using slots, Cell, and SVG attributes",{"title":38,"path":39,"stem":40,"description":445,"icon":41,"children":-1},"Configure axis range, data domain, and tick formatting",1775472912789]