I have been generating thumbnail of few of my highcharts graphs. It was working fine but for few days, the thumbnail of one of the graphs (which is a heatmap chart) is not rendering properly. Instead, it prints "Chart input data error (Highcharts error #17) " error message in the box where thumbnail was generated earlier. I have looked about details of the error at http://www.highcharts.com/errors/17 and I was able to identify that the issue is due to "chart type : heatmap" but my point is that earlier it was working fine. So, what can be the reason of the issue now?
For reference, I have create a fiddle at http://jsfiddle.net/6c48x39v/14/ Heatmap thumbnail
Related
I'm trying to get the price of an item in my Sheet but I am unable to get it using IMPORTXML command as it keeps returning the error "Imported content empty"
I'm trying to retrieve the highlighted number on the image.
Site link: https://csgostash.com/sticker/3666/Battle-Scarred-Holo
My code: =IMPORTXML("https://csgostash.com/sticker/3666/Battle-Scarred-Holo","/html/body/div[3]/div[4]/div1/div/div[2]/div[2]/div1/a/span[2]")
The image is here!
It would be great if anyone could help me out, thanks!
The HTML for that website has no visual hierarchy, so it's tough to plow down through it. But this is what I arrived at:
=IMPORTXML("https://csgostash.com/sticker/3666/Battle-Scarred-Holo","/html/body/div[2]/div[4]/div/div/div/div/div[1]/a/span[2]")
I have 16 bar charts in my jasper report.
when I loaded it the first time , I had no issues and all 16 of them loaded.
However ,on consecutive runs, I get this error . The nodata section has been added in the jrxml and I have added this as per my reading on the internet but have added no success
<printWhenExpression><![CDATA[$V{REPORT_COUNT} > 0]]></printWhenExpression>
Any ideas on this?
This was solved after I mapped the parameters inside the chart. This was missed. Also, adding a no data condition to the chart helped in showing a no data scenario in a user friendly manner
I am facing a problem that Series of Lines in the Chart is not getting plotted unless one series (Previous Year)is disabled on the chart output.
In the New Chart Loaded image you can see the loaded chart. Now when I disable a series the other series is plotted see the image in the link below,
I noticed when the problem occurs I see an error "TypeError: points[(pointsLength - 1)] is undefined" while using multicolor_series.js in the console log.
I have attached my "ecmhtb.php" the chart rendering file and "ed.php" where the data is prepared to convert it as JSON. Also I have attached the Data Table which is used to fetch the data from SQL and also the processed out of SQL Data for JSON conversion as excel files.
The above mentioned issue comes in few set of data and other are working as expected. I have updated all the required files in google drive for inspection the link to the files Click-here
I kindly request to help me in solving the issue.
I'm testint information from a page with Selenium Webdriver. I have a graphic like this: https://www.highcharts.com/demo/spline-plot-bands
and I'm having a problem when I try to get the info inside of every dot.
You have to know that this type of highcharts, every dot has the same xpath so, it's impossible to reach to different dots. I can only get one info in one dot.
//Click on toolip
WebElement element = driver.findElement(By.xpath(dot));
// action class to click
Actions action = new Actions((WebDriver) driver); action.click(element).build().perform();
String toolTipText = driver.findElement(By.xpath(tooltip)).getText(); if(!toolTipText.contains(example))
sb.append("===> Content error");
The problem is that ramdomly, I get empty info from that tooltips. Sometimes I correctly get the info but sometimes it appears empty. Why? Will it be problem because json call? I don't know what could I do...do you have any ideas?
Thanks so much in advance guys!!
I think you are looking wrong way at highcharts, please refer this highchart docs. Highchart is chart plugin that auto render HTML SVG based on highchart options.
To understand problem with tooltip information, you need to look into highchart series data, point objects. point object is contains information related to each dot in chart.
We are using highcharts as our charting library. It's great and exporting works well in all scenarios except one. We have a donut chart with two levels. When it is rendered in the browser it shows up fine:
If you now export this chart using the default highcharts service it shows a bit like this:
Anyone know why this is happening and if there is any way we can fix this?
I would recommend creating a fiddle of your problem, and emailing HighCharts support about it (or link the fiddle here), they are very helpful and usually respond quickly.
Your problem does however seem to be related to your code as I also generate and export donut charts with no problems
My mistake in the configuration was when I was dynamically updating the colour:
chart.series[0].data[s].update({color: "#FFFFFF")}, false);
This didn't just mean I was updating the color but also the whole point. This meant that by running the above I was running y to nothing! Although the chart displayed ok the data sent to the exporting service was with unset values for the slices.. hence the empty slices in the chart. to fix it I had to do something like:
chart.series[0].data[s].update({
color: "#FFFFFF",
y: chart.series[0].data[s].y,
name: chart.series[0].data[s].name,
)}, false);