plotly / plotly/react-plotly.js
There are no properties to use when using typeScript.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 138
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 4
Description
When using histogram charts, there are xbins properties but no ybins properties.
data={[
{
type: 'histogram',
text: chartText,
histfunc: 'sum',
x,
y,
ybins: {
start: y[y.length - 6],
end: y[y.length - 1],
size: 1
}
}
]}
data={[
{
type: 'histogram',
text: chartText,
histfunc: 'sum',
x,
y,
ybins: {
start: y[y.length - 6],
end: y[y.length - 1],
size: 1
}
} as Data
]}
I defined the as data and solved it temporarily.
Plotdata type ybins and PlotDatum type label etc There are a few missing attributes.
(Below is an image of a problem with the label attribute.)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the TypeScript declarations for PlotData, PlotDatum, and Data, then compare the histogram properties and label usage shown in the issue. The work is done when ybins, label, and the other reported attributes are represented accurately and the examples type-check without casts; no test file is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, typescript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100