Comments (6)
What do you want to do in the first place?
To answer your question, I don't think the candlestick chart can be removed but if you just want to hide it you can set the MACD indicator pane height to the height of the chart div
element minus some value to account for the axis height.
from klinechart.
That solution does not seem to me to be a very nice way to do it.
It seems to me that there should be a way to show only one indicator on the chart without showing the candlestick chart.
from klinechart.
You are asking a candlestick chart library to hide the candlestick?
MACD is just a line chart, there are lots of other charting libraries (plotly, hvplot, etc.) that can plot line charts.
from klinechart.
I think it is a library of trading charts, not candlestick charts, and as such it should be able to show only one indicator I think.
from klinechart.
Klinecharts is what candlestick is called in China, so it is literally in the name.
It is basically a clone of tradingview. Can you hide the candlestick in tradingview? You can hide the plot, but the canvas area is still there. If you want to make a MACD only chart in tradingview, what you can do is drag the MACD until it fill the candlestick area, which is what I have written above.
Like I said, if you only want to plot MACD, there are easier charting libraries out there.
from klinechart.
Starting from 9.6.0, the layout attribute is supported during initialization, which can be implemented.
from klinechart.
Related Issues (20)
- [Feature] k线更新的时候,指标的数据是全部重新从头计算一遍的吗? HOT 1
- [Feature] h5 适配感觉有点问题,
- [Feature] 实现只画图不显示title和只显示title,不画图
- [Bug] setLoadDataCallback not triggered HOT 3
- [Feature] Scale Y-Axis Programmatically (w/ mouse scroll)
- [Bug] 9.8.1 设置成百分比后出现大量error HOT 1
- [Bug] UI bug on price YAxis introduced in 9.8.2 HOT 1
- [Feature] Set different color when adding new indicator by default HOT 1
- [Bug] Forward/Backward data loading is reversed HOT 1
- [Bug] 游览器窗口切出去在切回来,k线图空白了 HOT 1
- [Feature] Use esbuild instead of rollup
- [Bug] 自定义指标,设置了extendData,获取Indicator,extendData为undefined
- [Bug] thousandsSeparator and decimalFoldThreshold options HOT 1
- 再布局中使用width100% flex 1 等自适应,但是拖动画面的时候图表不会自动自适应 HOT 1
- [Feature] 单独设置每根蜡烛图的颜色 HOT 1
- [Bug] TS CandleTooltipRectPosition enum not export
- [Feature] 单独刷新一个自定义指标,数据是外部的,与k线只有日期相关,不知如何刷新 HOT 1
- [Feature] 实例API增加 getOverlays 方法
- [Feature] i want to make ichimoku indicator HOT 2
- [Feature] Auto(fits data to screen) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from klinechart.