Comments (3)
@monikadixit There is a new package available - https://github.com/arunghosh/react-grid-heatmap
Can you check that?
from react-heatmap-grid.
from react-heatmap-grid.
The value parameter is not there in the cellStyle
. But you can get it using x
, y
.
cellStyle={(x, y, ratio) => ({
background: setRGB(data[x][y]),
fontSize: ".7rem",
color: `rgb(0, 0, 0, ${ratio / 2 + 0.4})`
})}
Can you check if this works?
from react-heatmap-grid.
Related Issues (20)
- Some dividers are randomly missing HOT 2
- rotate xAxes HOT 3
- Contribution: cool hover fadeout for demo/example cell text HOT 1
- Cell positions offset when using a small height HOT 1
- Tooltips in cellRender HOT 1
- Support for Internet Explorer HOT 1
- Making column values inactive in heatmap HOT 2
- xLabelWidth has no effect HOT 1
- ylabels follow scroll because it is absolute HOT 1
- Conditional cellStyling HOT 2
- yLables colliding with data when data becomes scrollable HOT 1
- Is there any way to select multiple DataGrids ? HOT 2
- Typescript support HOT 2
- x and y Labels styling HOT 5
- Scroll is not working HOT 1
- A responsive problem I tried to correct it, but it wouldn't let me. Could you kindly assist me? HOT 1
- Fix dependencies HOT 1
- CellRender is not working for me HOT 1
- How to show on xLabels in title HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-heatmap-grid.