PageSourceSearch

https://www.profitbookshq.com/assets/controllers/charts/items_barc…df2b37e1986dcb5266060ebd129425ba8f83afe2.js

js profitbookshq.com collected 2026-10-08 16:54:06 UTC 645 bytes, 1 lines download raw bytes

1"use strict";import{Controller}from"@hotwired/stimulus";import{loadChart}from"controllers/charts/chart_loader";export default class ItemsBarchart extends Controller{static values={sets:Array,labels:Array};async connect(){this.Chart=await loadChart(),this.element.isConnected&&this.itemsBarChart()}itemsBarChart(){const t=this.getBarData(),a=this.getBarOptions();new this.Chart(this.element,{type:"bar",data:t,options:a})}getBarData(){return{labels:this.labelsValue,datasets:[{data:this.setsValue,backgroundColor:"rgba(135, 206, 235, 0.2)",borderColor:"#87CEEB",borderWidth:1,label:"Items By Quantity"}]}}getBarOptions(){return{resizeDelay:2e3}}}

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.