차트 구현 1차 완료(바 차트 작동)

This commit is contained in:
dohyeons
2025-10-14 15:25:11 +09:00
parent 3db7feb36b
commit 4cc5f1344f
21 changed files with 1783 additions and 667 deletions

View File

@@ -90,7 +90,7 @@ export function QueryEditor({ dataSource, onDataSourceChange, onQueryTest }: Que
...dataSource,
type: "database",
query: query.trim(),
refreshInterval: dataSource?.refreshInterval || 30000,
refreshInterval: dataSource?.refreshInterval ?? 0,
lastExecuted: new Date().toISOString(),
});
} catch (err) {
@@ -220,7 +220,7 @@ ORDER BY Q4 DESC;`,
placeholder="SELECT * FROM your_table WHERE condition = 'value';"
className="h-40 resize-none font-mono text-sm"
/>
<div className="absolute bottom-3 right-3 text-xs text-gray-400">Ctrl+Enter로 </div>
<div className="absolute right-3 bottom-3 text-xs text-gray-400">Ctrl+Enter로 </div>
</div>
</div>
@@ -228,7 +228,7 @@ ORDER BY Q4 DESC;`,
<div className="flex items-center gap-3">
<Label className="text-sm"> :</Label>
<Select
value={String(dataSource?.refreshInterval || 30000)}
value={String(dataSource?.refreshInterval ?? 0)}
onValueChange={(value) =>
onDataSourceChange({
...dataSource,