Skip to content

Commit

Permalink
WIP Map color ramp improvements #214
Browse files Browse the repository at this point in the history
  • Loading branch information
cugarteblair committed Jan 23, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent fbbadd0 commit e319c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-client/src/utils/plotUtils.ts
Original file line number Diff line number Diff line change
@@ -138,7 +138,7 @@ function getAtl03spColorUsingYAPC(params: any):string {
console.log('getAtl03spColorUsingYAPC params.data:', params.data);
console.log('getAtl03spColorUsingYAPC dataNdx:', dataNdx);
}
let value = params.data[dataNdx['atl08_class']];
let value = params.data[dataNdx['yapc_score']];
const [r, g, b, a] = useAtl03ColorMapStore().getYapcColorForValue(value,0,255);
const color = `rgba(${r},${g},${b},${a})`;
const dc = useAtl03ColorMapStore().incrementDebugCnt();

0 comments on commit e319c35

Please sign in to comment.