A new line chart introduced in Azure Databricks Platform version 2.66 provides full support for time-series data. The old line chart is deprecated. It will continue to be available for three months, but we recommend that you migrate any visualizations that use the old line chart to the new one promptly.
In the Databricks visualization menu, the new chart is called Line and the old chart is called Line (deprecated):
The following table details the difference between the Line(deprecated) and Line charts:
|Date and timestamp are treated as text||Date and timestamp are supported|
|Key can be of any type||Key can only be date, timestamp, or number|
X-axis is categorical
X-axis is ordered
To migrate a cell that uses the Line(deprecated) chart to the Line chart:
- If the key column is already date, timestamp, or number, there’s nothing to do.
- If the key column is is not a date, timestamp, or number, you must parse the column to a date, timestamp, or number explicitly as demonstrated in the Timestamp Conversion notebook.