mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 05:54:19 +01:00
Switch main theme graphing library to echarts (#1487)
* Switches from Plotly to echarts. Saves file space and allows for more flexibility in graphing types. * Changes colorHash slightly to change color output for demo data. * Closes #1433
This commit is contained in:
@@ -74,10 +74,10 @@ function getJSConfig(root, type, entries, mode) {
|
||||
splitChunks: {
|
||||
chunks: 'all',
|
||||
cacheGroups: {
|
||||
plotly: {
|
||||
name: 'plotly',
|
||||
filename: `plotly.bundle.${ext}.js`,
|
||||
test: /plotly/,
|
||||
echarts: {
|
||||
name: 'echarts',
|
||||
filename: `echarts.bundle.${ext}.js`,
|
||||
test: /echarts/,
|
||||
priority: 1,
|
||||
enforce: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user