Skip to content

Commit

Permalink
Merge branch 'main' into feature/2025
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSiefke authored Dec 21, 2024
2 parents d82debb + 438d92b commit 88138c0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/charts/src/parts/Charts/Charts.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ export * as PromiseCount from '../CreatePromiseCountChart/CreatePromiseCountChar
export * as RegexCount from '../CreateRegexCountChart/CreateRegexCountChart.js'
export * as StringCount from '../CreateStringCountChart/CreateStringCountChart.js'
export * as SymbolCount from '../CreateSymbolCountChart/CreateSymbolCountChart.js'
export * as TypedArrayCount from '../CreateTypedArrayCountChart/CreateTypedArrayCountChart.js'
export * as WeakMapCount from '../CreateWeakMapCountChart/CreateWeakMapCountChart.js'
export * as WeakSetCount from '../CreateWeakSetCountChart/CreateWeakSetCountChart.js'
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import * as CreateChart from '../CreateChart/CreateChart.js'
import * as GetTypedArrayCountsData from '../GetTypedArrayCountsData/GetTypedArrayCountsData.js'

export const name = 'typed-array-count'

export const getData = GetTypedArrayCountsData.getTypedArrayCountsData

export const createChart = (data) => {
return CreateChart.createChart(data, {
x: 'index',
y: 'count',
xLabel: 'Index',
yLabel: 'Typed Array Count',
})
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import * as GetCountData from '../GetCountData/GetCountData.js'

export const getTypedArrayCountsData = () => {
return GetCountData.getCountData('typed-array-count', 'typedArrayCount')
}

0 comments on commit 88138c0

Please sign in to comment.