Questions tagged [anychart]
Anychart is an HTML5 charting library.
403
questions
0
votes
0
answers
2
views
Get Stock Chart Crosshair yAxis Price onClick
I have a stock chart and I would like to get the value shown in the yAxis label that the crosshairs create when clicking in a plot. Essentially I want to know what the price is on the yAxis for the ...
0
votes
0
answers
7
views
AnyChart blank screen when testing anychart.data.loadCsvFile with csv file on own server [closed]
Would very much appreciate it if someone could help me with the following:
I am checking out AnyChart and looking at how loading csv files works.
I copied the page here:
https://playground.anychart....
0
votes
0
answers
10
views
How to set up AnyChart Line graph to autoscroll to the last n entries?
I want to use AnyChart line graph which would get data from a stream.
I would like to display only the last n entries, with a possibility to manually scroll to the old entries.
I am looking to a ...
0
votes
0
answers
26
views
Exporting the column polar graph to svg using Anychart, the texts located on the edges are not displayed
I am using version 8.11.0 of Anychart in an Angular 13 project. When I generate the chart with the data, it is plotted correctly on the screen but when I export it to svg, it is exported but without ...
-1
votes
0
answers
11
views
Anychart, how can I get the legend to show the shape of a line's dots (as well as the color)?
https://playground.anychart.com/vj1L0L5S/1 I'm trying to get something that visually shows how state electoral college vote points have shifted left/right in presidential elections since 1976 ...
-1
votes
0
answers
19
views
USA state election left/right %, vertical lines, how can I get the tooltips to display the state the crosshairs are over instead of left or random?
https://playground.anychart.com/vj1L0L5S/1 I'm trying to get something that visually shows how state electoral college votes have shifted left/right in presidential elections since 1976 according to ...
0
votes
1
answer
32
views
How can I update AnyChart from input?
I'm trying to update the AnyChart pie chart with data provided through an input field, I want to have the pie chart update to reflect the added data.
Here's my code:
//Initialize the PieChart
...
0
votes
0
answers
17
views
Scroll event for anychart resource
I'm currently working with AnyChart Resource - https://www.anychart.com/products/anygantt/gallery/Resource_Charts/Development_Team_Plan_(Time_Tracking_On).php
My problem is that I have a bunch of data ...
0
votes
0
answers
15
views
Anychart Bullet chart tooltips
I'm trying to create a bullet chart that also has tooltips. I haven't been able to figure it out yet. Here is the below code I'm using. I got most of it from Anychart documentation and fit it to our ...
0
votes
0
answers
14
views
AnyChart Template: How can I set the colour of a column only once?
I am using AnyChart and am trying to set the chart to have green and Red columns. Right now I have to set the colour on every column. Is there a way to set it for all?
What I am doing:
var data = ...
1
vote
0
answers
4
views
Anychart 8 - Datetime value is getting rounded off in tooltip
I am facing this issue that when I hover on a point in anychart spline/colume graphs, then the crosshair label on x axis(datetime scale x axis) is showing me the rawvalue and i am able to format that ...
0
votes
0
answers
19
views
How can I create a confidence band in anychart?
I want to achieve something similar to the photo attached. Also, this has to be a scatter line chart. I tried using two area charts to create a similar effect, but it is not possible to create a area ...
0
votes
0
answers
13
views
AnyChart: Line Marker goes behind the bar
I just started to learn AnyChart and I just have completed my first chart by using it. However, I don't know why the line marker goes behind the bars. I checked the
Is there any possibility to use ...
4
votes
1
answer
168
views
How to implement MYSQL data fetching in JS Gantt chart?
I'm using AnyChart’s JS Charts library and I want to implement this with my project data's, I'm using Codeinghter framework and I want to know what's the best way to do this. I know it's very basic ...
0
votes
0
answers
31
views
Anychart remove 1 plot from a plot with many different plots
I am particularly looking at anystock. The base plot is a candlestick plot, with the option of adding multiple technical indicators through checkboxes.
A plot can have multiple technical indicators. ...
0
votes
0
answers
26
views
Using AnyChart and AnyStock in Vue
I am wanting to create a Vue component for displaying charts. I have found this example on the site which pulls a version of AnyChart from NPM.
https://www.anychart.com/technical-integrations/samples/...
0
votes
0
answers
30
views
What is the gantt chart "type" in Anychart?
I'm relatively new to React and I am trying to build a gantt chart using Anychart.
It seems pretty straight forward for other chart types, but I cannot work out what 'chart type' is needed for a gantt ...
0
votes
0
answers
12
views
Anychart Gantt hiding times
I am wondering if there is any way to hide holiday days or no working days in the timeline of a Gantt chart in order to show only the real time I am interested for.
I have seen this comment but is 3 ...
0
votes
0
answers
62
views
Anychart Gantt time in seconds which resets to zero
Hello I am creating a gantt chart in seconds to calculate the time of a robot line.
I use the Anychart library. When I get to 60 seconds it goes back to zero and resets my tooltip.
I retrieve the ...
-1
votes
1
answer
56
views
AnyChart Android unable to populate values from firestore in for loop
Below iam trying to add the values from FireStore to LineChart but chart shows blank,Where as reference.get methods is retreiving data and saving in my model but its not adding up in series data
if i ...
0
votes
1
answer
34
views
Change color of polar chart rings using anycharts?
Is it possible to change color of individual rings in polar chart using anychart charting library?
Code:
drawPolarChart() {
// create data set on our data
var chartData = {
rows: [...
0
votes
0
answers
21
views
Anychart wordWrap
I a using AnyChart in a React project. I would like to use wordWrap on my legend.
Here is the JSON configuration for my legend:
legend: {
enabled: true,
fontSize:10,
itemsLayout: '...
0
votes
0
answers
20
views
how change color of block on the basis of a condition in anychart
I am creating a treemap using any chart js. But I am having an issue for a long time with coloring. What I want is a red block of color wherever the value of(change) object is negative and green where ...
0
votes
0
answers
91
views
how to get the data when clicking on a pie chart using the anychart library in an angular 4 application?
I have an application in Angular 4 where I display a pie chart using the AnyChart library. When the application starts, I select a section of the pie chart and the data obtained from that section is ...
0
votes
0
answers
45
views
On click and hover effects are not working
I apply the same code on two different environments - work's project and sandbox environment.
All hover effects (like tooltip) and on click events doesn't work on work environment.
I've contacted ...
2
votes
0
answers
25
views
How to change color with using anychart-core js?
I have created a dynamic chart using any-chart core js library link https://docs.anychart.com/
The code is
var chart = anychart.radar();
// set chart yScale settings
chart.yScale()
...
0
votes
0
answers
13
views
Anychart Table: how to visualize long description on table cell?
I'm trying to find a workaround for a long text visualization on table cell of an Anychart Table.
Here's an example:
anychart.onDocumentReady(function () {
// set stage
var stage = anychart....
0
votes
1
answer
38
views
How to hide undefined?
How to hide empty/undefined values for
chart type: anychart.stock();
Screen was made with next data:
var dataTable2 = anychart.data.table();
dataTable2.addData([
["2016-12-24&...
0
votes
0
answers
8
views
Display several y for same x with anychart.stock?
anychart.stock();
var dataTable = anychart.data.table();
dataTable.addData([
["2016-12-25", 511],
["2016-12-25", 400],
["2016-12-25", 700], ...
0
votes
0
answers
26
views
ridgeline plot in anychart
Can someone tell me please, if it is possible to plot multiple xy line traces (or histograms) on the same chart, in such a way that each trace is separated with a fixed distance from each other, like ...
0
votes
1
answer
45
views
Anychart donut chart does not put legend to the right
I am using Anychart to generate a donut chart on a test website. I have the following code in my web page:
<div id="container" style="width: 500px; height: 400px;">
<...
-1
votes
1
answer
259
views
All Charts libraries for android does not work
I'm using latest version of android studio i tried to follow all steps required for adding Charts in my project from different Libraries(AnyChart, MpAndroidChart, Gruzer) but none of them work i ended ...
0
votes
1
answer
70
views
How do I show the proper time on my intraday chart using AnyChart?
I have downloaded hourly stock data for AAPL for the past 30 days and am displaying a candlestick chart. The chart loads properly but the time shown for each bar is incorrect. I am in the Pacific time ...
2
votes
1
answer
128
views
How do I change the theme in an AnyChart React tag cloud?
I am creating a tag cloud word cloud using the React library from AnyChart. How do I change the color theme of it? The answer found here doesn't seem to work:
import React from "react";
...
0
votes
1
answer
43
views
Javascript adds another div instead of overwriting
I am trying to change the chart content with the following script:
function switchType() {
var e = document.getElementById("typeSelect");
var selected_value = e.options[e....
0
votes
1
answer
41
views
ANYCHART LinearColorScale
I'm trying to construct a linearColorScale of AnyChart, and I've tried the code below but haven't gotten any results. Please let me know if there is a bug in this code or if I am missing something.
P....
-1
votes
1
answer
164
views
How to give custom color to tree map in anychart.js
I am creating this tree map and I have different values What I want is different shades of colors(green for postive and red for negative) on different ranges of points. The issue is in my callback ...
0
votes
0
answers
35
views
Legend paginator shows erroneously on window resize
In my AnyChart, there is a legend beneath a pieChart. There is enough room for all the legend items. No need for the paginator.
I wrote some jQuery to change the legend's position, when the window is ...
1
vote
1
answer
40
views
Unable to create custom indicator
Checked all the samples in here: https://www.anychart.com/products/anystock/gallery/Stock_Technical_Indicators/?theme=darkEarth All are calculated by any chart functions. indicatorPlot is getting ...
0
votes
1
answer
51
views
Annotations are unable to get hourly data
I checked all the sample code in Anystock samples
none of them have hourly xAnchor value. I have sample below:
// create annotation
var annotation = plot.annotations();
// create ...
0
votes
0
answers
27
views
Anychart Range Column from json
I want to import a rangeColumn graph with the fromJson() function in Javascript but can't seem to get a working range series when using a graph fully constructed from json.
-1
votes
2
answers
55
views
Anychart: how to combine Jump line and multiseries column chart?
I'm trying to combine a jump line with a multiseries column chart. Is it possible to create a jump line specifically for each column of the multiseries column chart? For now the only thing that i ...
0
votes
1
answer
90
views
change arc color and value in anychart
I am trying to create sunburst chart in d3.js. What I want is if the value is positive I should get green arc. and when the the value is negative the arc should be red. Another issue I am facing is ...
1
vote
1
answer
92
views
React/Anychart - chart disapears when tooltip is rendered
I am rendering a Stock/Candlestick chart using React but the issue is when I hover the cursor over a data point, the tooltip is generated but the chart is destroyed.
If I change chart.tooltip()....
1
vote
0
answers
41
views
Anychart - serializing and deserializing annotations drawn by a user
Annotations drawn by a user can be serialized to json in Anychart like below.
const data = chart.plot().annotations().toJson(true)
But is it possible to set an anchor on the x axis when serializing ...
0
votes
1
answer
68
views
Anychart drawing and annotations with React
I have two questions about anychart.
(1) I have implemented drawing tools like below (except for "Label") with React
and am wondering if it is possible to implement a functionality for "...
1
vote
0
answers
39
views
How to set minimum width for timeline header in Anychart Gantt?
The header levels look fine when there are few rows. But if there are many rows and date range is long, the header levels are not readable. Please let me know how to set minimum width for the level so ...
0
votes
1
answer
25
views
Allow edit only for few columns in AnyChart?
We have few columns in AnyChart Gantt chart. If we enable edit in DataGrid, all the columns are made editable. Is there option to allow edit only for few columns? Please advise.
0
votes
1
answer
110
views
How do I get tooltips of stock charts to be rendered in "separated" display mode in anychart?
I have implemented a candlestick chart with a bunch of line charts showing tooltips in "union" display mode. (anychart + Next.js)
But I can't figure out how to get tooltips to be rendered in ...
0
votes
1
answer
36
views
How do I adjust the milestone markerType based on a custom field in AnyGantt?
How do I adjust the milestone markerType based on a custom field in AnyGantt?
I tried using this (where subType is the field name) but it renders a star.
timeline.milestones().markerType(
...