chart.js
Version:
Simple HTML5 charts using the canvas element.
1 lines • 4.38 kB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[55],{386:function(e,t,r){"use strict";r.r(t);var a=r(6),s=Object(a.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"interface-coreinteractionoptions"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#interface-coreinteractionoptions"}},[e._v("#")]),e._v(" Interface: CoreInteractionOptions")]),e._v(" "),r("h2",{attrs:{id:"hierarchy"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#hierarchy"}},[e._v("#")]),e._v(" Hierarchy")]),e._v(" "),r("ul",[r("li",[r("p",[r("strong",[r("code",[e._v("CoreInteractionOptions")])])]),e._v(" "),r("p",[e._v("↳ "),r("RouterLink",{attrs:{to:"/api/interfaces/TooltipOptions.html"}},[r("code",[e._v("TooltipOptions")])])],1)])]),e._v(" "),r("h2",{attrs:{id:"properties"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#properties"}},[e._v("#")]),e._v(" Properties")]),e._v(" "),r("h3",{attrs:{id:"axis"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#axis"}},[e._v("#")]),e._v(" axis")]),e._v(" "),r("p",[e._v("• "),r("strong",[e._v("axis")]),e._v(": "),r("RouterLink",{attrs:{to:"/api/#interactionaxis"}},[r("code",[e._v("InteractionAxis")])])],1),e._v(" "),r("p",[e._v("Defines which directions are used in calculating distances. Defaults to 'x' for 'index' mode and 'xy' in dataset and 'nearest' modes.")]),e._v(" "),r("h4",{attrs:{id:"defined-in"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#defined-in"}},[e._v("#")]),e._v(" Defined in")]),e._v(" "),r("p",[r("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1439",target:"_blank",rel:"noopener noreferrer"}},[e._v("index.esm.d.ts:1439"),r("OutboundLink")],1)]),e._v(" "),r("hr"),e._v(" "),r("h3",{attrs:{id:"includeinvisible"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#includeinvisible"}},[e._v("#")]),e._v(" includeInvisible")]),e._v(" "),r("p",[e._v("• "),r("strong",[e._v("includeInvisible")]),e._v(": "),r("code",[e._v("boolean")])]),e._v(" "),r("p",[e._v("if true, the invisible points that are outside of the chart area will also be included when evaluating interactions.")]),e._v(" "),r("p",[r("strong",[r("code",[e._v("default")])]),e._v(" false")]),e._v(" "),r("h4",{attrs:{id:"defined-in-2"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-2"}},[e._v("#")]),e._v(" Defined in")]),e._v(" "),r("p",[r("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1445",target:"_blank",rel:"noopener noreferrer"}},[e._v("index.esm.d.ts:1445"),r("OutboundLink")],1)]),e._v(" "),r("hr"),e._v(" "),r("h3",{attrs:{id:"intersect"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#intersect"}},[e._v("#")]),e._v(" intersect")]),e._v(" "),r("p",[e._v("• "),r("strong",[e._v("intersect")]),e._v(": "),r("code",[e._v("boolean")])]),e._v(" "),r("p",[e._v("if true, the hover mode only applies when the mouse position intersects an item on the chart.")]),e._v(" "),r("p",[r("strong",[r("code",[e._v("default")])]),e._v(" true")]),e._v(" "),r("h4",{attrs:{id:"defined-in-3"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-3"}},[e._v("#")]),e._v(" Defined in")]),e._v(" "),r("p",[r("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1434",target:"_blank",rel:"noopener noreferrer"}},[e._v("index.esm.d.ts:1434"),r("OutboundLink")],1)]),e._v(" "),r("hr"),e._v(" "),r("h3",{attrs:{id:"mode"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#mode"}},[e._v("#")]),e._v(" mode")]),e._v(" "),r("p",[e._v("• "),r("strong",[e._v("mode")]),e._v(": keyof "),r("RouterLink",{attrs:{to:"/api/interfaces/InteractionModeMap.html"}},[r("code",[e._v("InteractionModeMap")])])],1),e._v(" "),r("p",[e._v("Sets which elements appear in the tooltip. See Interaction Modes for details.")]),e._v(" "),r("p",[r("strong",[r("code",[e._v("default")])]),e._v(" 'nearest'")]),e._v(" "),r("h4",{attrs:{id:"defined-in-4"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-4"}},[e._v("#")]),e._v(" Defined in")]),e._v(" "),r("p",[r("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1429",target:"_blank",rel:"noopener noreferrer"}},[e._v("index.esm.d.ts:1429"),r("OutboundLink")],1)])])}),[],!1,null,null,null);t.default=s.exports}}]);