Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some question about this awesome chart #4

Open
miranos opened this issue Jul 29, 2018 · 5 comments
Open

Some question about this awesome chart #4

miranos opened this issue Jul 29, 2018 · 5 comments

Comments

@miranos
Copy link

miranos commented Jul 29, 2018

Hi sir !

First many thank's for this share and awesome work !

I have some questions for you:

  • Is it possible to show the latest price on a green background like in this image:
    https://user-images.githubusercontent.com/4250838/40221637-8c57e146-5aaf-11e8-9cdf-84b7e82ef83b.png

  • Is there a way to add dynamically new datas for it without loading all the data again ? Is it possible in the same why to update the latest value ?

  • How to show time bar in the bottom of candlestick chart ?

  • Can you share unminified version of clchart.js please ?

  • And finally, is it possible to load data from multiple CSV files ?

Thank you in advance for your answers !

@coollyer
Copy link
Collaborator

coollyer commented Dec 2, 2018

Is it possible to show the latest price on a green background like in this image:

export function setStandard (standard) {
  _systemInfo.standard = standard || 'china'
}

setStandard('usa')

@coollyer
Copy link
Collaborator

coollyer commented Dec 2, 2018

Is there a way to add dynamically new datas for it without loading all the data again ? Is it possible in the same why to update the latest value ?

It has been supported to add only new data and automatically generate Kline and timeline by passing in the latest now data.

@coollyer
Copy link
Collaborator

coollyer commented Dec 2, 2018

How to show time bar in the bottom of candlestick chart ?

cl.chart.def.js
lines 108:

  axisX: {
    lines: 0, 
    display: 'none', // 'none' | 'both' | 'block', 'none' does not show, 'both': show both, 'block': displays a value for each block based on lines = display coordinates
    type: 'normal', // 'normal' | 'day1' | 'day5'
    format: 'date' // show format,date time datetime normal tradetime(9:30)
  },

display update both

@coollyer
Copy link
Collaborator

coollyer commented Dec 2, 2018

Can you share unminified version of clchart.js please

I don't understand. What do you need?

@coollyer
Copy link
Collaborator

coollyer commented Dec 2, 2018

And finally, is it possible to load data from multiple CSV files ?

Loading data does not belong to component category. There are many sources of data. clchart does not restrict people to obtain data in any way.
We are building the backend and front-end of the special memory sequential database for securities, supporting various input and output data structures such as csv, json, array, and so on, which will be released together in time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants