refactor(chart_demo): usar AppConfig.about (issue 0043)
This commit is contained in:
@@ -77,5 +77,12 @@ static void render() {
|
||||
}
|
||||
|
||||
int main() {
|
||||
return fn::run_app({.title = "fn_registry — Chart Demo", .width = 1400, .height = 900}, render);
|
||||
return fn::run_app({
|
||||
.title = "fn_registry — Chart Demo",
|
||||
.width = 1400,
|
||||
.height = 900,
|
||||
.about = {.name = "chart demo",
|
||||
.version = "0.1.0",
|
||||
.description = "Demo de primitivos viz: line, scatter, bar, heatmap"}
|
||||
}, render);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user