mirror of
https://github.com/apache/superset.git
synced 2026-04-22 01:24:43 +00:00
Using setup.py nosetests to run tests
This commit is contained in:
@@ -150,10 +150,11 @@ function nvd3Vis(slice) {
|
||||
xAxisFormatter = d3.format('.3s');
|
||||
} else if (fd.x_axis_format === 'smart_date') {
|
||||
xAxisFormatter = px.formatDate;
|
||||
chart.xAxis.tickFormat(xAxisFormatter);
|
||||
} else if (fd.x_axis_format !== undefined) {
|
||||
xAxisFormatter = px.timeFormatFactory(fd.x_axis_format);
|
||||
chart.xAxis.tickFormat(xAxisFormatter);
|
||||
}
|
||||
chart.xAxis.tickFormat(xAxisFormatter);
|
||||
|
||||
if (chart.hasOwnProperty("x2Axis")) {
|
||||
chart.x2Axis.tickFormat(xAxisFormatter);
|
||||
|
||||
Reference in New Issue
Block a user