diff --git a/samples/advanced/financial.html b/samples/advanced/financial.html new file mode 100644 index 000000000..64a426558 --- /dev/null +++ b/samples/advanced/financial.html @@ -0,0 +1,251 @@ + + + + + Line Chart + + + + + + + +
+

This example demonstrates a time series scale with custom logic for generating minor and major ticks. Major ticks are bolded

+

For more specific functionality for financial charts, please see chartjs-chart-financial

+ +
+
+
+ Chart Type: + + + + + + + diff --git a/samples/samples.js b/samples/samples.js index 518b7696c..b93cc773e 100644 --- a/samples/samples.js +++ b/samples/samples.js @@ -124,9 +124,6 @@ }, { title: 'Line (break on 2 day gap)', path: 'scales/time/line-max-span.html' - }, { - title: 'Time Series', - path: 'scales/time/financial.html' }, { title: 'Combo', path: 'scales/time/combo.html' @@ -242,6 +239,9 @@ }, { title: 'Advanced', items: [{ + title: 'Custom minor and major ticks', + path: 'advanced/financial.html' + }, { title: 'Progress bar', path: 'advanced/progress-bar.html' }, { diff --git a/samples/scales/time/financial.html b/samples/scales/time/financial.html deleted file mode 100644 index 70246820c..000000000 --- a/samples/scales/time/financial.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - Line Chart - - - - - - - -
-

This example demonstrates a time series scale by drawing a financial line chart using just the core library. For more specific functionality for financial charts, please see chartjs-chart-financial

- -
-
-
- Chart Type: - - - - - - -