File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1872,6 +1872,11 @@ class ChartUtils {
18721872 return axis ;
18731873 }
18741874
1875+ /**
1876+ * Creates a plotly layout object based on a given theme.
1877+ * See https://plotly.com/javascript/reference/layout/
1878+ * @param theme The theme to use for the layout
1879+ */
18751880 makeDefaultLayout ( theme : ChartTheme ) : Partial < Layout > {
18761881 const { dh } = this ;
18771882
@@ -1887,21 +1892,6 @@ class ChartUtils {
18871892 lake_color,
18881893 river_color,
18891894 /* eslint-disable camelcase */
1890-
1891- /* Used by `getColorwayFromTheme()` */
1892- // colorway,
1893-
1894- /* Used by `makeLayoutAxis()` */
1895- // gridcolor,
1896- // linecolor,
1897- // zerolinecolor,
1898-
1899- // Used by `getPlotlyErrorBars()`
1900- // error_band_line_color,
1901-
1902- /* Used by `addStylingToSeriesData()` */
1903- // ohlc_increasing,
1904- // ohlc_decreasing,
19051895 } = theme ;
19061896
19071897 const layout : Partial < Layout > = {
You can’t perform that action at this time.
0 commit comments