tscircuit/autorouting-dataset-01
This code manages the hardware and electronic components for circuit design and PCB layout, defining components like resistors, capacitors, transistors, connectors, and footprints, and providing tools for component placement, PCB topology, and electrical connections.
- Version
- 1.0.102
- License
- unset
- Stars
- 4
scripts/run-benchmark/generateHtmlVisualization/generateChartConfig.ts
/**
* Generates the base Chart.js configuration for styling.
*/
export const generateChartConfig = () => {
return `const chart_config = {
responsive: true,
maintainAspectRatio: true,
plugins: {
legend: {
labels: { color: '#1f2937' }
}
},
scales: {
y: {
ticks: { color: '#4b5563' },
grid: { color: '#e5e7eb' }
},
x: {
ticks: { color: '#4b5563' },
grid: { color: '#e5e7eb' }
}
}
};`
}