Ich habe Anychart Candlestick mit 4 Dezimalstellen in Y-Achse erstellt. Aber es wird automatisch zu einem Dezimalpunkt wie (1.32444 zu 1.3) konvertiert.AnyChart mehr als eine Gleitkommazahl
Der Chart Quellcode ist
$rootScope.$on('ReportCandleChartView', function (event, data)
{
$rootScope.$apply(function()
{
var dataTable = anychart.data.table();
dataTable.addData(data);
var mapping = dataTable.mapAs({'open': 1, 'high': 2, 'low': 3, 'close': 4});
$rootScope.ch = anychart.stock();
var plot = $rootScope.ch.plot(0);
plot.yGrid(true)
.xGrid(true)
.yMinorGrid(true)
.xMinorGrid(true);
var series = plot.candlestick(mapping);
series.name($rootScope.globalChartsymbol);
$rootScope.ch.scroller().candlestick(mapping);
plot.yAxis().orientation('right');
var indicator1 = $rootScope.ch.plot(0).priceIndicator();
indicator1.value('last-visible');
$rootScope.ch.container('containerxone');
$rootScope.ch.draw();
});
});
! https://ibb.co/mZN9YG Ich habe ein Bild gepostet, das Anystock-Diagramm enthält. Darauf wollen wir den Dezimalpunkt mehr als eine Ziffer ändern.