1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20664],{20397:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>g});var s=i(80384),o=i(19340),a=i(53982),r=i.n(a),n=i(35586),d=i(62686),l=i(48207),c=i(65308),p=i(79369),u=i(68274),h=i(19684),m=i(5379),b=i(98190),x=i(84682),f=i(39718);function y(e){let{hash:t,level:i="h2"}=e,o=(0,p.WD)();return(0,s.jsx)(x._,{title:{demos:o("api-docs.demos"),import:o("api-docs.import")}[t]||t,hash:t,level:i})}function g(e){let{descriptions:t,pageContent:i,defaultLayout:a="expanded",layoutStorageKey:r=m.RB}=e,x=(0,p.WD)(),{demos:g,properties:v}=i,{propertiesDescriptions:k,interfaceDescription:C}=t,T=x("api-docs.interfacePageDescription").replace(/{{name}}/,i.name);return(0,s.jsxs)(b.d2,{description:T,disableToc:!1,toc:[],location:"",title:`${i.name} API`,disableAd:!0,children:[(0,s.jsxs)(h.SW,{children:[(0,s.jsxs)("h1",{children:[i.name," API"]}),(0,s.jsx)(n.A,{variant:"h5",component:"p",className:"description",gutterBottom:!0,dangerouslySetInnerHTML:{__html:T}}),(0,s.jsx)(y,{hash:"demos"}),g&&(0,s.jsx)(d.A,{severity:"success",variant:"outlined",icon:(0,s.jsx)(l.A,{sx:{fontSize:20}}),sx:[e=>({mt:1.5,pt:1,px:2,pb:0,fontSize:e.typography.pxToRem(16),backgroundColor:(e.vars||e).palette.success[50],borderColor:(e.vars||e).palette.success[100],"& * p":{mb:1},"& * a":{fontWeight:e.typography.fontWeightMedium,color:(e.vars||e).palette.success[900],textDecorationColor:(0,c.X4)(e.palette.success[600],.3)},...e.applyDarkStyles({"& * a":{color:(e.vars||e).palette.success[100],textDecorationColor:(0,c.X4)(e.palette.success[100],.3)},backgroundColor:(0,c.X4)(e.palette.success[700],.15),borderColor:(0,c.X4)(e.palette.success[600],.3)})})],children:(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:`<p>For examples and details on the usage, check the following pages:</p> 2 ${g}`}})}),(0,s.jsx)(y,{hash:"import"}),(0,s.jsx)(u.HighlightedCode,{code:i.imports.join(` 3// ${x("or")} 4`),language:"jsx"}),C?(0,s.jsxs)(o.Fragment,{children:[(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:C}})]}):null,(0,s.jsx)(m.dL,{properties:function(e){let{properties:t,propertiesDescriptions:i,interfaceName:s,showOptionalAbbr:o=!1}=e;return Object.entries(t).map(([e,t])=>{let a=t.required&&!o,r=!t.required&&o,n=t.type.description,d=t.default,l=i[e];return{propName:e,hash:`${(0,f.k)(s)}-prop-${e}`,propertyName:e,description:l?.description,isOptional:r,isRequired:a,typeName:n,propDefault:d,isProPlan:t.isProPlan,isPremiumPlan:t.isPremiumPlan}})}({propertiesDescriptions:k,properties:v,interfaceName:i.name,showOptionalAbbr:!0}),title:"api-docs.properties",titleHash:"properties",defaultLayout:a,layoutStorageKey:r.props})]}),(0,s.jsx)("svg",{style:{display:"none"},children:(0,s.jsx)("symbol",{id:"anchor-link-icon",viewBox:"0 0 12 6",children:(0,s.jsx)("path",{d:"M8.9176 0.083252H7.1676C6.84677 0.083252 6.58427 0.345752 6.58427 0.666585C6.58427 0.987419 6.84677 1.24992 7.1676 1.24992H8.9176C9.8801 1.24992 10.6676 2.03742 10.6676 2.99992C10.6676 3.96242 9.8801 4.74992 8.9176 4.74992H7.1676C6.84677 4.74992 6.58427 5.01242 6.58427 5.33325C6.58427 5.65409 6.84677 5.9
41659 7.1676 5.91659H8.9176C10.5276 5.91659 11.8343 4.60992 11.8343 2.99992C11.8343 1.38992 10.5276 0.083252 8.9176 0.083252ZM3.6676 2.99992C3.6676 3.32075 3.9301 3.58325 4.25094 3.58325H7.75094C8.07177 3.58325 8.33427 3.32075 8.33427 2.99992C8.33427 2.67909 8.07177 2.41659 7.75094 2.41659H4.25094C3.9301 2.41659 3.6676 2.67909 3.6676 2.99992ZM4.83427 4.74992H3.08427C2.12177 4.74992 1.33427 3.96242 1.33427 2.99992C1.33427 2.03742 2.12177 1.24992 3.08427 1.24992H4.83427C5.1551 1.24992 5.4176 0.987419 5.4176 0.666585C5.4176 0.345752 5.1551 0.083252 4.83427 0.083252H3.08427C1.47427 0.083252 0.167603 1.38992 0.167603 2.99992C0.167603 4.60992 1.47427 5.91659 3.08427 5.91659H4.83427C5.1551 5.91659 5.4176 5.65409 5.4176 5.33325C5.4176 5.01242 5.1551 4.74992 4.83427 4.74992Z"})})})]})}y.propTypes={hash:r().string.isRequired,level:r().string}},33533:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},53982:(e,t,i)=>{e.exports=i(87250)()},62498:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});let s={defaultLayout:"expanded",layoutStorageKey:{slots:"dataGrid_apiPage_slots",props:"dataGrid_apiPage_props",classes:"dataGrid_apiPage_classes"}}},68052:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(80384);i(19340);var o=i(20397),a=i(62498);let r={interfaceDescription:"Use this type for advanced typing. For basic usage, use <code>XAxis</code> or <code>YAxis</code>.",propertiesDescriptions:{id:{description:"ID used to identify the axis.<br /><br />The ID must be unique across all axes in this chart."},scaleType:{description:""},axis:{description:""},classes:{description:"Override or extend the styles applied to the component."},className:{description:"A CSS class name applied to the root element."},colorMap:{description:""},data:{description:"The data used by <code>'band'</code> and <code>'point'</code> scales."},dataKey:{description:"The key used to retrieve <code>data</code> from the <code>dataset</code> prop."},disableLine:{description:"If true, the axis line is disabled."},disableTicks:{description:"If true, the ticks are disabled."},domainLimit:{description:"Defines the axis scale domain based on the min/max values of series linked to it.<br />- 'nice': Rounds the domain at human friendly values.<br />- 'strict': Set the domain to the min/max value provided. No extra space is added.<br />- function: Receives the calculated extremums as parameters, and should return the axis domain."},domainSeries:{description:"Defines the series used to compute the axis domain."},height:{description:"The height of the axis.<br />Set to <code>'auto'</code> to automatically calculate the height based on tick label measurements."},hideTooltip:{description:"If <code>true</code>, hide this value in the tooltip"},ignoreTooltip:{description:"If <code>true</code>, the axis will be ignored by the tooltip with <code>trigger='axis'</code>."},label:{description:"The label of the axis."},labelStyle:{description:"The style applied to the axis label."},offset:{description:"The offset of the axis in pixels. It can be used to move the axis from its default position.<br />X-axis: A top axis will move up, and a bottom axis will move down.<br />Y-axis: A left axis will move left, and a right axis will move right."},position:{description:"Position of the axis.<br /><br />When set, the space for the axis is reserved, even if the axis is not displayed due to missing data.<br /><br />Set to 'none' to hide the axis.<br /><br />The first axis in the list will always have a default position."},reverse:{description:"If <code>true</code>, Reverse the axis scaleBand."},slotProps:{description:"The props used for each component slot."},slots:{description:"Overridable component slots."},sx:{description:""},tickInterval:{description:"Defines which ticks are displayed.<br />Its value can be:<br />- 'auto' In such case the ticks are computed based on axis scale and other parameters.<br />- a filtering function of the form <code>(value, index) =&gt; boolean</code> which is available only if the axis has "point" scale.<br />- an array containing the values where ticks should be displayed."},tickLabelInterval:{description:"Defines which ticks get its label displayed. Its value can be:<br />- 'auto' In such case, labels are displayed if they do not overlap with the previous one.<br />- a filtering function of the form (value, index) => boolean. Warning: the index is tick index, not data ones."},tickLabelPlacement:{description:"The placement of ticks label. Can be the middle of the band, or the tick position.<br />Only used if scale is 'band'."},tickLabelStyle:{description:"The style applied to ticks text."},tickMaxStep:{description:"Maximal step between two ticks.<br />When using time data, the value is assumed to be in ms.<br />Not supported by categorical axis (band, points)."},tickMinStep:{description:"Minimal step between two ticks.<br />When using time data, the value is assumed to be in ms.<br />Not supported by categorical axis (band, points)."},tickNumber:{description:"The number of ticks. This number is not guaranteed.<br />Not supported by categorical axis (band, points)."},tickPlacement:{description:"The placement of ticks in regard to the band interval.<br />Only used if scale is 'band'."},tickSize:{description:"The size of the ticks."},tickSpacing:{description:"The minimum space between ticks when using an ordinal scale. It defines the minimum distance in pixels between two ticks."},valueFormatter:{description:"Formats the axis value."},valueGetter:{description:"A function to extract and transform the value from the <code>dataset</code> item.<br />It receives the full dataset item and should return the axis value.<br />Can be used as an alternative to <code>dataKey</code>."},width:{description:"The width of the axis.<br />Set to <code>'auto'</code> to automatically calculate the width based on tick label measurements."},zoom:{description:""}}},n=JSON.parse('{"name":"AxisConfig","imports":["import { AxisConfig } from \'@mui/x-charts-premium\'","import { AxisConfig } from \'@mui/x-charts-pro\'","import { AxisConfig } from \'@mui/x-charts\'"],"properties":{"id":{"type":{"description":"AxisId"},"required":true},"scaleType":{"type":{"description":"\'linear\'"},"required":true},"axis":{"type":{"description":"\'x\'"}},"classes":{"type":{"description":"Partial<
4ChartsAxisClasses>"}},"className":{"type":{"description":"string"}},"colorMap":{"type":{"description":"ContinuousColorConfig | PiecewiseColorConfig"}},"data":{"type":{"description":"readonly V[]"}},"dataKey":{"type":{"description":"string"}},"disableLine":{"type":{"description":"boolean"},"default":"false"},"disableTicks":{"type":{"description":"boolean"},"default":"false"},"domainLimit":{"type":{"description":"\'nice\' | \'strict\' | ((min: NumberValue, max: NumberValue) => { min: NumberValue; max: NumberValue })"}},"domainSeries":{"type":{"description":"\'all\' | \'visible\'"},"default":"\\"all\\""},"height":{"type":{"description":"AxisProps extends ChartsXAxisProps ? number | \'auto\' : never"},"default":"45 if an axis label is provided, 25 otherwise."},"hideTooltip":{"type":{"description":"boolean"}},"ignoreTooltip":{"type":{"description":"boolean"}},"label":{"type":{"description":"string"}},"labelStyle":{"type":{"description":"ChartsTextProps[\'style\']"}},"offset":{"type":{"description":"number"},"default":"0"},"position":{"type":{"description":"(AxisProps extends ChartsXAxisProps ? \'top\' | \'bottom\' : \'none\') | (AxisProps extends ChartsYAxisProps ? \'left\' | \'right\' : \'none\') | \'none\'"}},"reverse":{"type":{"description":"boolean"}},"slotProps":{"type":{"description":"Partial<ChartsAxisSlotProps>"},"default":"{}"},"slots":{"type":{"description":"Partial<ChartsAxisSlots>"},"default":"{}"},"sx":{"type":{"description":"SxProps"}},"tickInterval":{"type":{"description":"\'auto\' | ((value: any, index: number) => boolean) | any[]"},"default":"\'auto\'"},"tickLabelInterval":{"type":{"description":"\'auto\' | ((value: any, index: number) => boolean)"},"default":"\'auto\'"},"tickLabelPlacement":{"type":{"description":"\'middle\' | \'tick\'"},"default":"\'middle\'"},"tickLabelStyle":{"type":{"description":"ChartsTextProps[\'style\']"}},"tickMaxStep":{"type":{"description":"number"}},"tickMinStep":{"type":{"description":"number"}},"tickNumber":{"type":{"description":"number"}},"tickPlacement":{"type":{"description":"\'start\' | \'end\' | \'middle\' | \'extremities\'"},"default":"\'extremities\'"},"tickSize":{"type":{"description":"number"},"default":"6"},"tickSpacing":{"type":{"description":"number"},"default":"0"},"valueFormatter":{"type":{"description":"<TScaleName extends S>(value: V, context: AxisValueFormatterContext<TScaleName>) => string"}},"valueGetter":{"type":{"description":"(item: DatasetElementType<unknown>) => V"}},"width":{"type":{"description":"AxisProps extends ChartsYAxisProps ? number | \'auto\' : never"},"default":"65 if an axis label is provided, 45 otherwise."},"zoom":{"type":{"description":"boolean | ZoomOptions"},"isProPlan":true}}}');function d(){return(0,s.jsx)(o.Ay,{...a.A,descriptions:r,pageContent:n})}},87250:(e,t,i)=>{"use strict";var s=i(33533);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,i,o,a,r){if(r!==s){var n=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw n.name="Invariant Violation",n}}function t(){return e}e.isRequired=e;var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return i.PropTypes=i,i}},94717:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/x/api/charts/axis-config",function(){return i(68052)}])}},e=>{e.O(0,[76724,20233,22034,71568,19684,5379,90636,46593,38792],()=>e(e.s=94717)),_N_E=e.O()}]); 5//# sourceMappingURL=axis-config-f02ad03887258479.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.