0
我試圖使盾ASP.NET MVC圖表ZoomMode但我收到以下錯誤:錯誤設置了屏蔽UI ASP.NET MVC圖表ZoomMode
Server Error in '/' Application.
________________________________________
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1502: The best overloaded method match for 'Shield.Mvc.UI.Chart.ChartBuilder<object>.ZoomMode(Shield.Mvc.UI.Chart.ZoomMode)' has some invalid arguments
根據文檔(https://www.shieldui.com/documentation/javascript.chart/api/zoomMode)有3種縮放模式:
可能的值爲:'x','y'和'xy'。 爲什麼我收到錯誤,因爲我宣佈它在文檔中:
@(Html.ShieldChart()
.Name("chart")
.ZoomMode("XY")
.Export(false)
?