Questions tagged [dynamic-chart-series]

23 questions
10
votes
1 answer

How to create custom LegendContentBuilder with charts_flutter library to show and hide series depond on selection?

I used charts_flutter to create BarChart, at current time i want to customise that to build a barChart like below chart: Here i want to do below options: show/hide series when i click on legend which i created in CustomLegend (i create that in my…
Taleb
  • 1,944
  • 2
  • 11
  • 36
3
votes
3 answers

Plotting candlesticks with intraday data and adding moving averages, chartSeries or geom_candlestick

I am trying to plot candlesticks in R overlaid with moving averages, from my downloaded data for 30' SPY. I eventually want to plot one candlestick chart per day, with 14 day moving average overlaid, using a for-loop. Currently, I am not able to…
2
votes
0 answers

R quantmod add Elders ray bars using addTA

I want to add Elders Ray bars to the graph which is created using chartSeries. Sample data & expected output are given below. > head(d1,10) Open High Low Close SMA elderH elderL 2016-01-13 201.35 202.40 194.00 200.90…
1
vote
0 answers

How to add another candlestick graph in chartSeries in R?

I am not familiar with R. After plotting a chartSeries graph, how to add another stock's candlestick graph under the first one? I searched the web but cannot find any information. Is it related to rechart? Thanks a…
Chan
  • 3,605
  • 9
  • 29
  • 60
1
vote
1 answer

chart_Series: No plot when sourced from script

When I call chart_Series from a script I get a blank, white graphics device only. Example code: Lines <-…
tom9
  • 25
  • 2
1
vote
1 answer

chartSeries: Logarithmic scale for indicator

I am new to R and quantmod. I created a new indicator which I like to add to a plot with addTA. But the scale of the indicator should be logarithmic. First I tried (with RSI as an example) > chartSeries ... > rsi <- RSI(Cl(...)) >…
tom9
  • 25
  • 2
1
vote
1 answer

quantmod chartSeries TA inside a function: an environment issue?

Supplying an argument to TA in chartSeries inside a function only works when TA´s are in .GlobalEnv$. Taking .GlobalEnv$ out, it gets this error: Error in addTA(cChart.env$I1, col = "red", on = 1) : object 'cChart.env' not found It seems that…
xm1
  • 1,663
  • 1
  • 17
  • 28
1
vote
0 answers

Dynamically-generated array with MODE.MULT for Chart Series Values causes Excel 2010 to crash

First of all, I would like to clarify that I am looking for a technical explanation as to why the following issue occurs, rather than for alternative set-ups which achieve the desired result (I shall in any case present several such alternatives as…
XOR LX
  • 7,632
  • 1
  • 16
  • 15
0
votes
0 answers

Dynamic heat bar chart?

I have data as per the input: And in PowerBI I'm trying to create a dynamic bar chart (initially) then ideally into a heat map, but PowerBI just isn't calculating it. I'd like the output to be something like: But its not workable in PowerBI. I've…
0
votes
2 answers

Google Sheets not plotting (stacked column chart) all my series data

I began a Google Sheets stacked column chart that shows each Lister's daily sales. Sample: https://docs.google.com/spreadsheets/d/1NTmrTQdJnTxik6tjHi5zsx-U6giCD-_Mwj0B1vv-bbE/edit?usp=sharing gSheets is only plotting fifteen (15) out of sixty two…
0
votes
0 answers

Why the quantmod chartseries() only show the last added SMA in Shinyapp?

As I make a page to show stock chart in Shinyapp, only the last added SMA n=20 line show up. I want to it shows all 3 SMA N=5,10,20. please see the online page https://konglr.shinyapps.io/Stock_Price_Prediction/ secondly, if the code run local…
konglr
  • 35
  • 3
0
votes
1 answer

Getting data from API and displaying it using canvas.js + angular

I have the value of stocks from an API and I want to plot it against the timestamp in x axis using canvas.js and Angular. I want the data to be dynamic and the old value of the graph must be flushed out as the data is huge. How to go about the…
lemonJuice
  • 19
  • 2
0
votes
1 answer

Filter Charts With Dates Oracle Apex

I am trying to add filters to my charts. How can I add a filter if my input is dates? For example I want to be able to filter to just the year of 2022 or I want to be able to look between the days of XX/XX/XXXX-XX/XX/XXXX My input type is date but I…
bbowen14
  • 37
  • 5
0
votes
3 answers

Getting error as "Unhandled Rejection (TypeError): that.setState is not a function" in ReactJS

I am currently working on a dynamic chart which change based on Slider value. I searched for a solution, and everyone says I need to bind it to get this error go away. However I have tried to bind the function in all possible ways still I get this…
AnkitL
  • 1
  • 1
0
votes
1 answer

I dont understand why my d3js chart is not updating though it passes through update function

The chart takes both revenue and profit data it updates for the first second and .remove().exit() The function doesn't remove data Help me out. Here is the link for stackblitz import { Component, OnInit } from '@angular/core'; import * as d3 from…
1
2