Hi there,
Using the following example, when I hover the bars of the bar chart with my mouse, I get a JS error, "Cannot read property 'charAt' of undefined".
Is this intended behavior? Shouldn't there be a default value for that function the same way that getDataColor has a default value?
I can reproduce this issue with the latetest downloadable version(SmartClient_v111p_2017-11-28_Pro) in the newest version of Chrome, as well as Firefox and Internet Explorer.
Code:
Kind regards
Using the following example, when I hover the bars of the bar chart with my mouse, I get a JS error, "Cannot read property 'charAt' of undefined".
Is this intended behavior? Shouldn't there be a default value for that function the same way that getDataColor has a default value?
I can reproduce this issue with the latetest downloadable version(SmartClient_v111p_2017-11-28_Pro) in the newest version of Chrome, as well as Firefox and Internet Explorer.
Code:
Code:
var chartData = [{ name: "John", value: 10 }, { name: "Doe", value: 25 } ]; isc.FacetChart.create({ ID: "facetChart", title: "Comparison", width: "100%", height: "100%", chartType: "Bar", showValueOnHover: true, //Has to be true valueProperty: "value", data: chartData, facets: [{ id: "name", title: "Name" } ], //JS Error occurs if the following function is not defined /* getDataLineColor: function (index, facetValueId) { var item = configForm.getItem("borderColor"); return lineColors[item.getValue()]; } */ }); var lineColors = { Grey: "#333333", Orange: "#FF8C00", Cyan: "#00FFFF" };
Kind regards
Comment