Giter VIP home page Giter VIP logo

Comments (6)

char101 avatar char101 commented on June 5, 2024

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.

Arnau-Gelonch avatar Arnau-Gelonch commented on June 5, 2024

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.

char101 avatar char101 commented on June 5, 2024

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.

Arnau-Gelonch avatar Arnau-Gelonch commented on June 5, 2024

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.

char101 avatar char101 commented on June 5, 2024

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.

liihuu avatar liihuu commented on June 5, 2024

Starting from 9.6.0, the layout attribute is supported during initialization, which can be implemented.

from klinechart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.