Code Monkey home page Code Monkey logo

Comments (1)

SriramKiranSenthilkumar avatar SriramKiranSenthilkumar commented on June 26, 2024

Hi @evangelme,

Greetings from Syncfusion. We have analyzed your scenario and we would like to share some information regarding the data point indication feature of the financial chart series which when enabled shows indication for datapoints when its high and low values are same or open and close values or high, low, open and close values are the same. To enable this feature, you can set the showIndicationForSameValues to true. Please check the code snippet below for reference.

SfCartesianChart(
               series: <ChartSeries>[
                 HiloOpenCloseSeries<ChartData, double>(
                     showIndicationForSameValues: true, // Indication feature enabled
                     dataSource: chartData,
                      xValueMapper: (ChartData data, _) => data.x,
                      highValueMapper: (ChartData data, _) => data.high,
                      lowValueMapper: (ChartData data, _) => data.low,
                      openValueMapper: (ChartData data, _) => data.open,
                      closeValueMapper: (ChartData data, _) => data.close)
                ]
)

The following are the types of indication when the combination of high, low, open and close values are the same for a data point.

  • In the OHLC chart, if the open and close values are same then a horizontal line will be drawn at that value by default.
  • If the high and low values are same and with showIndicationForSameValues property set to true then, a thin vertical line is drawn and if API is set to false, the line will not be drawn.

For further reference on the showIndicationForSameValues property, please check the link below.
https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/HiloOpenCloseSeries/showIndicationForSameValues.html

Please get in touch with if you would require further assistance on this.

Regards,
Sriram Kiran

from flutter-widgets.

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.