Questions tagged [techan.js]

TechanJS is A visual, technical analysis and charting library built on D3. Build interactive financial charts for modern and mobile browsers.

9 questions
3
votes
1 answer

Unable to Zoom d3 techanjs

I'm using almost same code which has been used in http://techanjs.org/. I was trying to add zooming feature in the chart as the developer has rendered the chart in here. But somehow I'm not able to zoom it. I'm getting error selection is not defined…
DAKSH
  • 460
  • 1
  • 5
  • 22
1
vote
1 answer

How to integrate javascript libraries into react?

I have two javascript libraries that I need to integrate into my React app. First I tried this: import d3 from "https://d3js.org/d3.v4.min.js" import techan from "http://techanjs.org/techan.min.js" That produced…
user3217883
  • 1,216
  • 4
  • 38
  • 65
1
vote
1 answer

Using techanJS D3 examples with JSON data

I what to use a couple of the techanJS examples in my application but am struggling use my own data. Here is the example code for the close chart which I want to use. I have a play! framework application which passes in a List[CloseList] array,…
user2670815
1
vote
1 answer

Does Ember support libraries which have dependencies on other libraries?

I am trying to use a library called techan.js with Ember. It is dependent on d3.js. In my Brocfile.js, I have: app.import('bower_components/d3/d3.js'); app.import('bower_components/TechanJS/dist/techan.js'); However, when I run the app, there is…
Joe
  • 7,922
  • 18
  • 54
  • 83
0
votes
0 answers

How to fix "TypeError: Cannot read property 'min' of undefined" in D3?

I'm trying to implement the Techan (d3 charts) lib into my React app. Getting error: TypeError: Cannot read property 'min' of undefined". …
user3217883
  • 1,216
  • 4
  • 38
  • 65
0
votes
1 answer

Client side module can not access dependent module when using webpack

I migrated my project to Webpack. What it looked like before: HTML: ... ... Which main.js is dependent on techan.js and d3.v4.js. thechan.js is…
Ali Gonabadi
  • 944
  • 1
  • 10
  • 28
0
votes
0 answers

Techanjs zoom freez in updating chart

I am using Techanjs to create updating candlestick chart, the example I am referring is => http://bl.ocks.org/andredumas/95f1f22130fb1a3a8181 This example doesn't support zoom so from another example =>…
Nilesh
  • 69
  • 1
  • 11
0
votes
2 answers

Example of techan.js using ISO 8061 date format with hours

Does anyone have an example of a TechanJS H1, hourly chart (http://techanjs.org/) that uses the ISO 8061 date standard? Thanks
Garth
  • 533
  • 1
  • 4
  • 15
0
votes
1 answer

Techan.js - How to format time for weekly, monthly candlestick chart?

Following the techanJS example I was able to create candlestick charts with day data. But documentation does not shows how to format date for weekly, monthly and yearly candlestick or ohlc charts. How to create weekly, monthly or yearly…
Sisir
  • 2,668
  • 6
  • 47
  • 82