Skip to content

[web] SfCartesianChart MajorGridLines dashArray not working on web #25

Closed

Description

@archie-sh
SfCartesianChart(
              plotAreaBorderWidth: 0,
              primaryXAxis: CategoryAxis(
                isVisible: true,
                labelStyle: TextStyle(color: Colors.black.withOpacity(0.0)),
                majorGridLines: MajorGridLines(width: 0),
                majorTickLines: MajorTickLines(width: 0),
                axisLine: AxisLine(color: Colors.black, width: 2),
              ),
              primaryYAxis: NumericAxis(
                isVisible: true,
                crossesAt: 0,
                numberFormat: chartYLabelFormat,
                labelStyle: chartLabel,
                axisLine: AxisLine(width: 0),
                majorGridLines: MajorGridLines(width: 2,
                    dashArray: <double>[2,2]),
                majorTickLines: MajorTickLines(
                  width: 0,
                ),
              ),
              trackballBehavior: TrackballBehavior(
                  enable: true,
                  tooltipSettings: InteractiveTooltip(
                      format: "point.x:  point.y", color: Colors.black)),
              series: getGradientAreaSeries(),
            ),

on mobile prodcues:

Screenshot 2020-10-17 at 01 21 36

on web produces:

Screenshot 2020-10-17 at 01 21 56

Activity

  1. SriramKiranSenthilkumar commented on Oct 20, 2020

    @SriramKiranSenthilkumar
    Contributor

    Hi @archie-sh,

    Thanks for contacting Syncfusion Support. We have analyzed your scenario with the provided information and the reported issue regarding the dash array not working on the web is already a known issue and we have already provided a fix for it and rolled out in our latest weekly patch release. To overcome the reported issue, kindly please upgrade the chart widget package to the latest version below.
    https://pub.dev/packages/syncfusion_flutter_charts/versions/18.3.42

    Regards,
    Sriram Kiran

  2. archie-sh commented on Oct 20, 2020

    @archie-sh
    Author

    Thanks for the reply, ill upgrade and test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions