Closed tuceturan closed 2 weeks ago
Hi @tuceturan,
We have checked the reported issue and tried to replicate it in SfCartesianChart with old chart version 23.2.7 and in latest chart version 26.2.5+1 by setting the primaryYAxis as NumericAxis. We have tested the following scenarios, and it was working fine at our end.
However, we were unable to reproduce the reported issue at our end. We kindly request you replicate the reported issue in the sample attached below and provide us with more details regarding the specific scenario in which you encounter with a screen recording. This will help us to assist you more effectively.
Regards, Lokesh P.
Thank you for reply I'm using 21.1.41 version The problem has that version?
Hi @tuceturan,
We have also checked with the specified chart version 21.1.41, but we were unable to reproduce the reported issue. We kindly request that you share more details in which scenario the mentioned issue was occurred. To assist you further, we kindly request that you replicate the reported issue in the sample attached below and provide us with more details, including a screen recording of the specific scenario in which you encountered the issue.
Regards, Lokesh P.
Bug description
In the TabView inside charts, labels are unstable. When switching between pages, the x-axis sometimes disappears and sometimes reappears. Can you help
Steps to reproduce
1-I used tab controler is not changed 2-When click tab ı use setstate is not change
Code sample
Scaffold( appBar: AppBar( // excludeHeaderSemantics: true, toolbarHeight: 3, backgroundColor: Color(0xFF007ACF), automaticallyImplyLeading: false, bottom: PreferredSize( preferredSize: Size.fromHeight(45), child: Row(mainAxisAlignment: MainAxisAlignment.start, children: [ TabBar( onTap: (int index) { setState(() { _currentIndex = index; _showLogScale = true; }); _psdHelper.resetRangeControllers(); }, indicator: const UnderlineTabIndicator( borderSide: BorderSide(width: 5.0, color: Colors.white), ), unselectedLabelColor: Colors.black, // / labelColor: Colors.blue, indicatorColor: Colors.transparent, indicatorWeight: 0.1, isScrollable: true, tabs: _psdHelper.getTabs([ TranslateLanguage.of(context)!.trans("learn_psd"), TranslateLanguage.of(context)!.trans("hf_psd"), TranslateLanguage.of(context)!.trans("hr_psd"), ])), ]), ), flexibleSpace: InkWell( child: Container( margin: EdgeInsets.only(left: (langCode == "es") ? 543 : 480), child: Row( mainAxisAlignment: MainAxisAlignment.center, children: (_currentIndex == 0) ? setZoomSelector( context, _psdHelper.rangeControllerLearn, _psdHelper.zoomPanLearn, _psdHelper.iLearn) : (_currentIndex == 1) ? setZoomSelector( context, _psdHelper.rangeControllerHf, _psdHelper.zoomPanHf, _psdHelper.iHf) : setZoomSelector( context, _psdHelper.rangeControllerHr, _psdHelper.zoomPanHr, _psdHelper.iHr))), ), ), body: TabBarView( physics: const NeverScrollableScrollPhysics(), children: _psdHelper.getCardViewSamples([ Column(children: [ Container( height: 545, margin: EdgeInsets.only( left: 5, ), child: _buildSplineLearnAreaChart()), _setRangeSlider(0) ]), Column( children: [ Container(height: 545, child: _buildSplineChart()),
}
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]Stack Traces
not stable labels
On which target platforms have you observed this bug?
Android
Flutter Doctor output
Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.16.9, on Microsoft Windows [Version 10.0.22631.3880], locale tr-TR) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [√] Chrome - develop for the web [X] Visual Studio - develop Windows apps X Visual Studio not installed; this is necessary to develop Windows apps. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [√] Android Studio (version 2023.1) [√] Connected device (4 available) [√] Network resources