Comments (3)
Hi,
I'm sorry but I don't think this is an issue in the wrapper.
You codepen is not matching you blazor sample code.
One tip is to set the debug flag on the component and then you can check the options sent to javascript in the browser console.
from blazor-apexcharts.
Hi,
Thanks for reply, I have updated the codepen and written some blazor code that should be roughly the same. After updating it I am now seeing the behavior on the apex charts js side as well. So it would appear it is actually an issue on that end after all.
This is how it looks on the codepen,
and this is how it looks in my blazor code.
@page "/testpage"
@using ApexCharts
<div style="height:200px; width:400px; border-width:2px; border:solid">
<ApexChart TItem="Tuple<decimal, string>"
Options="@_chartOptions"
Debug="true">
<ApexPointSeries TItem="Tuple<decimal, string>"
Items="@_data"
Name="Name"
SeriesType="@SeriesType.Pie"
YValue="@(e => e.Item1)"
XValue="@(e => e.Item2)"
ShowDataLabels="true"/>
</ApexChart>
</div>
@code {
List<Tuple<decimal, string>> _data = new()
{
Tuple.Create((decimal)44, "data1"),
Tuple.Create((decimal)55, "data2"),
Tuple.Create((decimal)13, "data2"),
Tuple.Create((decimal)33, "data2"),
};
ApexChartOptions<Tuple<decimal, string>> _chartOptions = new()
{
Chart = new Chart()
{
Height = "100%",
},
Legend = new Legend
{
Position = LegendPosition.Bottom,
FontSize = "14px",
HorizontalAlign = ApexCharts.Align.Center,
}
};
}
from blazor-apexcharts.
Hi,
If you believe this is an issue in apexcharts.js you should raise an issue in that repo.
Thank you,
from blazor-apexcharts.
Related Issues (20)
- XAxis labels for Line Chart when Type is DateTime HOT 3
- [Bug] TooltipHoverFormatter is deserialized as a string, resulting in a "not a function" error when using shared tooltips HOT 1
- Displaying data on tooltips that isn't X or Y data? HOT 2
- BUG Creating a chart in a MudBlazor Dialog (modal) HOT 1
- How to remove or hide the points on a line? HOT 2
- Cleaner solution for binding isDark? (ThemeMode) HOT 2
- Enabling Source Link for the nuget package HOT 1
- YAxisLabels Formatter fails after upgrading to 3.3.0 from 3.2.0 HOT 2
- Unix Timestamp on zooming to milliseconds (timeline) HOT 1
- Update to Apexcharts.js 3.49.1 HOT 1
- Show Y value on the pie sector
- OnLegendClicked being triggered only when clicking on the first element in the legend
- System.NullReferenceException is thrown on Page load HOT 1
- Register and using Localization HOT 1
- Feature Request - Dynamic colours HOT 1
- [BUG] - XAxisLabelClick event does not work for radar charts
- Series state refreshes on UpdateSeriesAsync HOT 1
- Feature Request: Timeline Charts HOT 2
- Data not beeing applied to correct category with DateTime
- Bug? Rangebar charts are not always displaying correct data when there are multiple items in a series with same X value but different dates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blazor-apexcharts.