Questions tagged [anychart]
Anychart is an HTML5 charting library.
399
questions
0
votes
1
answer
25
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
13
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
11
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
12
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
18
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
11
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
149
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
29
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
17
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
29
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
47
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
50
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
29
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
19
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
71
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
37
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
24
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
28
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
39
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
221
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
66
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
112
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
41
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
39
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
142
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
34
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
38
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
26
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
49
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
83
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
85
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
40
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
61
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
37
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
21
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
92
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
34
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(
...
0
votes
1
answer
73
views
How do I make a line chart not interrupt the line when values are missing?
We use AnyChart to display energy consumption data in a line chart. Here, the time of acquisition is assigned to the corresponding value. Now, if several of these series are to be displayed in one ...
0
votes
2
answers
66
views
How to access an array of objects with tooltip.format() from anychart.js
I am having trouble trying to present an array of objects on the tooltip of an Anychart.js map. I understand that we can access the dataset by doing something like: %[name of property in data set]. My ...
0
votes
1
answer
20
views
rowFill a specific row?
I am trying to fill the background color of every 2 rows.
EveryOther2Rows
I'm currently using a complex linear-gradient to achieve this, but there are some rows that look incorrect.
ColorArray
Is it ...
1
vote
2
answers
287
views
How do I control the decimals precision in a plotly/anychart pie chart
I am trying to create a pie chart in which the absolute values are displayed rather than the percentages. I do this using:
"textinfo": "value"
In that case, however, how do I ...
0
votes
1
answer
83
views
How to calculate WMA(weighted moving average) and Hull MA for AAPL in anystock/anychart?
I need to calculate WMA(weighted moving average) and Hull MA for AAPL in anychart. Please let me know any built in functions are available in Anystock/Anychart
0
votes
0
answers
39
views
Is it possible to keep python file running in the background and keep refreshing render_template?
So I am using flask to create a dictionary in python which is then passed into my html template through render_template to create an AnyChart Gantt Resource Chart. Currently, my .py file is able to ...