Commit 17e6b405 authored by Rodrigo Tapia-McClung's avatar Rodrigo Tapia-McClung

Disable radar cursor tooltip for the time being

parent 0d5fefe6
...@@ -49,8 +49,6 @@ const makeRadarSeries = (chart, value, category, name, color) => { ...@@ -49,8 +49,6 @@ const makeRadarSeries = (chart, value, category, name, color) => {
radarSeries.dataFields.valueY = value; radarSeries.dataFields.valueY = value;
radarSeries.dataFields.categoryX = category; radarSeries.dataFields.categoryX = category;
radarSeries.strokeWidth = 1.5; radarSeries.strokeWidth = 1.5;
radarSeries.tooltipText = "{valueY}";
//FIXME: some months are not showing the appropriate name on tooltip on hover
radarSeries.name = String(name); radarSeries.name = String(name);
//radarSeries.connect = false; //radarSeries.connect = false;
//radarSeries.connectEnds = false; //radarSeries.connectEnds = false;
...@@ -196,6 +194,11 @@ const makeRadarChart = (data, months, years) => { ...@@ -196,6 +194,11 @@ const makeRadarChart = (data, months, years) => {
makeRadarRange(radarCategoryAxis, "diciembre", "diciembre", radarRangeColors[0], 1); makeRadarRange(radarCategoryAxis, "diciembre", "diciembre", radarRangeColors[0], 1);
radarChart.cursor = new am4charts.RadarCursor(); radarChart.cursor = new am4charts.RadarCursor();
radarCategoryAxis.cursorTooltipEnabled = false;
//radarCategoryAxis.startLocation = -0.0000001;
//radarCategoryAxis.endLocation = 1;
//FIXME: some months are not showing the appropriate name on tooltip on hover
// in the meantime, cursor tooltip is disabled
// add line legend // add line legend
radarChart.legend = new am4charts.Legend(); radarChart.legend = new am4charts.Legend();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment