text: #pragma once
  
  #include "mvPlot.h"
  
  namespace Marvel {
  
  	MV_REGISTER_WIDGET(mvBarSeries, MV_ITEM_DESC_DEFAULT | MV_ITEM_DESC_CONTAINER, StorageValueTypes::Series, 1);
  	class mvBarSeries : public mvSeriesBase
  	{
  	public:
  
  		static void InsertParser(std::map<std::string, mvPythonParser>* parsers);
  
  		MV_APPLY_WIDGET_REGISTRATION(mvAppItemType::mvBarSeries, add_bar_series)
  
  		MV_START_COMMANDS
  		MV_END_COMMANDS
  
  		MV_START_CONSTANTS
  		MV_END_CONSTANTS
  
  	public:
  
  		mvBarSeries(mvUUID uuid);
  
  		// overriding until we can remove these
  		bool preDraw() override { return true; }
  		void postDraw() override {}
  
  		void draw(ImDrawList* drawlist, float x, float y) override;
  		bool isParentCompatible(mvAppItemType type) override;
  		void handleSpecificRequiredArgs(PyObject* args) override;
  		void handleSpecificKeywordArgs(PyObject* dict) override;
  		void getSpecificConfiguration(PyObject* dict) override;
  
  	private:
  
  		bool m_horizontal = false;
  		float m_weight = 1.0f;
  
  	};
  
  }
  