Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 3946

Problem with disabling zoom using Blazor-ApexCharts (line chart)

$
0
0

I have a blazor project, in which I use Blazor-ApexCharts.

The relevant part of the razor view is:

<ApexChart TItem="DataToPlot" Title="" Height="350" ><ApexPointSeries TItem="DataToPlot"Items="FirstParamData"Name="@SelectedFirstParamToChart"SeriesType="SeriesType.Line"XValue="e => e.DateAndTime"YValue="e=> e.ParamVal" ShowDataLabels="false" /></ApexChart>

I wanted to disable zooming, but didn't find any option in the ApexChart tag.

What I found is that there is an Option to use:

<ApexChart TItem="DataToPlot" Title="" Height="350" Options="" >

but didn't find any example how to specify e.g. zoom settings here.

Thank you for any help!

I found solution here in stackoverflow (Apex charts disable scrolling / zooming), but it is not for the blazor wrapper. I suppose the solution is somewhere here, but couldn't step on with it.


Viewing all articles
Browse latest Browse all 3946

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>