Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/britecharts/britecharts
/ functions
Functions
773 in github.com/britecharts/britecharts
⨍
Functions
773
◇
Types & classes
0
↓ 1 callers
Function
buildColorScale
* Builds color scale for chart, if any colorSchema was defined * @private
src/charts/donut.js:173
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the chart, the axis and a wrapper for all of them * NOTE: The order of drawing of this group elements is really impor
src/charts/line.js:479
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the chart, the axis and a wrapper for all of them * Also applies the Margin convention * @private
src/charts/step.js:149
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the tooltip * Also applies the Margin convention * @private
src/charts/tooltip.js:152
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the chart, the axis and a wrapper for all of them * NOTE: The order of drawing of this group elements is really impor
src/charts/grouped-bar.js:253
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the chart, the axis and a wrapper for all of them * NOTE: The order of drawing of this group elements is really impor
src/charts/stacked-bar.js:238
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the chart, the axis and a wrapper for all of them * Also applies the Margin convention * @private
src/charts/brush.js:189
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the legend * Also applies the Margin convention * @private
src/charts/legend.js:162
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the chart, the axis and a wrapper for all of them * Also applies the Margin convention * @return {void}
src/charts/heatmap.js:142
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the tooltip * Also applies the Margin convention * @private
src/charts/mini-tooltip.js:116
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the chart, the axis and a wrapper for all of them * Also applies the Margin convention * @private
src/charts/bar.js:236
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the chart, the axis and a wrapper for all of them * NOTE: The order of drawing of this group elements is really impor
src/charts/stacked-area.js:374
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the chart, the legend and a wrapper for all of them * @private
src/charts/donut.js:183
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the chart, the axis and a wrapper for all of them * NOTE: The order of drawing of this group elements is really impor
src/charts/sparkline.js:148
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the chart, including the chart axis, * chart, and metadata groups. * @return {void} * @private
src/charts/scatter-plot.js:264
↓ 1 callers
Function
buildContainerGroups
* Builds containers for the chart, the axis and a wrapper for all of them * Also applies the Margin convention * @return {void}
src/charts/bullet.js:158
↓ 1 callers
Function
buildGradient
* Builds the gradient element to be used later * @return {void}
src/charts/line.js:507
↓ 1 callers
Function
buildGradient
* Creates the gradient on the area * @return {void}
src/charts/brush.js:215
↓ 1 callers
Function
buildGradient
* Builds the gradient element to be used later * @return {void} * @private
src/charts/bar.js:269
↓ 1 callers
Function
buildLayers
* Builds the grouped layers layout * @return {D3Layout} Layout for drawing the chart * @private
src/charts/grouped-bar.js:281
↓ 1 callers
Function
buildLayers
* Builds the stacked layers layout * @return {D3Layout} Layout for drawing the chart * @private
src/charts/stacked-bar.js:266
↓ 1 callers
Function
buildLayers
* Builds the stacked layers layout * @return {D3Layout} Layout for drawing the chart * @private
src/charts/stacked-area.js:402
↓ 1 callers
Function
buildLayout
* Builds the pie layout that will produce data ready to draw * @private
src/charts/donut.js:200
↓ 1 callers
Function
buildNav
* Create the navigation sidebar. * @param {object} members The members that will be used to create the sidebar. * @param {array<object>} members.cla
src/doc/template/publish.js:403
↓ 1 callers
Function
buildSVG
* Builds the SVG element that will contain the chart * * @param {HTMLElement} container DOM element that will work as the container
src/charts/line.js:598
↓ 1 callers
Function
buildSVG
* Builds the SVG element that will contain the chart * @param {HTMLElement} container DOM element that will work as the container of the gra
src/charts/step.js:195
↓ 1 callers
Function
buildSVG
* Builds the SVG element that will contain the chart * @param {HTMLElement} container DOM element that will work as the container of the gra
src/charts/tooltip.js:165
↓ 1 callers
Function
buildSVG
* @param {HTMLElement} container DOM element that will work as the container of the graph * @private
src/charts/grouped-bar.js:353
↓ 1 callers
Function
buildSVG
* @param {HTMLElement} container DOM element that will work as the container of the graph * @private
src/charts/stacked-bar.js:327
↓ 1 callers
Function
buildSVG
* Builds the SVG element that will contain the chart * @param {HTMLElement} container DOM element that will work as the container of the gra
src/charts/brush.js:255
↓ 1 callers
Function
buildSVG
* Builds the SVG element that will contain the chart * @param {HTMLElement} container DOM element that will work as the container of the gra
src/charts/legend.js:186
↓ 1 callers
Function
buildSVG
* Builds the SVG element that will contain the chart * @param {HTMLElement} container DOM element that will work as the container of the gra
src/charts/heatmap.js:122
↓ 1 callers
Function
buildSVG
* Builds the SVG element that will contain the chart * @param {HTMLElement} container DOM element that will work as the container of the gra
src/charts/mini-tooltip.js:130
↓ 1 callers
Function
buildSVG
* Builds the SVG element that will contain the chart * @param {HTMLElement} container DOM element that will work as the container of the gra
src/charts/bar.js:341
↓ 1 callers
Function
buildSVG
* @param {HTMLElement} container DOM element that will work as the container of the graph * @private
src/charts/stacked-area.js:559
↓ 1 callers
Function
buildSVG
* Builds the SVG element that will contain the chart * * @param {HTMLElement} container DOM element that will work as the container
src/charts/donut.js:223
↓ 1 callers
Function
buildSVG
* Builds the SVG element that will contain the chart * @param {HTMLElement} container DOM element that will work as the container of the gra
src/charts/sparkline.js:181
↓ 1 callers
Function
buildSVG
* Builds the SVG element that will contain the chart * @param {HTMLElement} container A DOM element that will work as * the containe
src/charts/scatter-plot.js:356
↓ 1 callers
Function
buildSVG
* Builds the SVG element that will contain the chart * @param {HTMLElement} container DOM element that will work as the container of the gra
src/charts/bullet.js:211
↓ 1 callers
Function
buildScales
* Creates the x and y scales of the graph * @private
src/charts/line.js:533
↓ 1 callers
Function
buildScales
* Creates the x and y scales of the graph * @private
src/charts/step.js:179
↓ 1 callers
Function
buildScales
* Creates the x, y and color scales of the chart * @private
src/charts/grouped-bar.js:297
↓ 1 callers
Function
buildScales
* Creates the x, y and color scales of the chart * @private
src/charts/stacked-bar.js:285
↓ 1 callers
Function
buildScales
* Creates the x and y scales of the graph * @private
src/charts/brush.js:240
↓ 1 callers
Function
buildScales
* Creates the scales for the heatmap chart * @return void
src/charts/heatmap.js:181
↓ 1 callers
Function
buildScales
* Creates the x and y scales of the graph * @private
src/charts/bar.js:295
↓ 1 callers
Function
buildScales
* Creates the x, y and color scales of the chart * @private
src/charts/stacked-area.js:509
↓ 1 callers
Function
buildScales
* Creates the x, y and color scales of the chart * @private
src/charts/sparkline.js:166
↓ 1 callers
Function
buildScales
* Creates the x and y scales of the chart * @return {void} * @private
src/charts/scatter-plot.js:306
↓ 1 callers
Function
buildScales
* Creates the x scales of the chart * @return {void} * @private
src/charts/bullet.js:184
↓ 1 callers
Function
buildShape
* Builds the shape function * @private
src/charts/donut.js:211
↓ 1 callers
Function
buildVoronoi
* Draws the voronoi component in the chart. * @return {void} * @private
src/charts/scatter-plot.js:291
↓ 1 callers
Function
buildXAxisScale
* Creates the xScale depending on the settings of * xAxisValueType and xAxisScale * @private
src/charts/line.js:555
↓ 1 callers
Function
buildXAxisScale
* Creates the xScale depending on the settings of * xAxisValueType and xAxisScale * @private
src/charts/stacked-area.js:523
↓ 1 callers
Function
buildYAxisScale
* Creates the yScale * @private
src/charts/line.js:580
↓ 1 callers
Function
buildYAxisScale
* Creates the yScale * @private
src/charts/stacked-area.js:545
↓ 1 callers
Function
bulletWidth
* Calculates width for each bullet using scale * @return {void} * @private
src/charts/bullet.js:230
↓ 1 callers
Function
calcLinearRegression
* Returns an object that contains necessary coordinates for drawing the trendline. The * calculation of slope and y-intercept uses basic accumula
src/charts/helpers/number.js:63
↓ 1 callers
Function
calculatePercent
(value, total, decimals)
src/charts/helpers/number.js:98
↓ 1 callers
Function
centerInlineLegendOnSVG
* Centers the legend on the chart given that is a single line of labels * @return {void} * @private
src/charts/legend.js:205
↓ 1 callers
Function
centerVerticalLegendOnSVG
* Centers the legend on the chart given that is a stack of labels * @return {void} * @private
src/charts/legend.js:221
↓ 1 callers
Function
centeredTextFunction
(d)
src/charts/donut.js:119
↓ 1 callers
Function
cleanContent
* Resets the tooltipBody content * @return void * @private
src/charts/tooltip.js:189
↓ 1 callers
Function
cleanData
* Parses dates and values into JS Date objects and numbers * @param {obj} dataByTopic Raw data grouped by topic * @return {obj}
src/charts/line.js:617
↓ 1 callers
Function
cleanData
* Cleaning data casting the values and keys to the proper type while keeping * the rest of properties on the data * @param {StepCha
src/charts/step.js:215
↓ 1 callers
Function
cleanData
* Cleaning data casting the values, groups, topic names and names to the proper type while keeping * the rest of properties on the data
src/charts/grouped-bar.js:374
↓ 1 callers
Function
cleanData
* Cleaning data casting the values, stacks, names and topic names to the proper type while keeping * the rest of properties on the data
src/charts/stacked-bar.js:348
↓ 1 callers
Function
cleanData
* Cleaning data casting the values and dates to the proper type while keeping * the rest of properties on the data * @param {BrushC
src/charts/brush.js:276
↓ 1 callers
Function
cleanData
* Makes sure the types of the data are right and checks if it has quantities * @param {LegendChartData} data * @private
src/charts/legend.js:237
↓ 1 callers
Function
cleanData
* Cleaning data casting the values to the proper * type while keeping the rest of properties on the data. It * also creates a set of
src/charts/heatmap.js:166
↓ 1 callers
Function
cleanData
* Cleaning data casting the values and names to the proper type while keeping * the rest of properties on the data * It also creates
src/charts/bar.js:363
↓ 1 callers
Function
cleanData
* Cleaning data casting the values and dates to the proper type while keeping * the rest of properties on the data. It creates fake data is t
src/charts/stacked-area.js:605
↓ 1 callers
Function
cleanData
* Cleaning data casting the quantities, names and percentages to the proper type while keeping * the rest of properties on the data. It also
src/charts/donut.js:250
↓ 1 callers
Function
cleanData
* Cleaning data casting the values and dates to the proper type while keeping * the rest of properties on the data * @param {Sparkl
src/charts/sparkline.js:202
↓ 1 callers
Function
cleanData
* Cleaning data casting the values and names to the proper type while keeping * the rest of properties on the data * @param {Scatte
src/charts/scatter-plot.js:377
↓ 1 callers
Function
cleanData
* Cleaning data casting the values and names to the proper * type while keeping the rest of properties on the data. It * also create
src/charts/bullet.js:246
↓ 1 callers
Function
cleanDataPointHighlights
* Removes all the datapoints highlighter circles added to the marker container * @return void
src/charts/line.js:684
↓ 1 callers
Function
cleanDataPointHighlights
* Removes all the datapoints highlighter circles added to the marker container * @return void * @private
src/charts/stacked-area.js:966
↓ 1 callers
Function
cleanLegend
* Cleans any value that could be on the legend text element * @private
src/charts/donut.js:285
↓ 1 callers
Function
cloneData
* Clones the passed array of data * @param {Object[]} dataToClone Data to clone * @return {Object[]} Cloned data
src/charts/brush.js:290
↓ 1 callers
Function
cn
(e,t,n)
src/doc/template/static/scripts/prettify/jquery.min.js:6
↓ 1 callers
Function
convertMillisecondsToDays
(milliseconds)
src/charts/helpers/date.js:38
↓ 1 callers
Function
createAnalyzerContext
(parserContext, partialContext, options)
src/doc/template/static/scripts/sunlight.js:835
↓ 1 callers
Function
createBetweenRule
(startIndex, opener, closer, caseInsensitive)
src/doc/template/static/scripts/sunlight.js:337
↓ 1 callers
Function
createBrushChart
()
demos/src/demo-brush.js:13
↓ 1 callers
Function
createCanvas
* Create Canvas * @param {number} width * @param {number} height * @return {object} TYPE canvas element
src/charts/helpers/export.js:99
↓ 1 callers
Function
createCodeReader
(text)
src/doc/template/static/scripts/sunlight.js:123
↓ 1 callers
Function
createColors
()
demos/src/demo-color.js:6
↓ 1 callers
Function
createEditors
({dataInputId, chartInputId})
sandbox/helpers/editorHelpers.js:14
↓ 1 callers
Function
createFakeData
* Creates fake data for when data is an empty array * @return {array} Fake data built from emptyDataConfig settings
src/charts/stacked-area.js:577
↓ 1 callers
Function
createGradients
* Creates the gradient on the area below the line * @return {void}
src/charts/sparkline.js:215
↓ 1 callers
Function
createGradients
()
demos/src/demo-color.js:25
↓ 1 callers
Function
createImage
* Create Image * @param {string} svgHtml string representation of svg el * @return {object} TYPE element <img>, src points at svg
src/charts/helpers/export.js:113
↓ 1 callers
Function
createMaskingClip
* Creates a masking clip that would help us fake an animation if the * proper flag is true * * @return {void}
src/charts/sparkline.js:264
↓ 1 callers
Function
createSingleColors
()
demos/src/demo-color.js:44
↓ 1 callers
Function
diffDays
(startDate, endDate)
src/charts/helpers/date.js:27
↓ 1 callers
Function
downloadCanvas
* Triggers browser to download image, convert canvas to url, * we need to append the link el to the dom before clicking it for Firefox to registe
src/charts/helpers/export.js:140
↓ 1 callers
Function
drawAllDataPoints
* Draws all data points of the chart * if shouldShowAllDataPoints is set to true * @private * @return void
src/charts/line.js:923
↓ 1 callers
Function
drawAnimatedHorizontalBars
* Draws and animates the bars along the x axis * @param {D3Selection} bars Selection of bars * @return {void}
src/charts/bar.js:508
↓ 1 callers
Function
drawAnimatedVerticalBars
* Draws and animates the bars along the y axis * @param {D3Selection} bars Selection of bars * @return {void}
src/charts/bar.js:547
← previous
next →
301–400 of 773, ranked by callers