// sample legend import React from 'react'; interface LegendListRadioButtonProps { legendType: string; onChange?: (event: React.ChangeEvent) => void; selectedOption?: string; // use yAxisRange[1] dependentAxisRange?: number[]; } // add commas function numberWithCommas(x: number) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); } export default function LegendListRadioButton( props: LegendListRadioButtonProps ) { // add tutorial image (for now) if (props.legendType == 'categorical') { return null; } else { return ( <> {/* add two
for better display */}

{/* add onChange inside the to avoid typescript error */}
Y-axis scaling
{/* for non-clickable label */} {/* Regional (0 - {numberWithCommas(props.yAxisRangeValue)})
Per-marker (varies) */} {/* for clickable label */}  
 
); } }